Lines Matching refs:dma_rx
298 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err()
471 dmaengine_slave_config(ctlr->dma_rx, &rxconf); in rockchip_spi_prepare_dma()
474 ctlr->dma_rx, in rockchip_spi_prepare_dma()
501 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_prepare_dma()
512 ctlr->dma_rx->cookie = dmaengine_submit(rxdesc); in rockchip_spi_prepare_dma()
513 dma_async_issue_pending(ctlr->dma_rx); in rockchip_spi_prepare_dma()
631 dmaengine_pause(ctlr->dma_rx); in rockchip_spi_target_abort()
632 status = dmaengine_tx_status(ctlr->dma_rx, ctlr->dma_rx->cookie, &state); in rockchip_spi_target_abort()
662 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()
885 ret = dev_warn_probe(rs->dev, PTR_ERR(ctlr->dma_rx), 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()