Lines Matching full:dma_tx
309 if (!host->dma_rx || !host->dma_tx) in pic32_spi_dma_transfer()
322 desc_tx = dmaengine_prep_slave_sg(host->dma_tx, in pic32_spi_dma_transfer()
347 dma_async_issue_pending(host->dma_tx); in pic32_spi_dma_transfer()
374 ret = dmaengine_slave_config(host->dma_tx, &cfg); in pic32_spi_dma_config()
553 dmaengine_terminate_all(host->dma_tx); in pic32_spi_one_transfer()
622 host->dma_tx = dma_request_chan(dev, "spi-tx"); in pic32_spi_dma_prep()
623 if (IS_ERR(host->dma_tx)) { in pic32_spi_dma_prep()
624 if (PTR_ERR(host->dma_tx) == -EPROBE_DEFER) in pic32_spi_dma_prep()
629 host->dma_tx = NULL; in pic32_spi_dma_prep()
647 if (host->dma_tx) { in pic32_spi_dma_prep()
648 dma_release_channel(host->dma_tx); in pic32_spi_dma_prep()
649 host->dma_tx = NULL; in pic32_spi_dma_prep()
664 if (pic32s->host->dma_tx) in pic32_spi_dma_unprep()
665 dma_release_channel(pic32s->host->dma_tx); in pic32_spi_dma_unprep()