Lines Matching full:dma_rx
293 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err()
466 dmaengine_slave_config(ctlr->dma_rx, &rxconf); in rockchip_spi_prepare_dma()
469 ctlr->dma_rx, in rockchip_spi_prepare_dma()
496 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_prepare_dma()
507 ctlr->dma_rx->cookie = dmaengine_submit(rxdesc); in rockchip_spi_prepare_dma()
508 dma_async_issue_pending(ctlr->dma_rx); in rockchip_spi_prepare_dma()
626 dmaengine_pause(ctlr->dma_rx); in rockchip_spi_target_abort()
627 status = dmaengine_tx_status(ctlr->dma_rx, ctlr->dma_rx->cookie, &state); in rockchip_spi_target_abort()
657 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_target_abort()
882 ctlr->dma_rx = dma_request_chan(rs->dev, "rx"); in rockchip_spi_probe()
883 if (IS_ERR(ctlr->dma_rx)) { in rockchip_spi_probe()
884 if (PTR_ERR(ctlr->dma_rx) == -EPROBE_DEFER) { in rockchip_spi_probe()
889 ctlr->dma_rx = NULL; in rockchip_spi_probe()
892 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
921 if (ctlr->dma_rx) in rockchip_spi_probe()
922 dma_release_channel(ctlr->dma_rx); in rockchip_spi_probe()
946 if (ctlr->dma_rx) in rockchip_spi_remove()
947 dma_release_channel(ctlr->dma_rx); in rockchip_spi_remove()