Searched refs:tx_buf (Results 76 - 100 of 410) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/ti/wl1251/
H A Dspi.c60 t.tx_buf = cmd;
113 t.tx_buf = cmd;
150 t[0].tx_buf = cmd;
189 t[0].tx_buf = cmd;
193 t[1].tx_buf = buf;
/linux-master/drivers/spi/
H A Dspi-bitbang.c67 const u8 *tx = t->tx_buf;
96 const u16 *tx = t->tx_buf;
125 const u32 *tx = t->tx_buf;
243 err = bitbang->set_line_direction(spi, !!(t->tx_buf));
251 flags = t->tx_buf ? SPI_CONTROLLER_NO_RX : SPI_CONTROLLER_NO_TX;
H A Dspi-bcm2835.c93 * @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 Dspi-sun6i.c111 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) {
293 sspi->tx_buf = tfr->tx_buf;
323 if (tfr->tx_buf)
436 if (sspi->tx_buf) {
H A Dspi-synquacer.c130 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 Dspi-stm32.c318 * @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 Dspi-slave-time.c98 priv->xfer.tx_buf = priv->buf;
/linux-master/drivers/iio/adc/
H A Dmcp320x.c81 * @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 Dmax1363.c340 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 Dmcp3564.c406 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 Dti-ads131e08.c108 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 Dti-ads7950.c110 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;
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1214 static void mtk_tx_unmap(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, argument
1218 if (tx_buf->flags & MTK_TX_FLAGS_SINGLE0) {
1220 dma_unmap_addr(tx_buf, dma_addr0),
1221 dma_unmap_len(tx_buf, dma_len0),
1223 } else if (tx_buf->flags & MTK_TX_FLAGS_PAGE0) {
1225 dma_unmap_addr(tx_buf, dma_addr0),
1226 dma_unmap_len(tx_buf, dma_len0),
1230 if (dma_unmap_len(tx_buf, dma_len0)) {
1232 dma_unmap_addr(tx_buf, dma_addr0),
1233 dma_unmap_len(tx_buf, dma_len
1268 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
1408 struct mtk_tx_buf *itx_buf, *tx_buf; local
1754 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
1805 struct mtk_tx_buf *htx_buf, *tx_buf; local
2264 struct mtk_tx_buf *tx_buf; local
2313 struct mtk_tx_buf *tx_buf; local
[all...]
/linux-master/drivers/media/cec/platform/tegra/
H A Dtegra_cec.c47 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 Dw5100-spi.c190 .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/video/backlight/
H A Dili922x.c159 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/wireless/ti/wlcore/
H A Dspi.c108 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 Dcw1200_spi.c68 .tx_buf = &regaddr,
103 printk("%02x ", ((u8 *)t_addr.tx_buf)[i]);
132 .tx_buf = &regaddr,
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/net/ethernet/asix/
H A Dax88796c_spi.c53 xfer->tx_buf = ax_spi->cmd_buf;
61 xfer->tx_buf = NULL;
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-regmap.c33 .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 Dmcp251xfd-ring.c90 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 Dtcan4x5x-regmap.c26 .tx_buf = buf_tx,
56 .tx_buf = buf_tx,
/linux-master/drivers/net/ethernet/
H A Dec_bhf.c143 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 Dgoodix_berlin_spi.c58 xfers.tx_buf = buf;
97 xfers.tx_buf = buf;
/linux-master/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_spi_device.c28 tx.tx_buf = data;

Completed in 226 milliseconds

1234567891011>>