/linux-master/sound/soc/codecs/ |
H A D | rt5514-spi.c | 345 x[0].tx_buf = write_buf; 349 x[1].tx_buf = write_buf;
|
/linux-master/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_spi.c | 116 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 D | max3420_udc.c | 211 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 D | spilib.c | 142 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 D | spidev.c | 127 .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 D | spi-xilinx.c | 247 xspi->tx_ptr = t->tx_buf;
|
H A D | spi-stm32-qspi.c | 582 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 D | spi-slave-mt27xx.c | 174 if (xfer->tx_buf) 179 if (xfer->tx_buf) 181 xfer->tx_buf, cnt); 184 if (xfer->tx_buf && remainder > 0) { 186 memcpy(®_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 D | spi-rockchip.c | 372 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 D | spi-ppc4xx.c | 146 t->tx_buf, t->rx_buf, t->len); 150 hw->tx = t->tx_buf;
|
H A D | spi-omap-uwire.c | 210 if (!t->tx_buf && !t->rx_buf) 216 if (t->tx_buf) { 217 const u8 *buf = t->tx_buf;
|
H A D | spi-geni-qcom.c | 199 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 D | spi-dw-dma.c | 473 if (!xfer->tx_buf)
|
H A D | spi-davinci.c | 455 !is_vmalloc_addr(xfer->tx_buf); 583 dspi->tx = t->tx_buf; 629 if (!t->tx_buf) {
|
H A D | spi-cavium.c | 39 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 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...] |
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_spi.c | 428 trans.tx_buf = ec_dev->dout; 562 trans.tx_buf = ec_dev->dout;
|
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | if_spi.c | 165 reg_trans.tx_buf = ®_out; 168 data_trans.tx_buf = buf; 223 reg_trans.tx_buf = ®_out;
|
/linux-master/drivers/net/ieee802154/ |
H A D | ca8210.c | 256 * @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 D | mse102x.c | 159 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 D | mtd_dataflash.c | 176 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 D | mmc_spi.c | 487 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 D | gehc-achc.c | 237 xfers[0].tx_buf = command; 240 xfers[1].tx_buf = payload; 267 xfers[0].tx_buf = buffer;
|
/linux-master/drivers/mfd/ |
H A D | rk8xx-spi.c | 55 xfer[0].tx_buf = &cmd; 57 xfer[1].tx_buf = vdata;
|
/linux-master/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 1148 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;
|