Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_smartbond.c61 int tx_dma_chan; member
712 if (dma_request_channel(config->tx_dma_ctrl, (void *)&config->tx_dma_chan) < 0) { in spi_smartbond_dma_tx_channel_request()
730 dma_release_channel(config->tx_dma_ctrl, config->tx_dma_chan); in spi_smartbond_dma_tx_channel_release()
802 dma_stop(config->tx_dma_ctrl, config->tx_dma_chan); in spi_smartbond_dma_deconfig()
824 if (!(config->tx_dma_chan & 0x1) || in spi_smartbond_dma_config()
826 (config->tx_dma_chan != (config->rx_dma_chan + 1))) { in spi_smartbond_dma_config()
948 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
957 dma_start(config->tx_dma_ctrl, config->tx_dma_chan); in spi_smartbond_dma_trigger()
973 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
977 dma_start(config->tx_dma_ctrl, config->tx_dma_chan); in spi_smartbond_dma_trigger()
[all …]
Dspi_esp32_spim.c201 data->hal_config.tx_dma_chan = cfg->dma_host + channel_offset; in spi_esp32_init_dma()