Lines Matching full:dma_tx
356 if ((!host->dma_tx && !host->dma_rx) in uniphier_spi_can_dma()
357 || (!host->dma_tx && t->tx_buf) in uniphier_spi_can_dma()
442 dmaengine_slave_config(host->dma_tx, &txconf); in uniphier_spi_transfer_one_dma()
445 host->dma_tx, in uniphier_spi_transfer_one_dma()
458 dma_async_issue_pending(host->dma_tx); in uniphier_spi_transfer_one_dma()
590 dmaengine_terminate_async(host->dma_tx); in uniphier_spi_handle_err()
716 host->dma_tx = dma_request_chan(&pdev->dev, "tx"); in uniphier_spi_probe()
717 if (IS_ERR_OR_NULL(host->dma_tx)) { in uniphier_spi_probe()
718 if (PTR_ERR(host->dma_tx) == -EPROBE_DEFER) { in uniphier_spi_probe()
722 host->dma_tx = NULL; in uniphier_spi_probe()
725 ret = dma_get_slave_caps(host->dma_tx, &caps); in uniphier_spi_probe()
765 if (!IS_ERR_OR_NULL(host->dma_tx)) { in uniphier_spi_probe()
766 dma_release_channel(host->dma_tx); in uniphier_spi_probe()
767 host->dma_tx = NULL; in uniphier_spi_probe()
783 if (host->dma_tx) in uniphier_spi_remove()
784 dma_release_channel(host->dma_tx); in uniphier_spi_remove()