Lines Matching defs:tx_buf
318 * @tx_buf: data to be written, or NULL
351 const void *tx_buf;
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 + offs);
647 * Read from tx_buf depends on remaining bytes to avoid to read beyond
648 * tx_buf end.
658 const u32 *tx_buf32 = (const u32 *)(spi->tx_buf + offs);
663 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs);
668 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs);
982 if (spi->tx_buf)
992 else if (spi->tx_buf)/* Load data for discontinuous mode */
1100 if (!spi->cur_usedma && (spi->tx_buf && (spi->tx_len > 0)))
1309 if (spi->tx_buf)
1331 if (spi->tx_buf && spi->rx_buf) /* Full Duplex */
1333 else if (spi->tx_buf) /* Half-Duplex TX dir or Simplex TX */
1345 if (spi->tx_buf)
1446 if (spi->tx_buf && spi->dma_tx) {
1457 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) ||
1609 * SPI_3WIRE and xfer->tx_buf != NULL and xfer->rx_buf != NULL
1614 if (!transfer->tx_buf)
1619 if (!transfer->tx_buf)
1832 spi->tx_buf = transfer->tx_buf;
1834 spi->tx_len = spi->tx_buf ? transfer->len : 0;