Home
last modified time | relevance | path

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

/linux-6.15/drivers/spi/
H A Dspi-stm32-ospi.c122 struct dma_chan *dma_chtx; member
292 if (dma_cfg && ospi->dma_chtx) { in stm32_ospi_dma_setup()
295 dma_release_channel(ospi->dma_chtx); in stm32_ospi_dma_setup()
296 ospi->dma_chtx = NULL; in stm32_ospi_dma_setup()
328 dma_ch = ospi->dma_chtx; in stm32_ospi_tx_dma()
821 if (IS_ERR(ospi->dma_chtx)) { in stm32_ospi_get_resources()
822 ret = PTR_ERR(ospi->dma_chtx); in stm32_ospi_get_resources()
823 ospi->dma_chtx = NULL; in stm32_ospi_get_resources()
860 if (ospi->dma_chtx) in stm32_ospi_get_resources()
963 if (ospi->dma_chtx) in stm32_ospi_probe()
[all …]
H A Dspi-stm32-qspi.c114 struct dma_chan *dma_chtx; member
229 dma_ch = qspi->dma_chtx; in stm32_qspi_tx_dma()
722 qspi->dma_chtx = dma_request_chan(dev, "tx"); in stm32_qspi_dma_setup()
723 if (IS_ERR(qspi->dma_chtx)) { in stm32_qspi_dma_setup()
724 ret = PTR_ERR(qspi->dma_chtx); in stm32_qspi_dma_setup()
725 qspi->dma_chtx = NULL; in stm32_qspi_dma_setup()
727 if (dmaengine_slave_config(qspi->dma_chtx, &dma_cfg)) { in stm32_qspi_dma_setup()
729 dma_release_channel(qspi->dma_chtx); in stm32_qspi_dma_setup()
730 qspi->dma_chtx = NULL; in stm32_qspi_dma_setup()
745 if (qspi->dma_chtx) in stm32_qspi_dma_free()
[all …]