Searched refs:buf_tx (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-regmap.c | 30 struct mcp251xfd_map_buf_nocrc *buf_tx = priv->map_buf_nocrc_tx; in mcp251xfd_regmap_nocrc_gather_write() local 33 .tx_buf = buf_tx, in mcp251xfd_regmap_nocrc_gather_write() 34 .len = sizeof(buf_tx->cmd) + val_len, in mcp251xfd_regmap_nocrc_gather_write() 38 BUILD_BUG_ON(sizeof(buf_tx->cmd) != sizeof(__be16)); in mcp251xfd_regmap_nocrc_gather_write() 41 reg_len != sizeof(buf_tx->cmd.cmd)) in mcp251xfd_regmap_nocrc_gather_write() 44 memcpy(&buf_tx->cmd, reg, sizeof(buf_tx->cmd)); in mcp251xfd_regmap_nocrc_gather_write() 45 memcpy(buf_tx->data, val, val_len); in mcp251xfd_regmap_nocrc_gather_write() 89 struct mcp251xfd_map_buf_nocrc *buf_tx = priv->map_buf_nocrc_tx; in mcp251xfd_regmap_nocrc_update_bits() local 95 BUILD_BUG_ON(sizeof(buf_tx->cmd) != sizeof(__be16)); in mcp251xfd_regmap_nocrc_update_bits() 113 xfer[0].tx_buf = buf_tx; in mcp251xfd_regmap_nocrc_update_bits() [all …]
|
D | mcp251xfd-core.c | 1774 struct mcp251xfd_map_buf_nocrc *buf_tx; in mcp251xfd_register_get_dev_id() local 1782 buf_tx = kzalloc(sizeof(*buf_tx), GFP_KERNEL); in mcp251xfd_register_get_dev_id() 1783 if (!buf_tx) { in mcp251xfd_register_get_dev_id() 1788 xfer[0].tx_buf = buf_tx; in mcp251xfd_register_get_dev_id() 1789 xfer[0].len = sizeof(buf_tx->cmd); in mcp251xfd_register_get_dev_id() 1795 mcp251xfd_spi_cmd_read_nocrc(&buf_tx->cmd, MCP251XFD_REG_DEVID); in mcp251xfd_register_get_dev_id() 1806 kfree(buf_tx); in mcp251xfd_register_get_dev_id()
|
/Linux-v6.1/drivers/net/can/m_can/ |
D | tcan4x5x-regmap.c | 23 struct tcan4x5x_map_buf *buf_tx = &priv->map_buf_tx; in tcan4x5x_regmap_gather_write() local 26 .tx_buf = buf_tx, in tcan4x5x_regmap_gather_write() 27 .len = sizeof(buf_tx->cmd) + val_len, in tcan4x5x_regmap_gather_write() 31 memcpy(&buf_tx->cmd, reg, sizeof(buf_tx->cmd.cmd) + in tcan4x5x_regmap_gather_write() 32 sizeof(buf_tx->cmd.addr)); in tcan4x5x_regmap_gather_write() 33 tcan4x5x_spi_cmd_set_len(&buf_tx->cmd, val_len); in tcan4x5x_regmap_gather_write() 34 memcpy(buf_tx->data, val, val_len); in tcan4x5x_regmap_gather_write() 53 struct tcan4x5x_map_buf *buf_tx = &priv->map_buf_tx; in tcan4x5x_regmap_read() local 56 .tx_buf = buf_tx, in tcan4x5x_regmap_read() 65 memcpy(&buf_tx->cmd, reg_buf, sizeof(buf_tx->cmd.cmd) + in tcan4x5x_regmap_read() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ar5523/ |
D | ar5523.h | 63 void *buf_tx; member
|
D | ar5523.c | 254 hdr = (struct ar5523_cmd_hdr *)cmd->buf_tx; in ar5523_cmd() 272 cmd->buf_tx, xferlen, ar5523_cmd_tx_cb, cmd); in ar5523_cmd() 941 usb_free_coherent(ar->dev, AR5523_MAX_RXCMDSZ, cmd->buf_tx, in ar5523_free_tx_cmd() 956 cmd->buf_tx = usb_alloc_coherent(ar->dev, AR5523_MAX_TXCMDSZ, in ar5523_alloc_tx_cmd() 959 if (!cmd->buf_tx) { in ar5523_alloc_tx_cmd()
|
/Linux-v6.1/drivers/spi/ |
D | spi-npcm-fiu.c | 321 const u8 *buf_tx = buf; in npcm_fiu_direct_write() local 326 iowrite8(*(buf_tx + i), dst + i); in npcm_fiu_direct_write() 328 memcpy_toio(dst, buf_tx, len); in npcm_fiu_direct_write()
|