Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-stm32-ospi.c123 struct dma_chan *dma_chrx; member
284 if (dma_cfg && ospi->dma_chrx) { in stm32_ospi_dma_setup()
285 if (dmaengine_slave_config(ospi->dma_chrx, dma_cfg)) { in stm32_ospi_dma_setup()
287 dma_release_channel(ospi->dma_chrx); in stm32_ospi_dma_setup()
288 ospi->dma_chrx = NULL; in stm32_ospi_dma_setup()
325 dma_ch = ospi->dma_chrx; in stm32_ospi_tx_dma()
385 else if (((op->data.dir == SPI_MEM_DATA_IN && ospi->dma_chrx) || in stm32_ospi_xfer()
805 ospi->dma_chrx = dma_request_chan(dev, "rx"); in stm32_ospi_get_resources()
806 if (IS_ERR(ospi->dma_chrx)) { in stm32_ospi_get_resources()
807 ret = PTR_ERR(ospi->dma_chrx); in stm32_ospi_get_resources()
[all …]
H A Dspi-stm32-qspi.c115 struct dma_chan *dma_chrx; member
226 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma()
284 else if (((op->data.dir == SPI_MEM_DATA_IN && qspi->dma_chrx) || in stm32_qspi_tx()
703 qspi->dma_chrx = dma_request_chan(dev, "rx"); in stm32_qspi_dma_setup()
704 if (IS_ERR(qspi->dma_chrx)) { in stm32_qspi_dma_setup()
705 ret = PTR_ERR(qspi->dma_chrx); in stm32_qspi_dma_setup()
706 qspi->dma_chrx = NULL; in stm32_qspi_dma_setup()
710 if (dmaengine_slave_config(qspi->dma_chrx, &dma_cfg)) { in stm32_qspi_dma_setup()
712 dma_release_channel(qspi->dma_chrx); in stm32_qspi_dma_setup()
713 qspi->dma_chrx = NULL; in stm32_qspi_dma_setup()
[all …]