Lines Matching full:dma_rx
287 * @dma_rx: dma channel for RX transfer
315 struct dma_chan *dma_rx; member
691 if (spi->cur_usedma && spi->dma_rx) in stm32f4_spi_disable()
692 dmaengine_terminate_all(spi->dma_rx); in stm32f4_spi_disable()
755 if (spi->cur_usedma && spi->dma_rx) in stm32h7_spi_disable()
756 dmaengine_terminate_all(spi->dma_rx); in stm32h7_spi_disable()
1294 if (spi->rx_buf && spi->dma_rx) { in stm32_spi_transfer_one_dma()
1296 dmaengine_slave_config(spi->dma_rx, &rx_dma_conf); in stm32_spi_transfer_one_dma()
1303 spi->dma_rx, xfer->rx_sg.sgl, in stm32_spi_transfer_one_dma()
1322 (spi->rx_buf && spi->dma_rx && !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1337 dma_async_issue_pending(spi->dma_rx); in stm32_spi_transfer_one_dma()
1366 if (spi->dma_rx) in stm32_spi_transfer_one_dma()
1367 dmaengine_terminate_all(spi->dma_rx); in stm32_spi_transfer_one_dma()
1937 spi->dma_rx = dma_request_chan(spi->dev, "rx"); in stm32_spi_probe()
1938 if (IS_ERR(spi->dma_rx)) { in stm32_spi_probe()
1939 ret = PTR_ERR(spi->dma_rx); in stm32_spi_probe()
1940 spi->dma_rx = NULL; in stm32_spi_probe()
1946 master->dma_rx = spi->dma_rx; in stm32_spi_probe()
1949 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
1980 if (spi->dma_rx) in stm32_spi_probe()
1981 dma_release_channel(spi->dma_rx); in stm32_spi_probe()
2003 if (master->dma_rx) in stm32_spi_remove()
2004 dma_release_channel(master->dma_rx); in stm32_spi_remove()