Lines Matching full:dma_rx
95 struct dma_chan *dma_rx; member
486 dmaengine_slave_config(mcspi_dma->dma_rx, &cfg); in omap2_mcspi_rx_dma()
517 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_rx, sg_out[0], in omap2_mcspi_rx_dma()
528 dma_async_issue_pending(mcspi_dma->dma_rx); in omap2_mcspi_rx_dma()
533 dmaengine_terminate_sync(mcspi_dma->dma_rx); in omap2_mcspi_rx_dma()
1012 mcspi_dma->dma_rx = dma_request_chan(mcspi->dev, in omap2_mcspi_request_dma()
1014 if (IS_ERR(mcspi_dma->dma_rx)) { in omap2_mcspi_request_dma()
1015 ret = PTR_ERR(mcspi_dma->dma_rx); in omap2_mcspi_request_dma()
1016 mcspi_dma->dma_rx = NULL; in omap2_mcspi_request_dma()
1025 dma_release_channel(mcspi_dma->dma_rx); in omap2_mcspi_request_dma()
1026 mcspi_dma->dma_rx = NULL; in omap2_mcspi_request_dma()
1045 if (mcspi_dma->dma_rx) { in omap2_mcspi_release_dma()
1046 dma_release_channel(mcspi_dma->dma_rx); in omap2_mcspi_release_dma()
1047 mcspi_dma->dma_rx = NULL; in omap2_mcspi_release_dma()
1212 if ((mcspi_dma->dma_rx && mcspi_dma->dma_tx) && in omap2_mcspi_transfer_one()
1223 if ((mcspi_dma->dma_rx && mcspi_dma->dma_tx) && in omap2_mcspi_transfer_one()
1337 if (!mcspi_dma->dma_rx || !mcspi_dma->dma_tx) in omap2_mcspi_can_dma()
1343 ctlr->dma_rx = mcspi_dma->dma_rx; in omap2_mcspi_can_dma()
1355 if (mcspi->max_xfer_len && mcspi_dma->dma_rx) in omap2_mcspi_max_xfer_size()