Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-stm32-qspi.c115 struct dma_chan *dma_chrx; member
226 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma()
713 qspi->dma_chrx = dma_request_chan(dev, "rx"); in stm32_qspi_dma_setup()
714 if (IS_ERR(qspi->dma_chrx)) { in stm32_qspi_dma_setup()
715 ret = PTR_ERR(qspi->dma_chrx); in stm32_qspi_dma_setup()
716 qspi->dma_chrx = NULL; in stm32_qspi_dma_setup()
720 if (dmaengine_slave_config(qspi->dma_chrx, &dma_cfg)) { in stm32_qspi_dma_setup()
722 dma_release_channel(qspi->dma_chrx); in stm32_qspi_dma_setup()
723 qspi->dma_chrx = NULL; in stm32_qspi_dma_setup()
752 if (qspi->dma_chrx) in stm32_qspi_dma_free()
[all …]