packed_buf 132 drivers/net/dsa/sja1105/sja1105.h void *packed_buf, size_t size_bytes); packed_buf 138 drivers/net/dsa/sja1105/sja1105.h void *packed_buf, u64 buf_len); packed_buf 107 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 119 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_idiv_packing(packed_buf, &idiv, PACK); packed_buf 122 drivers/net/dsa/sja1105/sja1105_clocking.c regs->cgu_idiv[port], packed_buf, packed_buf 156 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 168 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &mii_tx_clk, PACK); packed_buf 171 drivers/net/dsa/sja1105/sja1105_clocking.c regs->mii_tx_clk[port], packed_buf, packed_buf 180 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 193 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &mii_rx_clk, PACK); packed_buf 196 drivers/net/dsa/sja1105/sja1105_clocking.c regs->mii_rx_clk[port], packed_buf, packed_buf 205 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 218 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &mii_ext_tx_clk, PACK); packed_buf 222 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 230 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 243 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &mii_ext_rx_clk, PACK); packed_buf 247 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 321 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 338 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &txc, PACK); packed_buf 342 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 368 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 384 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cfg_pad_mii_tx_packing(packed_buf, &pad_mii_tx, PACK); packed_buf 388 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 430 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 443 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cfg_pad_mii_id_packing(packed_buf, &pad_mii_id, PACK); packed_buf 447 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 460 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cfg_pad_mii_id_packing(packed_buf, &pad_mii_id, PACK); packed_buf 464 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 535 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 548 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &ref_clk, PACK); packed_buf 552 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 560 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 566 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &ext_tx_clk, PACK); packed_buf 570 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 576 drivers/net/dsa/sja1105/sja1105_clocking.c u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; packed_buf 597 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_pll_control_packing(packed_buf, &pll, PACK); packed_buf 599 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 608 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_pll_control_packing(packed_buf, &pll, PACK); packed_buf 610 drivers/net/dsa/sja1105/sja1105_clocking.c packed_buf, SJA1105_SIZE_CGU_CMD); packed_buf 650 drivers/net/dsa/sja1105/sja1105_dynamic_config.c u8 packed_buf[SJA1105_MAX_DYN_CMD_SIZE] = {0}; packed_buf 683 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->cmd_packing(packed_buf, &cmd, PACK); packed_buf 686 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->entry_packing(packed_buf, entry, PACK); packed_buf 690 drivers/net/dsa/sja1105/sja1105_dynamic_config.c packed_buf, ops->packed_size); packed_buf 698 drivers/net/dsa/sja1105/sja1105_dynamic_config.c memset(packed_buf, 0, ops->packed_size); packed_buf 702 drivers/net/dsa/sja1105/sja1105_dynamic_config.c packed_buf, ops->packed_size); packed_buf 707 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->cmd_packing(packed_buf, &cmd, UNPACK); packed_buf 724 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->entry_packing(packed_buf, entry, UNPACK); packed_buf 735 drivers/net/dsa/sja1105/sja1105_dynamic_config.c u8 packed_buf[SJA1105_MAX_DYN_CMD_SIZE] = {0}; packed_buf 761 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->cmd_packing(packed_buf, &cmd, PACK); packed_buf 771 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->entry_packing(packed_buf, entry, PACK); packed_buf 775 drivers/net/dsa/sja1105/sja1105_dynamic_config.c packed_buf, ops->packed_size); packed_buf 780 drivers/net/dsa/sja1105/sja1105_dynamic_config.c ops->cmd_packing(packed_buf, &cmd, UNPACK); packed_buf 166 drivers/net/dsa/sja1105/sja1105_ethtool.c u8 packed_buf[SJA1105_SIZE_MAC_AREA] = {0}; packed_buf 171 drivers/net/dsa/sja1105/sja1105_ethtool.c packed_buf, SJA1105_SIZE_MAC_AREA); packed_buf 175 drivers/net/dsa/sja1105/sja1105_ethtool.c sja1105_port_status_mac_unpack(packed_buf, status); packed_buf 185 drivers/net/dsa/sja1105/sja1105_ethtool.c u8 packed_buf[SJA1105_SIZE_HL1_AREA] = {0}; packed_buf 189 drivers/net/dsa/sja1105/sja1105_ethtool.c packed_buf, SJA1105_SIZE_HL1_AREA); packed_buf 193 drivers/net/dsa/sja1105/sja1105_ethtool.c sja1105_port_status_hl1_unpack(packed_buf, status); packed_buf 203 drivers/net/dsa/sja1105/sja1105_ethtool.c u8 packed_buf[SJA1105_SIZE_QLEVEL_AREA] = {0}; packed_buf 207 drivers/net/dsa/sja1105/sja1105_ethtool.c packed_buf, SJA1105_SIZE_HL2_AREA); packed_buf 211 drivers/net/dsa/sja1105/sja1105_ethtool.c sja1105_port_status_hl2_unpack(packed_buf, status); packed_buf 219 drivers/net/dsa/sja1105/sja1105_ethtool.c packed_buf, SJA1105_SIZE_QLEVEL_AREA); packed_buf 223 drivers/net/dsa/sja1105/sja1105_ethtool.c sja1105pqrs_port_status_qlevel_unpack(packed_buf, status); packed_buf 178 drivers/net/dsa/sja1105/sja1105_ptp.c u8 packed_buf[8]; packed_buf 185 drivers/net/dsa/sja1105/sja1105_ptp.c packed_buf, packed_buf 190 drivers/net/dsa/sja1105/sja1105_ptp.c sja1105_unpack(packed_buf, &update, 0, 0, packed_buf 213 drivers/net/dsa/sja1105/sja1105_ptp.c sja1105_unpack(packed_buf, ts, tstamp_bit_start, tstamp_bit_end, packed_buf 71 drivers/net/dsa/sja1105/sja1105_spi.c void *packed_buf, size_t size_bytes) packed_buf 91 drivers/net/dsa/sja1105/sja1105_spi.c packed_buf, size_bytes); packed_buf 98 drivers/net/dsa/sja1105/sja1105_spi.c memcpy(packed_buf, rx_buf + SJA1105_SIZE_SPI_MSG_HEADER, packed_buf 119 drivers/net/dsa/sja1105/sja1105_spi.c u8 packed_buf[SJA1105_SIZE_SPI_MSG_MAXLEN]; packed_buf 126 drivers/net/dsa/sja1105/sja1105_spi.c sja1105_pack(packed_buf, value, 8 * size_bytes - 1, 0, packed_buf 129 drivers/net/dsa/sja1105/sja1105_spi.c rc = sja1105_spi_send_packed_buf(priv, rw, reg_addr, packed_buf, packed_buf 133 drivers/net/dsa/sja1105/sja1105_spi.c sja1105_unpack(packed_buf, value, 8 * size_bytes - 1, 0, packed_buf 145 drivers/net/dsa/sja1105/sja1105_spi.c void *packed_buf, u64 buf_len) packed_buf 156 drivers/net/dsa/sja1105/sja1105_spi.c chunk.buf_ptr = packed_buf; packed_buf 168 drivers/net/dsa/sja1105/sja1105_spi.c distance_to_end = (uintptr_t)(packed_buf + buf_len - packed_buf 225 drivers/net/dsa/sja1105/sja1105_spi.c u8 packed_buf[SJA1105_SIZE_RESET_CMD]; packed_buf 242 drivers/net/dsa/sja1105/sja1105_spi.c sja1105et_reset_cmd_pack(packed_buf, reset); packed_buf 245 drivers/net/dsa/sja1105/sja1105_spi.c packed_buf, SJA1105_SIZE_RESET_CMD); packed_buf 254 drivers/net/dsa/sja1105/sja1105_spi.c u8 packed_buf[SJA1105_SIZE_RESET_CMD]; packed_buf 272 drivers/net/dsa/sja1105/sja1105_spi.c sja1105pqrs_reset_cmd_pack(packed_buf, reset); packed_buf 275 drivers/net/dsa/sja1105/sja1105_spi.c packed_buf, SJA1105_SIZE_RESET_CMD); packed_buf 339 drivers/net/dsa/sja1105/sja1105_spi.c u8 packed_buf[4]; packed_buf 344 drivers/net/dsa/sja1105/sja1105_spi.c packed_buf, 4); packed_buf 348 drivers/net/dsa/sja1105/sja1105_spi.c sja1105_status_unpack(packed_buf, status);