Lines Matching refs:dma_rx
308 struct dma_chan *dma_rx; member
661 if (spi->cur_usedma && spi->dma_rx) in stm32f4_spi_disable()
662 dmaengine_terminate_all(spi->dma_rx); in stm32f4_spi_disable()
700 if (spi->cur_usedma && spi->dma_rx) in stm32h7_spi_disable()
701 dmaengine_terminate_all(spi->dma_rx); in stm32h7_spi_disable()
1231 if (spi->rx_buf && spi->dma_rx) { in stm32_spi_transfer_one_dma()
1233 dmaengine_slave_config(spi->dma_rx, &rx_dma_conf); in stm32_spi_transfer_one_dma()
1240 spi->dma_rx, xfer->rx_sg.sgl, in stm32_spi_transfer_one_dma()
1259 (spi->rx_buf && spi->dma_rx && !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1274 dma_async_issue_pending(spi->dma_rx); in stm32_spi_transfer_one_dma()
1303 if (spi->dma_rx) in stm32_spi_transfer_one_dma()
1304 dmaengine_terminate_all(spi->dma_rx); in stm32_spi_transfer_one_dma()
1871 spi->dma_rx = dma_request_chan(spi->dev, "rx"); in stm32_spi_probe()
1872 if (IS_ERR(spi->dma_rx)) { in stm32_spi_probe()
1873 ret = PTR_ERR(spi->dma_rx); in stm32_spi_probe()
1874 spi->dma_rx = NULL; in stm32_spi_probe()
1880 master->dma_rx = spi->dma_rx; in stm32_spi_probe()
1883 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
1915 if (spi->dma_rx) in stm32_spi_probe()
1916 dma_release_channel(spi->dma_rx); in stm32_spi_probe()
1940 if (master->dma_rx) in stm32_spi_remove()
1941 dma_release_channel(master->dma_rx); in stm32_spi_remove()