Lines Matching full:dma_rx
323 * @dma_rx: dma channel for RX transfer
356 struct dma_chan *dma_rx; member
838 if (spi->cur_usedma && spi->dma_rx) in stm32fx_spi_disable()
839 dmaengine_terminate_async(spi->dma_rx); in stm32fx_spi_disable()
881 if (spi->cur_usedma && spi->dma_rx) in stm32h7_spi_disable()
882 dmaengine_terminate_async(spi->dma_rx); in stm32h7_spi_disable()
1440 if (spi->rx_buf && spi->dma_rx) { in stm32_spi_transfer_one_dma()
1441 stm32_spi_dma_config(spi, spi->dma_rx, &rx_dma_conf, DMA_DEV_TO_MEM); in stm32_spi_transfer_one_dma()
1442 dmaengine_slave_config(spi->dma_rx, &rx_dma_conf); in stm32_spi_transfer_one_dma()
1449 spi->dma_rx, xfer->rx_sg.sgl, in stm32_spi_transfer_one_dma()
1468 (spi->rx_buf && spi->dma_rx && !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1483 dma_async_issue_pending(spi->dma_rx); in stm32_spi_transfer_one_dma()
1512 if (spi->dma_rx) in stm32_spi_transfer_one_dma()
1513 dmaengine_terminate_sync(spi->dma_rx); in stm32_spi_transfer_one_dma()
2207 spi->dma_rx = dma_request_chan(spi->dev, "rx"); in stm32_spi_probe()
2208 if (IS_ERR(spi->dma_rx)) { in stm32_spi_probe()
2209 ret = PTR_ERR(spi->dma_rx); in stm32_spi_probe()
2210 spi->dma_rx = NULL; in stm32_spi_probe()
2216 ctrl->dma_rx = spi->dma_rx; in stm32_spi_probe()
2219 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
2252 if (spi->dma_rx) in stm32_spi_probe()
2253 dma_release_channel(spi->dma_rx); in stm32_spi_probe()
2277 if (ctrl->dma_rx) in stm32_spi_remove()
2278 dma_release_channel(ctrl->dma_rx); in stm32_spi_remove()