Searched refs:sja1105_pack (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/net/dsa/sja1105/ |
| D | sja1105_spi.c | 54 sja1105_pack(buf, &msg->access, 31, 31, size); in sja1105_spi_message_pack() 55 sja1105_pack(buf, &msg->read_count, 30, 25, size); in sja1105_spi_message_pack() 56 sja1105_pack(buf, &msg->address, 24, 4, size); in sja1105_spi_message_pack() 126 sja1105_pack(packed_buf, value, 8 * size_bytes - 1, 0, in sja1105_spi_send_int() 199 sja1105_pack(buf, &reset->cold_rst, 3, 3, size); in sja1105et_reset_cmd_pack() 200 sja1105_pack(buf, &reset->warm_rst, 2, 2, size); in sja1105et_reset_cmd_pack() 210 sja1105_pack(buf, &reset->switch_rst, 8, 8, size); in sja1105pqrs_reset_cmd_pack() 211 sja1105_pack(buf, &reset->cfg_rst, 7, 7, size); in sja1105pqrs_reset_cmd_pack() 212 sja1105_pack(buf, &reset->car_rst, 5, 5, size); in sja1105pqrs_reset_cmd_pack() 213 sja1105_pack(buf, &reset->otp_rst, 4, 4, size); in sja1105pqrs_reset_cmd_pack() [all …]
|
| D | sja1105_ptp.c | 91 sja1105_pack(buf, &valid, 31, 31, size); in sja1105et_ptp_cmd() 92 sja1105_pack(buf, &cmd->resptp, 2, 2, size); in sja1105et_ptp_cmd() 108 sja1105_pack(buf, &valid, 31, 31, size); in sja1105pqrs_ptp_cmd() 109 sja1105_pack(buf, &cmd->resptp, 3, 3, size); in sja1105pqrs_ptp_cmd()
|
| D | sja1105_dynamic_config.c | 301 sja1105_pack(p, &mgmtroute, 26, 26, SJA1105_SIZE_DYN_CMD); in sja1105et_mgmt_route_cmd_packing() 333 sja1105_pack(p, &mgmtroute, 26, 26, SJA1105_SIZE_DYN_CMD); in sja1105pqrs_mgmt_route_cmd_packing()
|
| D | sja1105_static_config.c | 17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) in sja1105_pack() function 486 sja1105_pack(buf + SJA1105_SIZE_TABLE_HEADER - 4, &hdr->crc, 31, 0, 4); in sja1105_table_header_pack_with_crc() 496 sja1105_pack(crc_ptr, &computed_crc, 31, 0, 4); in sja1105_table_write_crc() 627 sja1105_pack(p, &config->device_id, 31, 0, 4); in sja1105_static_config_pack()
|
| D | sja1105_static_config.h | 331 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len);
|