/Zephyr-Core-2.7.6/drivers/i2s/ |
D | i2s_cavs.c | 78 const struct device *dev_dma; member 142 dma_reload(dev_cfg->dev_dma, strm->dma_channel, in i2s_dma_tx_callback() 145 dma_start(dev_cfg->dev_dma, strm->dma_channel); in i2s_dma_tx_callback() 159 i2s_tx_stream_disable(dev_data, ssp, dev_cfg->dev_dma); in i2s_dma_tx_callback() 165 i2s_tx_stream_disable(dev_data, ssp, dev_cfg->dev_dma); in i2s_dma_tx_callback() 202 i2s_rx_stream_disable(dev_data, ssp, dev_cfg->dev_dma); in i2s_dma_rx_callback() 215 dma_reload(dev_cfg->dev_dma, strm->dma_channel, in i2s_dma_rx_callback() 218 dma_start(dev_cfg->dev_dma, strm->dma_channel); in i2s_dma_rx_callback() 223 i2s_rx_stream_disable(dev_data, ssp, dev_cfg->dev_dma); in i2s_dma_rx_callback() 461 ret = dma_config(dev_cfg->dev_dma, dev_data->tx.dma_channel, in i2s_cavs_configure() [all …]
|
D | i2s_sam_ssc.c | 67 const struct device *dev_dma; member 169 static int reload_dma(const struct device *dev_dma, uint32_t channel, in reload_dma() argument 174 ret = dma_reload(dev_dma, channel, (uint32_t)src, (uint32_t)dst, size); in reload_dma() 179 ret = dma_start(dev_dma, channel); in reload_dma() 184 static int start_dma(const struct device *dev_dma, uint32_t channel, in start_dma() argument 198 ret = dma_config(dev_dma, channel, cfg); in start_dma() 203 ret = dma_start(dev_dma, channel); in start_dma() 254 ret = reload_dma(dev_cfg->dev_dma, stream->dma_channel, in dma_rx_callback() 265 rx_stream_disable(stream, ssc, dev_cfg->dev_dma); in dma_rx_callback() 315 ret = reload_dma(dev_cfg->dev_dma, stream->dma_channel, in dma_tx_callback() [all …]
|
D | i2s_mcux_flexcomm.c | 32 const struct device *dev_dma; member 290 dma_stop(stream->dev_dma, stream->channel); in i2s_mcux_tx_stream_disable() 331 dma_stop(stream->dev_dma, stream->channel); in i2s_mcux_rx_stream_disable() 393 dma_config(stream->dev_dma, stream->channel, &stream->dma_cfg); in i2s_mcux_config_dma_blocks() 449 dma_start(stream->dev_dma, stream->channel); in i2s_mcux_dma_tx_callback() 518 dma_reload(stream->dev_dma, stream->channel, in i2s_mcux_dma_rx_callback() 527 dma_start(stream->dev_dma, stream->channel); in i2s_mcux_dma_rx_callback() 569 ret = dma_start(stream->dev_dma, stream->channel); in i2s_mcux_tx_stream_start() 624 ret = dma_start(stream->dev_dma, stream->channel); in i2s_mcux_rx_stream_start() 840 if (data->tx.dev_dma != NULL) { in i2s_mcux_init() [all …]
|
D | i2s_ll_stm32.c | 445 static int reload_dma(const struct device *dev_dma, uint32_t channel, in reload_dma() argument 451 ret = dma_reload(dev_dma, channel, (uint32_t)src, (uint32_t)dst, blk_size); in reload_dma() 456 ret = dma_start(dev_dma, channel); in reload_dma() 461 static int start_dma(const struct device *dev_dma, uint32_t channel, in start_dma() argument 488 ret = dma_config(dev_dma, channel, dcfg); in start_dma() 493 ret = dma_start(dev_dma, channel); in start_dma() 537 ret = reload_dma(stream->dev_dma, stream->dma_channel, in dma_rx_callback() 621 ret = reload_dma(stream->dev_dma, stream->dma_channel, in dma_tx_callback() 692 if (!device_is_ready(dev_data->tx.dev_dma)) { in i2s_stm32_initialize() 693 LOG_ERR("%s device not ready", dev_data->tx.dev_dma->name); in i2s_stm32_initialize() [all …]
|
D | i2s_ll_stm32.h | 84 const struct device *dev_dma; member
|
/Zephyr-Core-2.7.6/drivers/dma/ |
D | dmamux_stm32.c | 31 const struct device *dev_dma; member 119 if (dma_stm32_configure(dev_config->mux_channels[id].dev_dma, in dmamux_stm32_configure() 144 if (dma_stm32_start(dev_config->mux_channels[id].dev_dma, in dmamux_stm32_start() 163 if (dma_stm32_stop(dev_config->mux_channels[id].dev_dma, in dmamux_stm32_stop() 183 if (dma_stm32_reload(dev_config->mux_channels[id].dev_dma, in dmamux_stm32_reload() 204 if (dma_stm32_get_status(dev_config->mux_channels[id].dev_dma, in dmamux_stm32_get_status() 282 { .dev_dma = DEV_DMA_BINDING(x), .dma_id = DMA_CHANNEL(x), }, 284 { .dev_dma = 0, .dma_id = 0, },
|
/Zephyr-Core-2.7.6/drivers/adc/ |
D | adc_mcux_adc16.c | 61 const struct device *dev_dma; member 207 dma_stop(data->dev_dma, data->adc_dma_config.dma_channel); in start_read() 261 dma_start(data->dev_dma, data->adc_dma_config.dma_channel); in mcux_adc16_start_channel() 281 dma_config(data->dev_dma, data->adc_dma_config.dma_channel, in adc_context_start_sampling() 394 if (data->dev_dma == NULL || !device_is_ready(data->dev_dma)) { in mcux_adc16_init() 403 dma_request_channel(data->dev_dma, (void *)&adc_filter); in mcux_adc16_init() 408 dma_request_channel(data->dev_dma, (void *)&adc_filter); in mcux_adc16_init() 457 .dev_dma = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(n, adc##n)), \
|