Lines Matching refs:rx_buf
319 * @rx_buf: data to be read, or NULL
352 void *rx_buf;
682 * Write in rx_buf depends on remaining bytes to avoid to write beyond
683 * rx_buf end.
692 u16 *rx_buf16 = (u16 *)(spi->rx_buf + offs);
697 u8 *rx_buf8 = (u8 *)(spi->rx_buf + offs);
711 * Write in rx_buf depends on remaining bytes to avoid to write beyond
712 * rx_buf end.
723 u16 *rx_buf16 = (u16 *)(spi->rx_buf + offs);
728 u8 *rx_buf8 = (u8 *)(spi->rx_buf + offs);
751 * Write in rx_buf depends on remaining bytes to avoid to write beyond
752 * rx_buf end.
767 u32 *rx_buf32 = (u32 *)(spi->rx_buf + offs);
774 u16 *rx_buf16 = (u16 *)(spi->rx_buf + offs);
779 u8 *rx_buf8 = (u8 *)(spi->rx_buf + offs);
1073 if (!spi->cur_usedma && (spi->rx_buf && (spi->rx_len > 0)))
1094 if (!spi->cur_usedma && (spi->rx_buf && (spi->rx_len > 0)))
1106 if (!spi->cur_usedma && (spi->rx_buf && (spi->rx_len > 0)))
1335 if (spi->tx_buf && spi->rx_buf) /* Full Duplex */
1339 else if (spi->rx_buf) /* Half-Duplex RX dir or Simplex RX */
1440 if (spi->rx_buf && spi->dma_rx) {
1468 (spi->rx_buf && spi->dma_rx && !rx_dma_desc))
1619 * SPI_3WIRE and xfer->tx_buf != NULL and xfer->rx_buf != NULL
1631 else if (!transfer->rx_buf)
1843 spi->rx_buf = transfer->rx_buf;
1845 spi->rx_len = spi->rx_buf ? transfer->len : 0;