Lines Matching full:dma_rx
356 if ((!host->dma_tx && !host->dma_rx) in uniphier_spi_can_dma()
358 || (!host->dma_rx && t->rx_buf)) in uniphier_spi_can_dma()
415 dmaengine_slave_config(host->dma_rx, &rxconf); in uniphier_spi_transfer_one_dma()
418 host->dma_rx, in uniphier_spi_transfer_one_dma()
431 dma_async_issue_pending(host->dma_rx); in uniphier_spi_transfer_one_dma()
466 dmaengine_terminate_sync(host->dma_rx); in uniphier_spi_transfer_one_dma()
595 dmaengine_terminate_async(host->dma_rx); in uniphier_spi_handle_err()
734 host->dma_rx = dma_request_chan(&pdev->dev, "rx"); in uniphier_spi_probe()
735 if (IS_ERR_OR_NULL(host->dma_rx)) { in uniphier_spi_probe()
736 if (PTR_ERR(host->dma_rx) == -EPROBE_DEFER) { in uniphier_spi_probe()
740 host->dma_rx = NULL; in uniphier_spi_probe()
743 ret = dma_get_slave_caps(host->dma_rx, &caps); in uniphier_spi_probe()
761 if (!IS_ERR_OR_NULL(host->dma_rx)) { in uniphier_spi_probe()
762 dma_release_channel(host->dma_rx); in uniphier_spi_probe()
763 host->dma_rx = NULL; in uniphier_spi_probe()
785 if (host->dma_rx) in uniphier_spi_remove()
786 dma_release_channel(host->dma_rx); in uniphier_spi_remove()