Searched refs:tx_buf (Results 126 - 150 of 410) sorted by relevance

1234567891011>>

/linux-master/drivers/spi/
H A Dspi-sunplus-sp7021.c95 const u8 *tx_buf; member in struct:sp7021_spi_ctlr
174 writel(pspim->tx_buf[pspim->tx_cur_len],
321 pspim->tx_buf = xfer->tx_buf + i * SP7021_SPI_DATA_SIZE;
369 if (xfer->tx_buf && !xfer->rx_buf) {
370 xfer->tx_dma = dma_map_single(dev, (void *)xfer->tx_buf,
376 } else if (xfer->rx_buf && !xfer->tx_buf) {
H A Dspi-sprd.c166 const void *tx_buf; member in struct:sprd_spi
331 u8 *tx_p = (u8 *)ss->tx_buf;
337 ss->tx_buf += i;
343 u16 *tx_p = (u16 *)ss->tx_buf;
349 ss->tx_buf += i << 1;
355 u32 *tx_p = (u32 *)ss->tx_buf;
361 ss->tx_buf += i << 2;
723 ss->tx_buf = t->tx_buf;
769 if (t->tx_buf)
[all...]
H A Dspi-bcm63xx.c232 t->tx_buf, t->rx_buf, t->len);
234 if (num_transfers > 1 && t->tx_buf && t->len <= BCM63XX_SPI_MAX_PREPEND)
239 if (t->tx_buf) {
241 memcpy_toio(bs->tx_io + len, t->tx_buf, t->len);
338 if (n_transfers == 2 && !first->rx_buf && !t->tx_buf &&
341 else if (can_use_prepend && t->tx_buf)
H A Dspi-ingenic.c204 const u##x *tx_buf = xfer->tx_buf; \
211 val = tx_buf ? tx_buf[i] : 0; \
226 val = tx_buf ? tx_buf[i + prefill] : 0; \
H A Dspi-mt7621.c273 if ((t->rx_buf) && (t->tx_buf)) {
285 } else if (t->tx_buf) {
286 mt7621_spi_write_half_duplex(rs, t->len, t->tx_buf);
H A Dspi-cs42l43.c131 if (tfr->tx_buf) {
141 if (tfr->tx_buf)
142 ret = cs42l43_spi_tx(priv->regmap, (const u8 *)tfr->tx_buf, tfr->len);
H A Dspi-fsl-cpm.c115 if (!t->tx_buf) {
124 if (t->bits_per_word == 16 && t->tx_buf) {
125 const u16 *src = t->tx_buf;
149 } else if (t->tx_buf) {
H A Dspi-img-spfi.c230 const void *tx_buf = xfer->tx_buf; local
235 if (tx_buf)
249 tx_count = spfi_pio_write32(spfi, tx_buf, tx_bytes);
251 tx_count = spfi_pio_write8(spfi, tx_buf, tx_bytes);
258 tx_buf += tx_count;
341 if (xfer->tx_buf) {
373 if (xfer->tx_buf) {
464 if (xfer->tx_buf)
/linux-master/drivers/input/touchscreen/
H A Dgoodix_berlin_core.c217 u8 tx_buf[8], rx_buf[8]; local
221 memset(tx_buf, GOODIX_BERLIN_DEV_CONFIRM_VAL, sizeof(tx_buf));
225 tx_buf, sizeof(tx_buf));
235 if (!memcmp(tx_buf, rx_buf, sizeof(tx_buf)))
H A Dad7877.c212 req->xfer[0].tx_buf = &req->command;
242 req->xfer[0].tx_buf = &req->command;
278 req->xfer[0].tx_buf = &req->reset;
282 req->xfer[1].tx_buf = &req->ref_on;
288 req->xfer[2].tx_buf = &req->command;
298 req->xfer[4].tx_buf = &ts->cmd_crtl2; /*REF OFF*/
302 req->xfer[5].tx_buf = &ts->cmd_crtl1; /*DEFAULT*/
649 ts->xfer[0].tx_buf = &ts->cmd_crtl1;
655 ts->xfer[1].tx_buf = &ts->cmd_dummy; /* Send ZERO */
/linux-master/drivers/net/ieee802154/
H A Dcc2520.c223 .tx_buf = priv->buf,
251 .tx_buf = priv->buf,
280 .tx_buf = priv->buf,
313 .tx_buf = priv->buf,
319 .tx_buf = data,
347 .tx_buf = priv->buf,
389 .tx_buf = priv->buf,
394 .tx_buf = &len_byte,
398 .tx_buf = data,
430 .tx_buf
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_mipi_dbi.c275 tr = dbidev->tx_buf;
395 memset(dbidev->tx_buf, 0, len);
399 (u8 *)dbidev->tx_buf, len);
604 dbidev->tx_buf = devm_kmalloc(drm->dev, tx_buf_size, GFP_KERNEL);
605 if (!dbidev->tx_buf)
651 * Additionally &mipi_dbi.tx_buf is allocated.
862 .tx_buf = dbi->tx_buf9,
1001 tr.tx_buf = dst16;
1045 .tx_buf = dbi->tx_buf9,
1117 .tx_buf
[all...]
/linux-master/drivers/comedi/drivers/
H A Dvmk80xx.c398 unsigned char *tx_buf = devpriv->usb_tx_buf; local
413 tx_buf[reg] = s->state;
420 tx_buf[0] = VMK8061_CMD_RD_DO;
566 unsigned char *tx_buf; local
573 tx_buf = devpriv->usb_tx_buf;
579 tx_buf[0] = VMK8061_CMD_RD_PWM;
599 unsigned char *tx_buf; local
606 tx_buf = devpriv->usb_tx_buf;
620 * mov lo, al ; lo is the low part (tx_buf[reg[0]])
623 * mov hi, al ; hi is the high part (tx_buf[re
[all...]
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c373 txq->tx_buf[index].buf_p);
694 txq->tx_buf[index].buf_p = skb;
900 txq->tx_buf[index].buf_p = skb;
990 if (txq->tx_buf[i].type == FEC_TXBUF_T_SKB) {
997 if (txq->tx_buf[i].buf_p)
998 dev_kfree_skb_any(txq->tx_buf[i].buf_p);
999 } else if (txq->tx_buf[i].type == FEC_TXBUF_T_XDP_NDO) {
1006 if (txq->tx_buf[i].buf_p)
1007 xdp_return_frame(txq->tx_buf[i].buf_p);
1009 struct page *page = txq->tx_buf[
[all...]
/linux-master/drivers/iio/gyro/
H A Dadxrs450.c97 .tx_buf = &st->tx,
171 .tx_buf = &st->tx,
210 .tx_buf = &st->tx,
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-tpo-tpg110.c211 t[0].tx_buf = &buf[0];
214 t[1].tx_buf = &buf[1];
228 t[0].tx_buf = &buf[0];
H A Dpanel-lg-lb035q02.c50 index_xfer.tx_buf = buffer;
57 value_xfer.tx_buf = buffer + 4;
/linux-master/tools/spi/
H A Dspidev_fdx.c62 xfer[0].tx_buf = (unsigned long)buf;
/linux-master/drivers/iio/adc/
H A Dti-adc12138.c58 u8 tx_buf[2] __aligned(IIO_DMA_MINALIGN);
132 .tx_buf = adc->tx_buf,
142 adc->tx_buf[0] = mode;
/linux-master/drivers/input/misc/
H A Dad714x-spi.c32 xfer[0].tx_buf = &chip->xfer_buf[0];
/linux-master/drivers/usb/musb/
H A Dcppi_dma.h20 u32 tx_buf; member in struct:cppi_tx_stateram
/linux-master/include/linux/iio/adc/
H A Dad_sigma_delta.h100 * 'tx_buf' is up to 32 bits.
104 uint8_t tx_buf[4] __aligned(IIO_DMA_MINALIGN);
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/
H A Ddp.c443 struct nfp_nfd3_tx_buf *tx_buf; local
449 tx_buf = &tx_ring->txbufs[idx];
451 skb = tx_buf->skb;
456 fidx = tx_buf->fidx;
460 dma_unmap_single(dp->dev, tx_buf->dma_addr,
463 done_pkts += tx_buf->pkt_cnt;
464 done_bytes += tx_buf->real_len;
468 dma_unmap_page(dp->dev, tx_buf->dma_addr,
476 tx_buf->dma_addr = 0;
477 tx_buf
[all...]
/linux-master/drivers/staging/fbtft/
H A Dfbtft-io.c11 .tx_buf = buf,
110 t.tx_buf = txbuf;
/linux-master/drivers/video/backlight/
H A Dili9320.c182 spi->xfer[0].tx_buf = spi->buffer_addr;
183 spi->xfer[1].tx_buf = spi->buffer_data;

Completed in 284 milliseconds

1234567891011>>