Lines Matching refs:dma_rx
207 dmaengine_slave_config(master->dma_rx, &rxconf); in sun6i_spi_prepare_dma()
209 rxdesc = dmaengine_prep_slave_sg(master->dma_rx, in sun6i_spi_prepare_dma()
236 dmaengine_terminate_sync(master->dma_rx); in sun6i_spi_prepare_dma()
243 dma_async_issue_pending(master->dma_rx); in sun6i_spi_prepare_dma()
441 dmaengine_terminate_sync(master->dma_rx); in sun6i_spi_transfer_one()
633 master->dma_rx = dma_request_chan(&pdev->dev, "rx"); in sun6i_spi_probe()
634 if (IS_ERR(master->dma_rx)) { in sun6i_spi_probe()
635 if (PTR_ERR(master->dma_rx) == -EPROBE_DEFER) { in sun6i_spi_probe()
640 master->dma_rx = NULL; in sun6i_spi_probe()
643 if (master->dma_tx && master->dma_rx) { in sun6i_spi_probe()
676 if (master->dma_rx) in sun6i_spi_probe()
677 dma_release_channel(master->dma_rx); in sun6i_spi_probe()
694 if (master->dma_rx) in sun6i_spi_remove()
695 dma_release_channel(master->dma_rx); in sun6i_spi_remove()