Lines Matching full:dma_rx
284 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err()
457 dmaengine_slave_config(ctlr->dma_rx, &rxconf); in rockchip_spi_prepare_dma()
460 ctlr->dma_rx, in rockchip_spi_prepare_dma()
487 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_prepare_dma()
498 ctlr->dma_rx->cookie = dmaengine_submit(rxdesc); in rockchip_spi_prepare_dma()
499 dma_async_issue_pending(ctlr->dma_rx); in rockchip_spi_prepare_dma()
617 dmaengine_pause(ctlr->dma_rx); in rockchip_spi_target_abort()
618 status = dmaengine_tx_status(ctlr->dma_rx, ctlr->dma_rx->cookie, &state); in rockchip_spi_target_abort()
648 dmaengine_terminate_sync(ctlr->dma_rx); in rockchip_spi_target_abort()
873 ctlr->dma_rx = dma_request_chan(rs->dev, "rx"); in rockchip_spi_probe()
874 if (IS_ERR(ctlr->dma_rx)) { in rockchip_spi_probe()
875 if (PTR_ERR(ctlr->dma_rx) == -EPROBE_DEFER) { in rockchip_spi_probe()
880 ctlr->dma_rx = NULL; in rockchip_spi_probe()
883 if (ctlr->dma_tx && ctlr->dma_rx) { in rockchip_spi_probe()
912 if (ctlr->dma_rx) in rockchip_spi_probe()
913 dma_release_channel(ctlr->dma_rx); in rockchip_spi_probe()
937 if (ctlr->dma_rx) in rockchip_spi_remove()
938 dma_release_channel(ctlr->dma_rx); in rockchip_spi_remove()