Lines Matching refs:dma_rx
285 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err()
436 dmaengine_slave_config(ctlr->dma_rx, &rxconf); in rockchip_spi_prepare_dma()
439 ctlr->dma_rx, in rockchip_spi_prepare_dma()
466 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_prepare_dma()
478 dma_async_issue_pending(ctlr->dma_rx); in rockchip_spi_prepare_dma()
792 ctlr->dma_rx = dma_request_chan(rs->dev, "rx"); in rockchip_spi_probe()
793 if (IS_ERR(ctlr->dma_rx)) { in rockchip_spi_probe()
794 if (PTR_ERR(ctlr->dma_rx) == -EPROBE_DEFER) { in rockchip_spi_probe()
799 ctlr->dma_rx = NULL; in rockchip_spi_probe()
802 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
825 if (ctlr->dma_rx) in rockchip_spi_probe()
826 dma_release_channel(ctlr->dma_rx); in rockchip_spi_probe()
858 if (ctlr->dma_rx) in rockchip_spi_remove()
859 dma_release_channel(ctlr->dma_rx); in rockchip_spi_remove()