Lines Matching full:dma_rx

330  * @dma_rx: dma channel for RX transfer
368 struct dma_chan *dma_rx; member
858 if (spi->cur_usedma && spi->dma_rx) in stm32fx_spi_disable()
859 dmaengine_terminate_async(spi->dma_rx); in stm32fx_spi_disable()
901 if (spi->cur_usedma && spi->dma_rx) { in stm32h7_spi_disable()
902 dmaengine_terminate_async(spi->dma_rx); in stm32h7_spi_disable()
1141 dmaengine_pause(spi->dma_rx); in stm32h7_spi_irq_thread()
1529 _dma_desc = dmaengine_prep_slave_sg(spi->dma_rx, dma_sgt.sgl, in stm32_spi_prepare_rx_dma_mdma_chaining()
1595 if (spi->rx_buf && spi->dma_rx) { in stm32_spi_transfer_one_dma()
1596 stm32_spi_dma_config(spi, spi->dma_rx, &rx_dma_conf, DMA_DEV_TO_MEM); in stm32_spi_transfer_one_dma()
1599 dmaengine_slave_config(spi->dma_rx, &rx_dma_conf); in stm32_spi_transfer_one_dma()
1609 dmaengine_slave_config(spi->dma_rx, &rx_dma_conf); in stm32_spi_transfer_one_dma()
1610 rx_dma_desc = dmaengine_prep_slave_sg(spi->dma_rx, xfer->rx_sg.sgl, in stm32_spi_transfer_one_dma()
1627 (spi->rx_buf && spi->dma_rx && !rx_dma_desc)) in stm32_spi_transfer_one_dma()
1658 dma_async_issue_pending(spi->dma_rx); in stm32_spi_transfer_one_dma()
1689 if (spi->dma_rx) in stm32_spi_transfer_one_dma()
1690 dmaengine_terminate_sync(spi->dma_rx); in stm32_spi_transfer_one_dma()
2418 spi->dma_rx = dma_request_chan(spi->dev, "rx"); in stm32_spi_probe()
2419 if (IS_ERR(spi->dma_rx)) { in stm32_spi_probe()
2420 ret = PTR_ERR(spi->dma_rx); in stm32_spi_probe()
2421 spi->dma_rx = NULL; in stm32_spi_probe()
2427 ctrl->dma_rx = spi->dma_rx; in stm32_spi_probe()
2430 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
2496 if (spi->dma_rx) in stm32_spi_probe()
2497 dma_release_channel(spi->dma_rx); in stm32_spi_probe()
2521 if (ctrl->dma_rx) in stm32_spi_remove()
2522 dma_release_channel(ctrl->dma_rx); in stm32_spi_remove()