Lines Matching refs:dma_chtx
114 struct dma_chan *dma_chtx; member
229 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma()
285 (op->data.dir == SPI_MEM_DATA_OUT && qspi->dma_chtx)) && in stm32_qspi_tx()
727 qspi->dma_chtx = dma_request_chan(dev, "tx"); in stm32_qspi_dma_setup()
728 if (IS_ERR(qspi->dma_chtx)) { in stm32_qspi_dma_setup()
729 ret = PTR_ERR(qspi->dma_chtx); in stm32_qspi_dma_setup()
730 qspi->dma_chtx = NULL; in stm32_qspi_dma_setup()
732 if (dmaengine_slave_config(qspi->dma_chtx, &dma_cfg)) { in stm32_qspi_dma_setup()
734 dma_release_channel(qspi->dma_chtx); in stm32_qspi_dma_setup()
735 qspi->dma_chtx = NULL; in stm32_qspi_dma_setup()
750 if (qspi->dma_chtx) in stm32_qspi_dma_free()
751 dma_release_channel(qspi->dma_chtx); in stm32_qspi_dma_free()