Home
last modified time | relevance | path

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

/linux-6.15/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()
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()
813 if (IS_ERR(ospi->dma_chrx)) { in stm32_ospi_get_resources()
814 ret = PTR_ERR(ospi->dma_chrx); in stm32_ospi_get_resources()
815 ospi->dma_chrx = NULL; in stm32_ospi_get_resources()
862 if (ospi->dma_chrx) in stm32_ospi_get_resources()
965 if (ospi->dma_chrx) in stm32_ospi_probe()
[all …]
H A Dspi-stm32-qspi.c115 struct dma_chan *dma_chrx; member
226 dma_ch = qspi->dma_chrx; in stm32_qspi_tx_dma()
708 qspi->dma_chrx = dma_request_chan(dev, "rx"); in stm32_qspi_dma_setup()
709 if (IS_ERR(qspi->dma_chrx)) { in stm32_qspi_dma_setup()
710 ret = PTR_ERR(qspi->dma_chrx); in stm32_qspi_dma_setup()
711 qspi->dma_chrx = NULL; in stm32_qspi_dma_setup()
715 if (dmaengine_slave_config(qspi->dma_chrx, &dma_cfg)) { in stm32_qspi_dma_setup()
717 dma_release_channel(qspi->dma_chrx); in stm32_qspi_dma_setup()
718 qspi->dma_chrx = NULL; in stm32_qspi_dma_setup()
747 if (qspi->dma_chrx) in stm32_qspi_dma_free()
[all …]