Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_smartbond.c65 const struct device *tx_dma_ctrl; 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()
800 if (config->rx_dma_ctrl && config->tx_dma_ctrl) { in spi_smartbond_dma_deconfig()
802 dma_stop(config->tx_dma_ctrl, config->tx_dma_chan); in spi_smartbond_dma_deconfig()
836 if (!device_is_ready(config->tx_dma_ctrl) || 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 …]