Lines Matching refs:dma_rx
333 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err()
506 dmaengine_slave_config(ctlr->dma_rx, &rxconf); in rockchip_spi_prepare_dma()
509 ctlr->dma_rx, in rockchip_spi_prepare_dma()
536 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_prepare_dma()
547 ctlr->dma_rx->cookie = dmaengine_submit(rxdesc); in rockchip_spi_prepare_dma()
548 dma_async_issue_pending(ctlr->dma_rx); in rockchip_spi_prepare_dma()
1151 ctlr->dma_rx = dma_request_chan(rs->dev, "rx"); in rockchip_spi_probe()
1152 if (IS_ERR(ctlr->dma_rx)) { in rockchip_spi_probe()
1153 if (PTR_ERR(ctlr->dma_rx) == -EPROBE_DEFER) { in rockchip_spi_probe()
1158 ctlr->dma_rx = NULL; in rockchip_spi_probe()
1161 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
1235 if (ctlr->dma_rx) in rockchip_spi_probe()
1236 dma_release_channel(ctlr->dma_rx); in rockchip_spi_probe()
1274 if (ctlr->dma_rx) in rockchip_spi_remove()
1275 dma_release_channel(ctlr->dma_rx); in rockchip_spi_remove()