Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-stm32-ospi.c120 struct dma_chan *dma_chrx; member
298 if (dma_cfg && ospi->dma_chrx) { in stm32_ospi_dma_setup()
299 ret = dma_get_slave_caps(ospi->dma_chrx, &caps); in stm32_ospi_dma_setup()
305 if (dmaengine_slave_config(ospi->dma_chrx, dma_cfg)) { in stm32_ospi_dma_setup()
307 dma_release_channel(ospi->dma_chrx); in stm32_ospi_dma_setup()
308 ospi->dma_chrx = NULL; in stm32_ospi_dma_setup()
353 dma_ch = ospi->dma_chrx; in stm32_ospi_tx_dma()
413 else if (((op->data.dir == SPI_MEM_DATA_IN && ospi->dma_chrx) || in stm32_ospi_xfer()
828 ospi->dma_chrx = dma_request_chan(dev, "rx"); in stm32_ospi_get_resources()
829 if (IS_ERR(ospi->dma_chrx)) { in stm32_ospi_get_resources()
[all …]