Lines Matching refs:dma_rx
309 if (!master->dma_rx || !master->dma_tx) in pic32_spi_dma_transfer()
312 desc_rx = dmaengine_prep_slave_sg(master->dma_rx, in pic32_spi_dma_transfer()
346 dma_async_issue_pending(master->dma_rx); in pic32_spi_dma_transfer()
352 dmaengine_terminate_all(master->dma_rx); in pic32_spi_dma_transfer()
383 ret = dmaengine_slave_config(master->dma_rx, &cfg); in pic32_spi_dma_config()
554 dmaengine_terminate_all(master->dma_rx); in pic32_spi_one_transfer()
615 master->dma_rx = dma_request_chan(dev, "spi-rx"); in pic32_spi_dma_prep()
616 if (IS_ERR(master->dma_rx)) { in pic32_spi_dma_prep()
617 if (PTR_ERR(master->dma_rx) == -EPROBE_DEFER) in pic32_spi_dma_prep()
622 master->dma_rx = NULL; in pic32_spi_dma_prep()
646 if (master->dma_rx) { in pic32_spi_dma_prep()
647 dma_release_channel(master->dma_rx); in pic32_spi_dma_prep()
648 master->dma_rx = NULL; in pic32_spi_dma_prep()
665 if (pic32s->master->dma_rx) in pic32_spi_dma_unprep()
666 dma_release_channel(pic32s->master->dma_rx); in pic32_spi_dma_unprep()