Lines Matching refs: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()
894 ctlr->dma_rx = dma_request_chan(rs->dev, "rx"); in rockchip_spi_probe()
895 if (IS_ERR(ctlr->dma_rx)) { in rockchip_spi_probe()
896 if (PTR_ERR(ctlr->dma_rx) == -EPROBE_DEFER) { in rockchip_spi_probe()
901 ctlr->dma_rx = NULL; in rockchip_spi_probe()
904 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
933 if (ctlr->dma_rx) in rockchip_spi_probe()
934 dma_release_channel(ctlr->dma_rx); in rockchip_spi_probe()
966 if (ctlr->dma_rx) in rockchip_spi_remove()
967 dma_release_channel(ctlr->dma_rx); in rockchip_spi_remove()