Home
last modified time | relevance | path

Searched refs:buf_rx (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c88 struct mcp251xfd_map_buf_nocrc *buf_rx = priv->map_buf_nocrc_rx; in mcp251xfd_regmap_nocrc_update_bits() local
94 BUILD_BUG_ON(sizeof(buf_rx->cmd) != sizeof(__be16)); in mcp251xfd_regmap_nocrc_update_bits()
116 xfer[1].rx_buf = buf_rx->data; in mcp251xfd_regmap_nocrc_update_bits()
121 xfer[0].rx_buf = buf_rx; in mcp251xfd_regmap_nocrc_update_bits()
133 memcpy(&orig_le32, buf_rx->data, len); in mcp251xfd_regmap_nocrc_update_bits()
155 struct mcp251xfd_map_buf_nocrc *buf_rx = priv->map_buf_nocrc_rx; in mcp251xfd_regmap_nocrc_read() local
161 BUILD_BUG_ON(sizeof(buf_rx->cmd) != sizeof(__be16)); in mcp251xfd_regmap_nocrc_read()
180 xfer[0].rx_buf = buf_rx; in mcp251xfd_regmap_nocrc_read()
193 memcpy(val_buf, buf_rx->data, val_len); in mcp251xfd_regmap_nocrc_read()
246 mcp251xfd_regmap_crc_read_check_crc(const struct mcp251xfd_map_buf_crc * const buf_rx, in mcp251xfd_regmap_crc_read_check_crc() argument
[all …]
Dmcp251xfd-core.c1773 struct mcp251xfd_map_buf_nocrc *buf_rx; in mcp251xfd_register_get_dev_id() local
1778 buf_rx = kzalloc(sizeof(*buf_rx), GFP_KERNEL); in mcp251xfd_register_get_dev_id()
1779 if (!buf_rx) in mcp251xfd_register_get_dev_id()
1791 xfer[1].rx_buf = buf_rx->data; in mcp251xfd_register_get_dev_id()
1801 *dev_id = get_unaligned_le32(buf_rx->data); in mcp251xfd_register_get_dev_id()
1808 kfree(buf_rx); in mcp251xfd_register_get_dev_id()
/Linux-v6.1/drivers/misc/
Dad525x_dpot-spi.c50 u8 buf_rx[2]; in read16() local
53 ret = spi_read(client, buf_rx, 2); in read16()
57 return (buf_rx[0] << 8) | buf_rx[1]; in read16()
63 u8 buf_rx[3]; in read24() local
66 ret = spi_read(client, buf_rx, 3); in read24()
70 return (buf_rx[1] << 8) | buf_rx[2]; in read24()
/Linux-v6.1/drivers/net/can/m_can/
Dtcan4x5x-regmap.c52 struct tcan4x5x_map_buf *buf_rx = &priv->map_buf_rx; in tcan4x5x_regmap_read() local
76 xfer[0].rx_buf = buf_rx; in tcan4x5x_regmap_read()
88 memcpy(val_buf, buf_rx->data, val_len); in tcan4x5x_regmap_read()
/Linux-v6.1/drivers/spi/
Dspi-npcm-fiu.c294 u8 *buf_rx = buf; in npcm_fiu_direct_read() local
299 *(buf_rx + i) = ioread8(src + i); in npcm_fiu_direct_read()
307 memcpy_fromio(buf_rx, src, len); in npcm_fiu_direct_read()