Lines Matching refs:dev_dma
35 const struct device *dev_dma; member
344 dma_stop(stream->dev_dma, stream->channel); in i2s_mcux_tx_stream_disable()
385 dma_stop(stream->dev_dma, stream->channel); in i2s_mcux_rx_stream_disable()
446 dma_config(stream->dev_dma, stream->channel, &stream->dma_cfg); in i2s_mcux_config_dma_blocks()
505 dma_start(stream->dev_dma, stream->channel); in i2s_mcux_dma_tx_callback()
574 dma_reload(stream->dev_dma, stream->channel, in i2s_mcux_dma_rx_callback()
583 dma_start(stream->dev_dma, stream->channel); in i2s_mcux_dma_rx_callback()
627 ret = dma_start(stream->dev_dma, stream->channel); in i2s_mcux_tx_stream_start()
683 ret = dma_start(stream->dev_dma, stream->channel); in i2s_mcux_rx_stream_start()
908 if (data->tx.dev_dma != NULL) { in i2s_mcux_init()
909 if (!device_is_ready(data->tx.dev_dma)) { in i2s_mcux_init()
910 LOG_ERR("%s device not ready", data->tx.dev_dma->name); in i2s_mcux_init()
915 if (data->rx.dev_dma != NULL) { in i2s_mcux_init()
916 if (!device_is_ready(data->rx.dev_dma)) { in i2s_mcux_init()
917 LOG_ERR("%s device not ready", data->rx.dev_dma->name); in i2s_mcux_init()
932 .dev_dma = UTIL_AND( \
945 .dev_dma = UTIL_AND( \