Searched refs:tx_buf (Results 126 - 150 of 408) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/codecs/
H A Drt5514-spi.c345 x[0].tx_buf = write_buf;
349 x[1].tx_buf = write_buf;
/linux-master/drivers/video/fbdev/mmp/hw/
H A Dmmp_spi.c116 lcd_spi_write(spi, ((u8 *)t->tx_buf)[i]);
120 lcd_spi_write(spi, ((u16 *)t->tx_buf)[i]);
124 lcd_spi_write(spi, ((u32 *)t->tx_buf)[i]);
/linux-master/drivers/usb/gadget/udc/
H A Dmax3420_udc.c211 transfer.tx_buf = txdata;
230 transfer.tx_buf = txdata;
259 transfer.tx_buf = txdata;
283 transfer.tx_buf = &local_buf[0];
307 transfer.tx_buf = local_buf;
/linux-master/drivers/staging/greybus/
H A Dspilib.c142 if (last_xfer->tx_buf)
186 if (!xfer->tx_buf && !xfer->rx_buf) {
196 if (xfer->tx_buf) {
271 if (xfer->tx_buf) {
273 memcpy(tx_data, xfer->tx_buf + spi->tx_xfer_offset,
/linux-master/drivers/spi/
H A Dspidev.c127 .tx_buf = spidev->tx_buffer,
218 u8 *tx_buf, *rx_buf; local
230 tx_buf = spidev->tx_buffer;
238 /* Ensure that also following allocations from rx_buf/tx_buf will meet
266 if (u_tmp->tx_buf) {
273 k_tmp->tx_buf = tx_buf;
274 if (copy_from_user(tx_buf, (const u8 __user *)
275 (uintptr_t) u_tmp->tx_buf,
278 tx_buf
[all...]
H A Dspi-xilinx.c247 xspi->tx_ptr = t->tx_buf;
H A Dspi-stm32-qspi.c582 dev_dbg(qspi->dev, "tx_buf:%p tx_nbits:%d rx_buf:%p rx_nbits:%d len:%d dummy_data:%d\n",
583 transfer->tx_buf, transfer->tx_nbits,
617 op.data.buf.out = transfer->tx_buf;
H A Dspi-slave-mt27xx.c174 if (xfer->tx_buf)
179 if (xfer->tx_buf)
181 xfer->tx_buf, cnt);
184 if (xfer->tx_buf && remainder > 0) {
186 memcpy(&reg_val, xfer->tx_buf + cnt * 4, remainder);
209 if (xfer->tx_buf) {
210 /* tx_buf is a const void* where we need a void * for
213 void *nonconst_tx = (void *)xfer->tx_buf;
239 if (xfer->tx_buf)
251 if (xfer->tx_buf)
[all...]
H A Dspi-rockchip.c372 rs->tx = xfer->tx_buf;
445 rs->tx = xfer->tx_buf;
471 if (xfer->tx_buf) {
539 if (xfer->rx_buf && xfer->tx_buf)
570 if (xfer->tx_buf)
677 if (!xfer->tx_buf && !xfer->rx_buf) {
H A Dspi-ppc4xx.c146 t->tx_buf, t->rx_buf, t->len);
150 hw->tx = t->tx_buf;
H A Dspi-omap-uwire.c210 if (!t->tx_buf && !t->rx_buf)
216 if (t->tx_buf) {
217 const u8 *buf = t->tx_buf;
H A Dspi-geni-qcom.c199 if (xfer->tx_buf) {
475 if (xfer->tx_buf && xfer->rx_buf) {
477 } else if (xfer->tx_buf) {
521 * Prepare the TX always, even for RX or tx_buf being null, we would
747 const u8 *tx_buf; local
761 tx_buf = mas->cur_xfer->tx_buf + mas->cur_xfer->len - mas->tx_rem_bytes;
770 fifo_byte[j] = tx_buf[i++];
865 if (xfer->tx_buf) {
H A Dspi-dw-dma.c473 if (!xfer->tx_buf)
H A Dspi-davinci.c455 !is_vmalloc_addr(xfer->tx_buf);
583 dspi->tx = t->tx_buf;
629 if (!t->tx_buf) {
H A Dspi-cavium.c39 const u8 *tx_buf; local
68 tx_buf = xfer->tx_buf;
74 if (tx_buf)
75 d = *tx_buf++;
83 mpi_tx.s.txnum = tx_buf ? OCTEON_SPI_MAX_BYTES : 0;
98 if (tx_buf)
99 d = *tx_buf++;
111 mpi_tx.s.txnum = tx_buf ? len : 0;
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...]
/linux-master/drivers/platform/chrome/
H A Dcros_ec_spi.c428 trans.tx_buf = ec_dev->dout;
562 trans.tx_buf = ec_dev->dout;
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dif_spi.c165 reg_trans.tx_buf = &reg_out;
168 data_trans.tx_buf = buf;
223 reg_trans.tx_buf = &reg_out;
/linux-master/drivers/net/ieee802154/
H A Dca8210.c256 * @tx_buf: source array for transmission
267 u8 tx_buf[CA8210_SPI_BUF_SIZE]; member in struct:cas_control
814 if (cas_ctl->tx_buf[0] == SPI_IDLE) {
828 memcpy(retry_buffer, cas_ctl->tx_buf, CA8210_SPI_BUF_SIZE);
893 memset(cas_ctl->tx_buf, SPI_IDLE, CA8210_SPI_BUF_SIZE);
895 memcpy(cas_ctl->tx_buf, buf, len);
898 dev_dbg(&spi->dev, "%#03x\n", cas_ctl->tx_buf[i]);
906 cas_ctl->transfer.tx_buf = cas_ctl->tx_buf;
/linux-master/drivers/net/ethernet/vertexcom/
H A Dmse102x.c159 xfer->tx_buf = txb;
184 xfer->tx_buf = txb;
249 xfer->tx_buf = txp->data;
274 xfer->tx_buf = NULL;
/linux-master/drivers/mtd/devices/
H A Dmtd_dataflash.c176 x.tx_buf = command = priv->command;
259 x[0].tx_buf = command;
317 x[0].tx_buf = command = priv->command;
379 x[1].tx_buf = writebuf;
484 t.tx_buf = scratch;
570 t.tx_buf = scratch;
/linux-master/drivers/mmc/host/
H A Dmmc_spi.c487 t->tx_buf = t->rx_buf = data->status;
530 t->tx_buf = &scratch->data_token;
539 t->tx_buf = host->ones;
548 t->tx_buf = &scratch->crc_val;
550 t->tx_buf = host->ones;
573 t->tx_buf = host->ones;
602 scratch->crc_val = cpu_to_be16(crc_itu_t(0, t->tx_buf, t->len));
657 t->tx_buf += t->len;
807 t->tx_buf = kmap_addr + sg->offset;
870 host->early_status.tx_buf
[all...]
/linux-master/drivers/misc/
H A Dgehc-achc.c237 xfers[0].tx_buf = command;
240 xfers[1].tx_buf = payload;
267 xfers[0].tx_buf = buffer;
/linux-master/drivers/mfd/
H A Drk8xx-spi.c55 xfer[0].tx_buf = &cmd;
57 xfer[1].tx_buf = vdata;
/linux-master/drivers/media/usb/msi2500/
H A Dmsi2500.c1148 dev_dbg(dev->dev, "msg=%*ph\n", t->len, t->tx_buf);
1150 data |= ((u8 *)t->tx_buf)[0] << 8;
1151 data |= ((u8 *)t->tx_buf)[1] << 16;
1152 data |= ((u8 *)t->tx_buf)[2] << 24;

Completed in 330 milliseconds

1234567891011>>