Lines Matching refs:dma_rx
236 if (!master->dma_rx) in spi_imx_can_dma()
1191 ret = dmaengine_slave_config(master->dma_rx, &rx); in spi_imx_dma_configure()
1269 if (master->dma_rx) { in spi_imx_sdma_exit()
1270 dma_release_channel(master->dma_rx); in spi_imx_sdma_exit()
1271 master->dma_rx = NULL; in spi_imx_sdma_exit()
1297 master->dma_rx = dma_request_chan(dev, "rx"); in spi_imx_sdma_init()
1298 if (IS_ERR(master->dma_rx)) { in spi_imx_sdma_init()
1299 ret = PTR_ERR(master->dma_rx); in spi_imx_sdma_init()
1301 master->dma_rx = NULL; in spi_imx_sdma_init()
1385 desc_rx = dmaengine_prep_slave_sg(master->dma_rx, in spi_imx_dma_transfer()
1397 dma_async_issue_pending(master->dma_rx); in spi_imx_dma_transfer()
1404 dmaengine_terminate_all(master->dma_rx); in spi_imx_dma_transfer()
1422 dmaengine_terminate_all(master->dma_rx); in spi_imx_dma_transfer()
1431 dmaengine_terminate_all(master->dma_rx); in spi_imx_dma_transfer()