Lines Matching full:dma_tx
329 * @dma_tx: dma channel for TX transfer
367 struct dma_chan *dma_tx; member
856 if (spi->cur_usedma && spi->dma_tx) in stm32fx_spi_disable()
857 dmaengine_terminate_async(spi->dma_tx); in stm32fx_spi_disable()
899 if (spi->cur_usedma && spi->dma_tx) in stm32h7_spi_disable()
900 dmaengine_terminate_async(spi->dma_tx); in stm32h7_spi_disable()
1617 if (spi->tx_buf && spi->dma_tx) { in stm32_spi_transfer_one_dma()
1618 stm32_spi_dma_config(spi, spi->dma_tx, &tx_dma_conf, DMA_MEM_TO_DEV); in stm32_spi_transfer_one_dma()
1619 dmaengine_slave_config(spi->dma_tx, &tx_dma_conf); in stm32_spi_transfer_one_dma()
1620 tx_dma_desc = dmaengine_prep_slave_sg(spi->dma_tx, xfer->tx_sg.sgl, in stm32_spi_transfer_one_dma()
1626 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) || in stm32_spi_transfer_one_dma()
1673 dma_async_issue_pending(spi->dma_tx); in stm32_spi_transfer_one_dma()
2406 spi->dma_tx = dma_request_chan(spi->dev, "tx"); in stm32_spi_probe()
2407 if (IS_ERR(spi->dma_tx)) { in stm32_spi_probe()
2408 ret = PTR_ERR(spi->dma_tx); in stm32_spi_probe()
2409 spi->dma_tx = NULL; in stm32_spi_probe()
2415 ctrl->dma_tx = spi->dma_tx; in stm32_spi_probe()
2430 if (spi->dma_tx || spi->dma_rx) in stm32_spi_probe()
2494 if (spi->dma_tx) in stm32_spi_probe()
2495 dma_release_channel(spi->dma_tx); in stm32_spi_probe()
2519 if (ctrl->dma_tx) in stm32_spi_remove()
2520 dma_release_channel(ctrl->dma_tx); in stm32_spi_remove()