Home
last modified time | relevance | path

Searched refs:dma_chtx (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-stm32-qspi.c114 struct dma_chan *dma_chtx; member
229 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma()
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()
[all …]