Home
last modified time | relevance | path

Searched refs:packed_buf (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/dsa/sja1105/
Dsja1105_clocking.c119 u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; in sja1105_cgu_idiv_config() local
134 sja1105_cgu_idiv_packing(packed_buf, &idiv, PACK); in sja1105_cgu_idiv_config()
137 packed_buf, SJA1105_SIZE_CGU_CMD); in sja1105_cgu_idiv_config()
170 u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; in sja1105_cgu_mii_tx_clk_config() local
185 sja1105_cgu_mii_control_packing(packed_buf, &mii_tx_clk, PACK); in sja1105_cgu_mii_tx_clk_config()
188 packed_buf, SJA1105_SIZE_CGU_CMD); in sja1105_cgu_mii_tx_clk_config()
196 u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; in sja1105_cgu_mii_rx_clk_config() local
212 sja1105_cgu_mii_control_packing(packed_buf, &mii_rx_clk, PACK); in sja1105_cgu_mii_rx_clk_config()
215 packed_buf, SJA1105_SIZE_CGU_CMD); in sja1105_cgu_mii_rx_clk_config()
223 u8 packed_buf[SJA1105_SIZE_CGU_CMD] = {0}; in sja1105_cgu_mii_ext_tx_clk_config() local
[all …]
Dsja1105_spi.c135 u8 packed_buf[8]; in sja1105_xfer_u64() local
139 sja1105_pack(packed_buf, value, 63, 0, 8); in sja1105_xfer_u64()
141 rc = sja1105_xfer(priv, rw, reg_addr, packed_buf, 8, ptp_sts); in sja1105_xfer_u64()
144 sja1105_unpack(packed_buf, value, 63, 0, 8); in sja1105_xfer_u64()
154 u8 packed_buf[4]; in sja1105_xfer_u32() local
163 sja1105_pack(packed_buf, &tmp, 31, 0, 4); in sja1105_xfer_u32()
166 rc = sja1105_xfer(priv, rw, reg_addr, packed_buf, 4, ptp_sts); in sja1105_xfer_u32()
169 sja1105_unpack(packed_buf, &tmp, 31, 0, 4); in sja1105_xfer_u32()
263 u8 packed_buf[4]; in sja1105_status_get() local
266 rc = sja1105_xfer_buf(priv, SPI_READ, regs->status, packed_buf, 4); in sja1105_status_get()
[all …]
Dsja1105_dynamic_config.c1182 u8 packed_buf[SJA1105_MAX_DYN_CMD_SIZE] = {}; in sja1105_dynamic_config_poll_valid() local
1187 rc = sja1105_xfer_buf(priv, SPI_READ, ops->addr, packed_buf, in sja1105_dynamic_config_poll_valid()
1195 ops->cmd_packing(packed_buf, &cmd, UNPACK); in sja1105_dynamic_config_poll_valid()
1211 ops->entry_packing(packed_buf, entry, UNPACK); in sja1105_dynamic_config_poll_valid()
1262 u8 packed_buf[SJA1105_MAX_DYN_CMD_SIZE] = {0}; in sja1105_dynamic_config_read() local
1294 ops->cmd_packing(packed_buf, &cmd, PACK); in sja1105_dynamic_config_read()
1297 ops->entry_packing(packed_buf, entry, PACK); in sja1105_dynamic_config_read()
1301 rc = sja1105_xfer_buf(priv, SPI_WRITE, ops->addr, packed_buf, in sja1105_dynamic_config_read()
1320 u8 packed_buf[SJA1105_MAX_DYN_CMD_SIZE] = {0}; in sja1105_dynamic_config_write() local
1346 ops->cmd_packing(packed_buf, &cmd, PACK); in sja1105_dynamic_config_write()
[all …]
Dsja1105_ptp.c253 u8 packed_buf[8]; in sja1105_ptpegr_ts_poll() local
259 packed_buf, priv->info->ptpegr_ts_bytes); in sja1105_ptpegr_ts_poll()
263 sja1105_unpack(packed_buf, &update, 0, 0, in sja1105_ptpegr_ts_poll()
286 sja1105_unpack(packed_buf, ts, tstamp_bit_start, tstamp_bit_end, in sja1105_ptpegr_ts_poll()