Lines Matching full:dma_rx
309 if (!host->dma_rx || !host->dma_tx) in pic32_spi_dma_transfer()
312 desc_rx = dmaengine_prep_slave_sg(host->dma_rx, in pic32_spi_dma_transfer()
346 dma_async_issue_pending(host->dma_rx); in pic32_spi_dma_transfer()
352 dmaengine_terminate_all(host->dma_rx); in pic32_spi_dma_transfer()
381 ret = dmaengine_slave_config(host->dma_rx, &cfg); in pic32_spi_dma_config()
552 dmaengine_terminate_all(host->dma_rx); in pic32_spi_one_transfer()
611 host->dma_rx = dma_request_chan(dev, "spi-rx"); in pic32_spi_dma_prep()
612 if (IS_ERR(host->dma_rx)) { in pic32_spi_dma_prep()
613 if (PTR_ERR(host->dma_rx) == -EPROBE_DEFER) in pic32_spi_dma_prep()
618 host->dma_rx = NULL; in pic32_spi_dma_prep()
642 if (host->dma_rx) { in pic32_spi_dma_prep()
643 dma_release_channel(host->dma_rx); in pic32_spi_dma_prep()
644 host->dma_rx = NULL; in pic32_spi_dma_prep()
661 if (pic32s->host->dma_rx) in pic32_spi_dma_unprep()
662 dma_release_channel(pic32s->host->dma_rx); in pic32_spi_dma_unprep()