Lines Matching refs:dma_rx
246 if (!controller->dma_rx) in spi_imx_can_dma()
1294 ret = dmaengine_slave_config(controller->dma_rx, &rx); in spi_imx_dma_configure()
1378 if (controller->dma_rx) { in spi_imx_sdma_exit()
1379 dma_release_channel(controller->dma_rx); in spi_imx_sdma_exit()
1380 controller->dma_rx = NULL; in spi_imx_sdma_exit()
1406 controller->dma_rx = dma_request_chan(dev, "rx"); in spi_imx_sdma_init()
1407 if (IS_ERR(controller->dma_rx)) { in spi_imx_sdma_init()
1408 ret = PTR_ERR(controller->dma_rx); in spi_imx_sdma_init()
1410 controller->dma_rx = NULL; in spi_imx_sdma_init()
1494 desc_rx = dmaengine_prep_slave_sg(controller->dma_rx, in spi_imx_dma_transfer()
1506 dma_async_issue_pending(controller->dma_rx); in spi_imx_dma_transfer()
1513 dmaengine_terminate_all(controller->dma_rx); in spi_imx_dma_transfer()
1531 dmaengine_terminate_all(controller->dma_rx); in spi_imx_dma_transfer()
1540 dmaengine_terminate_all(controller->dma_rx); in spi_imx_dma_transfer()