Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_smartbond.c62 int rx_dma_chan; member
742 if (dma_request_channel(config->rx_dma_ctrl, (void *)&config->rx_dma_chan) < 0) { in spi_smartbond_dma_rx_channel_request()
760 dma_release_channel(config->rx_dma_ctrl, config->rx_dma_chan); in spi_smartbond_dma_rx_channel_release()
801 dma_stop(config->rx_dma_ctrl, config->rx_dma_chan); in spi_smartbond_dma_deconfig()
825 (config->rx_dma_chan & 0x1) || in spi_smartbond_dma_config()
826 (config->tx_dma_chan != (config->rx_dma_chan + 1))) { in spi_smartbond_dma_config()
952 if (dma_config(config->rx_dma_ctrl, config->rx_dma_chan, rx) < 0) { in spi_smartbond_dma_trigger()
956 dma_start(config->rx_dma_ctrl, config->rx_dma_chan); in spi_smartbond_dma_trigger()
1014 if (dma_config(config->rx_dma_ctrl, config->rx_dma_chan, rx) < 0) { in spi_smartbond_dma_trigger()
1018 dma_start(config->rx_dma_ctrl, config->rx_dma_chan); in spi_smartbond_dma_trigger()
[all …]
Dspi_esp32_spim.c202 data->hal_config.rx_dma_chan = cfg->dma_host + channel_offset; in spi_esp32_init_dma()