Lines Matching refs:tx_buf
315 if (t->rx_buf != NULL && t->tx_buf != NULL) in omap2_mcspi_set_fifo()
333 if (t->tx_buf != NULL) { in omap2_mcspi_set_fifo()
349 if (t->tx_buf != NULL) in omap2_mcspi_set_fifo()
611 tx = xfer->tx_buf; in omap2_mcspi_txrx_dma()
692 tx = xfer->tx_buf; in omap2_mcspi_txrx_pio()
740 tx = xfer->tx_buf; in omap2_mcspi_txrx_pio()
787 tx = xfer->tx_buf; in omap2_mcspi_txrx_pio()
1151 if (t->tx_buf == NULL) in omap2_mcspi_work_one()
1156 if (cd && cd->turbo_mode && t->tx_buf == NULL) { in omap2_mcspi_work_one()
1174 if (t->tx_buf == NULL) in omap2_mcspi_work_one()
1253 const void *tx_buf = t->tx_buf; in omap2_mcspi_transfer_one() local
1260 if ((len && !(rx_buf || tx_buf))) { in omap2_mcspi_transfer_one()
1264 tx_buf ? "tx" : "", in omap2_mcspi_transfer_one()
1273 if (mcspi_dma->dma_tx && tx_buf != NULL) { in omap2_mcspi_transfer_one()
1274 t->tx_dma = dma_map_single(mcspi->dev, (void *) tx_buf, in omap2_mcspi_transfer_one()
1288 if (tx_buf != NULL) in omap2_mcspi_transfer_one()