Lines Matching refs:rx_buf
294 if (t->rx_buf != NULL && t->tx_buf != NULL) in omap2_mcspi_set_fifo()
308 if (t->rx_buf != NULL) { in omap2_mcspi_set_fifo()
325 if (t->rx_buf != NULL) in omap2_mcspi_set_fifo()
505 ((u8 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_rx_dma()
507 ((u16 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_rx_dma()
509 ((u32 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_rx_dma()
524 ((u8 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_rx_dma()
526 ((u16 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_rx_dma()
528 ((u32 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_rx_dma()
589 rx = xfer->rx_buf; in omap2_mcspi_txrx_dma()
670 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio()
718 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio()
765 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio()
811 if (xfer->rx_buf == NULL) { in omap2_mcspi_txrx_pio()
1094 if (t->tx_buf == NULL && t->rx_buf == NULL && t->len) { in omap2_mcspi_work()
1129 else if (t->rx_buf == NULL) in omap2_mcspi_work()
1223 void *rx_buf = t->rx_buf; in omap2_mcspi_transfer_one_message() local
1226 if ((len && !(rx_buf || tx_buf))) { in omap2_mcspi_transfer_one_message()
1231 rx_buf ? "rx" : "", in omap2_mcspi_transfer_one_message()
1250 if (mcspi_dma->dma_rx && rx_buf != NULL) { in omap2_mcspi_transfer_one_message()
1251 t->rx_dma = dma_map_single(mcspi->dev, rx_buf, t->len, in omap2_mcspi_transfer_one_message()