Lines Matching full:dma_tx
280 * @dma_tx: dma channel for TX transfer
307 struct dma_chan *dma_tx; member
659 if (spi->cur_usedma && spi->dma_tx) in stm32f4_spi_disable()
660 dmaengine_terminate_all(spi->dma_tx); in stm32f4_spi_disable()
698 if (spi->cur_usedma && spi->dma_tx) in stm32h7_spi_disable()
699 dmaengine_terminate_all(spi->dma_tx); in stm32h7_spi_disable()
1247 if (spi->tx_buf && spi->dma_tx) { in stm32_spi_transfer_one_dma()
1249 dmaengine_slave_config(spi->dma_tx, &tx_dma_conf); in stm32_spi_transfer_one_dma()
1252 spi->dma_tx, xfer->tx_sg.sgl, in stm32_spi_transfer_one_dma()
1258 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) || in stm32_spi_transfer_one_dma()
1289 dma_async_issue_pending(spi->dma_tx); in stm32_spi_transfer_one_dma()
1859 spi->dma_tx = dma_request_chan(spi->dev, "tx"); in stm32_spi_probe()
1860 if (IS_ERR(spi->dma_tx)) { in stm32_spi_probe()
1861 ret = PTR_ERR(spi->dma_tx); in stm32_spi_probe()
1862 spi->dma_tx = NULL; in stm32_spi_probe()
1868 master->dma_tx = spi->dma_tx; in stm32_spi_probe()
1883 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
1913 if (spi->dma_tx) in stm32_spi_probe()
1914 dma_release_channel(spi->dma_tx); in stm32_spi_probe()
1938 if (master->dma_tx) in stm32_spi_remove()
1939 dma_release_channel(master->dma_tx); in stm32_spi_remove()