/linux-master/drivers/iio/adc/ |
H A D | mcp320x.c | 81 * @tx_buf: buffer for @transfer[0] (not used on single-channel converters) 95 u8 tx_buf __aligned(IIO_DMA_MINALIGN); 136 adc->tx_buf = mcp320x_channel_to_tx_data(device_index, channel, 404 adc->transfer[0].tx_buf = &adc->tx_buf; 405 adc->transfer[0].len = sizeof(adc->tx_buf);
|
H A D | max1363.c | 340 u8 tx_buf[2] = { st->setupbyte, st->configbyte }; local 342 return st->send(st->client, tx_buf, 2); 821 u8 *tx_buf; local 853 tx_buf = kmalloc(len, GFP_KERNEL); 854 if (!tx_buf) { 858 tx_buf[0] = st->configbyte; 859 tx_buf[1] = st->setupbyte; 860 tx_buf[2] = (st->monitor_speed << 1); 870 tx_buf[i] = (st->thresh_low[j] >> 4) & 0xFF; 871 tx_buf[ [all...] |
H A D | mcp3564.c | 406 u8 tx_buf; local 409 tx_buf = mcp3564_cmd_read(adc->dev_addr, reg); 411 ret = spi_write_then_read(adc->spi, &tx_buf, sizeof(tx_buf), 421 u8 tx_buf; local 424 tx_buf = mcp3564_cmd_read(adc->dev_addr, reg); 426 ret = spi_write_then_read(adc->spi, &tx_buf, sizeof(tx_buf), 436 u8 tx_buf; local 439 tx_buf 450 u8 tx_buf[2]; local [all...] |
H A D | ti-ads131e08.c | 108 u8 tx_buf[3] __aligned(IIO_DMA_MINALIGN); 178 .tx_buf = &st->tx_buf, 190 st->tx_buf[0] = ADS131E08_CMD_RREG(reg); 191 st->tx_buf[1] = 0; 207 .tx_buf = &st->tx_buf, 216 st->tx_buf[0] = ADS131E08_CMD_WREG(reg); 217 st->tx_buf[1] = 0; 218 st->tx_buf[ [all...] |
H A D | ti-ads7950.c | 110 u16 tx_buf[TI_ADS7950_MAX_CHAN + 2]; member in struct:ti_ads7950_state 292 st->tx_buf[len++] = cmd; 296 st->tx_buf[len++] = 0; 297 st->tx_buf[len++] = 0; 568 st->ring_xfer.tx_buf = &st->tx_buf[0]; 583 st->scan_single_xfer[0].tx_buf = &st->single_tx; 586 st->scan_single_xfer[1].tx_buf = &st->single_tx;
|
H A D | ad7887.c | 287 st->xfer[0].tx_buf = &st->tx_cmd_buf[0]; 297 st->xfer[1].tx_buf = &st->tx_cmd_buf[2]; 301 st->xfer[2].tx_buf = &st->tx_cmd_buf[0]; 309 st->xfer[3].tx_buf = &st->tx_cmd_buf[2];
|
/linux-master/drivers/spi/ |
H A D | spi-bitbang.c | 68 const u8 *tx = t->tx_buf; 97 const u16 *tx = t->tx_buf; 126 const u32 *tx = t->tx_buf; 244 err = bitbang->set_line_direction(spi, !!(t->tx_buf)); 252 flags = t->tx_buf ? SPI_CONTROLLER_NO_RX : SPI_CONTROLLER_NO_TX;
|
H A D | spi-bcm2835.c | 93 * @tx_buf: pointer whence next transmitted byte is read 128 const u8 *tx_buf; member in struct:bcm2835_spi 236 byte = bs->tx_buf ? *bs->tx_buf++ : 0; 286 if (bs->tx_buf) { 288 memcpy(&val, bs->tx_buf, len); 289 bs->tx_buf += len; 344 val = bs->tx_buf ? *bs->tx_buf++ : 0; 497 if (bs->tx_buf [all...] |
H A D | spi-sun6i.c | 111 const u8 *tx_buf; member in struct:sun6i_spi 176 byte = sspi->tx_buf ? *sspi->tx_buf++ : 0; 240 if (tfr->tx_buf) { 267 if (tfr->tx_buf) { 294 sspi->tx_buf = tfr->tx_buf; 324 if (tfr->tx_buf) 437 if (sspi->tx_buf) {
|
H A D | spi-synquacer.c | 130 const void *tx_buf; member in struct:synquacer_spi 195 const u8 *buf = sspi->tx_buf; 199 sspi->tx_buf = buf + len; 203 const u16 *buf = sspi->tx_buf; 207 sspi->tx_buf = buf + len; 213 const u32 *buf = sspi->tx_buf; 217 sspi->tx_buf = buf + len; 237 if (xfer->rx_buf && xfer->tx_buf && 244 if (xfer->tx_buf) { 391 sspi->tx_buf [all...] |
H A D | spi-stm32.c | 318 * @tx_buf: data to be written, or NULL 351 const void *tx_buf; member in struct:stm32_spi 589 * Read from tx_buf depends on remaining bytes to avoid to read beyond 590 * tx_buf end. 599 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs); 604 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs); 618 * Read from tx_buf depends on remaining bytes to avoid to read beyond 619 * tx_buf end. 628 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs); 633 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf [all...] |
H A D | spi-slave-time.c | 98 priv->xfer.tx_buf = priv->buf;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1220 static void mtk_tx_unmap(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, argument 1224 if (tx_buf->flags & MTK_TX_FLAGS_SINGLE0) { 1226 dma_unmap_addr(tx_buf, dma_addr0), 1227 dma_unmap_len(tx_buf, dma_len0), 1229 } else if (tx_buf->flags & MTK_TX_FLAGS_PAGE0) { 1231 dma_unmap_addr(tx_buf, dma_addr0), 1232 dma_unmap_len(tx_buf, dma_len0), 1236 if (dma_unmap_len(tx_buf, dma_len0)) { 1238 dma_unmap_addr(tx_buf, dma_addr0), 1239 dma_unmap_len(tx_buf, dma_len 1274 setup_tx_buf(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, struct mtk_tx_dma *txd, dma_addr_t mapped_addr, size_t size, int idx) argument 1414 struct mtk_tx_buf *itx_buf, *tx_buf; local 1760 mtk_xdp_frame_map(struct mtk_eth *eth, struct net_device *dev, struct mtk_tx_dma_desc_info *txd_info, struct mtk_tx_dma *txd, struct mtk_tx_buf *tx_buf, void *data, u16 headroom, int index, bool dma_map) argument 1811 struct mtk_tx_buf *htx_buf, *tx_buf; local 2270 struct mtk_tx_buf *tx_buf; local 2319 struct mtk_tx_buf *tx_buf; local [all...] |
/linux-master/drivers/media/cec/platform/tegra/ |
H A D | tegra_cec.c | 47 u32 tx_buf[CEC_MAX_MSG_SIZE]; member in struct:tegra_cec 158 cec->tx_buf[cec->tx_buf_cur++]); 294 cec->tx_buf[i] = mode | msg->msg[i]; 296 cec->tx_buf[i] |= TEGRA_CEC_TX_REG_START_BIT; 298 cec->tx_buf[i] |= TEGRA_CEC_TX_REG_EOM; 300 cec->tx_buf[i] |= TEGRA_CEC_TX_REG_RETRY;
|
/linux-master/drivers/net/ethernet/wiznet/ |
H A D | w5100-spi.c | 190 .tx_buf = spi_priv->cmd_buf, 220 .tx_buf = spi_priv->cmd_buf, 224 .tx_buf = buf, 350 .tx_buf = spi_priv->cmd_buf, 379 .tx_buf = spi_priv->cmd_buf, 383 .tx_buf = buf,
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | spi.c | 108 t.tx_buf = cmd; 163 t.tx_buf = cmd; 182 t.tx_buf = cmd; 259 t[0].tx_buf = cmd; 331 t[i].tx_buf = cmd; 335 t[i].tx_buf = buf;
|
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | cw1200_spi.c | 68 .tx_buf = ®addr, 103 printk("%02x ", ((u8 *)t_addr.tx_buf)[i]); 132 .tx_buf = ®addr, 136 .tx_buf = src, 168 printk("%02x ", ((u8 *)t_addr.tx_buf)[i]); 171 printk("%02x ", ((u8 *)t_msg.tx_buf)[i]);
|
/linux-master/drivers/video/backlight/ |
H A D | ili922x.c | 159 xfer.tx_buf = tbuf; 203 xfer_regindex.tx_buf = tbuf; 225 xfer_regvalue.tx_buf = &tbuf[send_bytes]; 258 xfer_regindex.tx_buf = tbuf; 285 xfer_regvalue.tx_buf = tbuf; 334 xfer.tx_buf = tbuf;
|
/linux-master/drivers/net/ethernet/asix/ |
H A D | ax88796c_spi.c | 53 xfer->tx_buf = ax_spi->cmd_buf; 61 xfer->tx_buf = NULL;
|
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-regmap.c | 33 .tx_buf = buf_tx, 113 xfer[0].tx_buf = buf_tx; 120 xfer[0].tx_buf = buf_tx; 172 xfer[0].tx_buf = reg; 179 xfer[0].tx_buf = buf_tx; 208 .tx_buf = buf_tx, 307 xfer[0].tx_buf = buf_tx; 314 xfer[0].tx_buf = buf_tx;
|
H A D | mcp251xfd-ring.c | 90 tef_ring->irq_enable_xfer.tx_buf = &tef_ring->irq_enable_buf; 103 xfer->tx_buf = &tef_ring->uinc_buf; 127 xfer->tx_buf = &tef_ring->uinc_irq_disable_buf; 152 xfer->tx_buf = &tx_obj->buf; 160 xfer->tx_buf = &ring->rts_buf; 224 rx_ring->irq_enable_xfer.tx_buf = &rx_ring->irq_enable_buf; 236 xfer->tx_buf = &rx_ring->uinc_buf; 281 xfer->tx_buf = &rx_ring->uinc_irq_disable_buf;
|
/linux-master/drivers/net/can/m_can/ |
H A D | tcan4x5x-regmap.c | 26 .tx_buf = buf_tx, 56 .tx_buf = buf_tx,
|
/linux-master/drivers/net/ethernet/ |
H A D | ec_bhf.c | 143 struct bhf_dma tx_buf; member in struct:ec_bhf_priv 173 u32 addr = (u8 *)desc - priv->tx_buf.buf; 361 priv->tx_dcount = priv->tx_buf.len / sizeof(struct tx_desc); 362 priv->tx_descs = (struct tx_desc *)priv->tx_buf.buf; 408 err = ec_bhf_alloc_dma_mem(priv, &priv->tx_buf, priv->tx_dma_chan, 443 dma_free_coherent(dev, priv->tx_buf.alloc_len, 444 priv->tx_buf.alloc, priv->tx_buf.alloc_phys);
|
/linux-master/drivers/input/touchscreen/ |
H A D | goodix_berlin_spi.c | 58 xfers.tx_buf = buf; 97 xfers.tx_buf = buf;
|
/linux-master/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_spi_device.c | 28 tx.tx_buf = data;
|