Lines Matching refs:dma_tx
314 struct dma_chan *dma_tx; member
689 if (spi->cur_usedma && spi->dma_tx) in stm32f4_spi_disable()
690 dmaengine_terminate_all(spi->dma_tx); in stm32f4_spi_disable()
753 if (spi->cur_usedma && spi->dma_tx) in stm32h7_spi_disable()
754 dmaengine_terminate_all(spi->dma_tx); in stm32h7_spi_disable()
1310 if (spi->tx_buf && spi->dma_tx) { in stm32_spi_transfer_one_dma()
1312 dmaengine_slave_config(spi->dma_tx, &tx_dma_conf); in stm32_spi_transfer_one_dma()
1315 spi->dma_tx, xfer->tx_sg.sgl, in stm32_spi_transfer_one_dma()
1321 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) || in stm32_spi_transfer_one_dma()
1352 dma_async_issue_pending(spi->dma_tx); in stm32_spi_transfer_one_dma()
1925 spi->dma_tx = dma_request_chan(spi->dev, "tx"); in stm32_spi_probe()
1926 if (IS_ERR(spi->dma_tx)) { in stm32_spi_probe()
1927 ret = PTR_ERR(spi->dma_tx); in stm32_spi_probe()
1928 spi->dma_tx = NULL; in stm32_spi_probe()
1934 master->dma_tx = spi->dma_tx; in stm32_spi_probe()
1949 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
1978 if (spi->dma_tx) in stm32_spi_probe()
1979 dma_release_channel(spi->dma_tx); in stm32_spi_probe()
2001 if (master->dma_tx) in stm32_spi_remove()
2002 dma_release_channel(master->dma_tx); in stm32_spi_remove()