Searched refs:buf_rx (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-regmap.c | 88 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 …]
|
D | mcp251xfd-core.c | 1779 struct mcp251xfd_map_buf_nocrc *buf_rx; in mcp251xfd_register_get_dev_id() local 1784 buf_rx = kzalloc(sizeof(*buf_rx), GFP_KERNEL); in mcp251xfd_register_get_dev_id() 1785 if (!buf_rx) in mcp251xfd_register_get_dev_id() 1797 xfer[1].rx_buf = buf_rx->data; in mcp251xfd_register_get_dev_id() 1807 *dev_id = get_unaligned_le32(buf_rx->data); in mcp251xfd_register_get_dev_id() 1814 kfree(buf_rx); in mcp251xfd_register_get_dev_id()
|
/Linux-v6.6/drivers/misc/ |
D | ad525x_dpot-spi.c | 50 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.6/drivers/mfd/ |
D | tps6594-i2c.c | 38 u8 buf_rx[] = { 0, 0 }; in tps6594_i2c_reg_read_with_crc() local 63 msgs[1].buf = buf_rx; in tps6594_i2c_reg_read_with_crc() 69 crc_data[sizeof(crc_data) - 1] = *val = buf_rx[0]; in tps6594_i2c_reg_read_with_crc() 70 if (buf_rx[1] != crc8(tps6594_i2c_crc_table, crc_data, sizeof(crc_data), CRC8_INIT_VALUE)) in tps6594_i2c_reg_read_with_crc()
|
/Linux-v6.6/drivers/net/can/m_can/ |
D | tcan4x5x-regmap.c | 52 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.6/drivers/spi/ |
D | spi-npcm-fiu.c | 294 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()
|