Lines Matching refs:dma_rx
93 struct dma_chan *dma_rx; member
472 dmaengine_slave_config(mcspi_dma->dma_rx, &cfg); in omap2_mcspi_rx_dma()
503 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_rx, sg_out[0], in omap2_mcspi_rx_dma()
514 dma_async_issue_pending(mcspi_dma->dma_rx); in omap2_mcspi_rx_dma()
519 dmaengine_terminate_sync(mcspi_dma->dma_rx); in omap2_mcspi_rx_dma()
991 mcspi_dma->dma_rx = dma_request_chan(mcspi->dev, in omap2_mcspi_request_dma()
993 if (IS_ERR(mcspi_dma->dma_rx)) { in omap2_mcspi_request_dma()
994 ret = PTR_ERR(mcspi_dma->dma_rx); in omap2_mcspi_request_dma()
995 mcspi_dma->dma_rx = NULL; in omap2_mcspi_request_dma()
1004 dma_release_channel(mcspi_dma->dma_rx); in omap2_mcspi_request_dma()
1005 mcspi_dma->dma_rx = NULL; in omap2_mcspi_request_dma()
1024 if (mcspi_dma->dma_rx) { in omap2_mcspi_release_dma()
1025 dma_release_channel(mcspi_dma->dma_rx); in omap2_mcspi_release_dma()
1026 mcspi_dma->dma_rx = NULL; in omap2_mcspi_release_dma()
1199 if ((mcspi_dma->dma_rx && mcspi_dma->dma_tx) && in omap2_mcspi_transfer_one()
1211 if ((mcspi_dma->dma_rx && mcspi_dma->dma_tx) && in omap2_mcspi_transfer_one()
1290 if (!mcspi_dma->dma_rx || !mcspi_dma->dma_tx) in omap2_mcspi_can_dma()
1296 master->dma_rx = mcspi_dma->dma_rx; in omap2_mcspi_can_dma()
1308 if (mcspi->max_xfer_len && mcspi_dma->dma_rx) in omap2_mcspi_max_xfer_size()