/Zephyr-latest/drivers/i2s/ |
D | i2s_esp32.c | 40 const struct device *dma_dev; member 129 static void i2s_esp32_rx_callback(const struct device *dma_dev, void *arg, uint32_t channel, 131 static void i2s_esp32_tx_callback(const struct device *dma_dev, void *arg, uint32_t channel, 153 err = dma_reload(stream->dma_dev, stream->dma_channel, (uint32_t)src, (uint32_t)dst, in i2s_esp32_restart_dma() 164 err = dma_start(stream->dma_dev, stream->dma_channel); in i2s_esp32_restart_dma() 210 err = dma_config(stream->dma_dev, stream->dma_channel, &dma_cfg); in i2s_esp32_start_dma() 221 err = dma_start(stream->dma_dev, stream->dma_channel); in i2s_esp32_start_dma() 299 dma_stop(stream->dma_dev, stream->dma_channel); in i2s_esp32_rx_stop_transfer() 313 dma_stop(stream->dma_dev, stream->dma_channel); in i2s_esp32_tx_stop_transfer() 322 static void i2s_esp32_rx_callback(const struct device *dma_dev, void *arg, uint32_t channel, in i2s_esp32_rx_callback() argument [all …]
|
/Zephyr-latest/drivers/video/ |
D | video_mcux_smartdma.c | 22 const struct device *dma_dev; member 61 dma_stop(data->config->dma_dev, 0); in nxp_video_sdma_callback() 128 ret = dma_config(config->dma_dev, 0, &sdma_config); in nxp_video_sdma_stream_start() 137 ret = dma_start(config->dma_dev, 0); in nxp_video_sdma_stream_start() 150 return dma_stop(config->dma_dev, 0); in nxp_video_sdma_stream_stop() 210 dma_stop(config->dma_dev, 0); in nxp_video_sdma_flush() 328 if (!device_is_ready(config->dma_dev)) { in nxp_video_sdma_init() 350 dma_smartdma_install_fw(config->dma_dev, (uint8_t *)s_smartdmaCameraFirmware, in nxp_video_sdma_init() 374 .dma_dev = DEVICE_DT_GET(DT_INST_PARENT(inst)), \
|
D | video_esp32_dvp.c | 49 const struct device *dma_dev; member 86 ret = dma_reload(cfg->dma_dev, cfg->rx_dma_channel, 0, (uint32_t)data->active_vbuf->buffer, in video_esp32_reload_dma() 93 ret = dma_start(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_reload_dma() 152 error = dma_get_status(cfg->dma_dev, cfg->rx_dma_channel, &dma_status); in video_esp32_stream_start() 200 error = dma_config(cfg->dma_dev, cfg->rx_dma_channel, &dma_cfg); in video_esp32_stream_start() 206 error = dma_start(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_stream_start() 235 ret = dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_stream_stop() 391 if (!device_is_ready(cfg->dma_dev)) { in video_esp32_init() 422 .dma_dev = ESP32_DT_INST_DMA_CTLR(0, rx),
|
D | video_stm32_dcmi.c | 31 const struct device *dma_dev; member 119 if (!device_is_ready(config->dma.dma_dev)) { in stm32_dma_init() 120 LOG_ERR("%s DMA device not ready", config->dma.dma_dev->name); in stm32_dma_init() 140 ret = dma_config(config->dma.dma_dev, in stm32_dma_init() 395 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_IDX(index, 0)), \
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_spi_stm32.c | 149 const struct device *dma_dev; member 188 .dma_dev = DEVICE_DT_GET(DT_DMAS_CTLR_BY_NAME(id, dir)), \ 365 if ((hc_spi->dma_rx->dma_dev != NULL) && !device_is_ready(hc_spi->dma_rx->dma_dev)) { in spi_init() 366 LOG_ERR("%s device not ready", hc_spi->dma_rx->dma_dev->name); in spi_init() 370 if ((hc_spi->dma_tx->dma_dev != NULL) && !device_is_ready(hc_spi->dma_tx->dma_dev)) { in spi_init() 371 LOG_ERR("%s device not ready", hc_spi->dma_tx->dma_dev->name); in spi_init() 424 ret = dma_reload(hc_spi->dma_tx->dma_dev, hc_spi->dma_tx->channel, (uint32_t)hc_spi->tx_buf, in reload_dma_tx() 431 ret = dma_start(hc_spi->dma_tx->dma_dev, hc_spi->dma_tx->channel); in reload_dma_tx() 469 ret = dma_config(hc_spi->dma_tx->dma_dev, hc_spi->dma_tx->channel, &stream->dma_cfg); in spi_config_dma_tx() 485 ret = dma_reload(hc_spi->dma_rx->dma_dev, hc_spi->dma_rx->channel, dma_source_addr(spi), in reload_dma_rx() [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_xmc4xxx.c | 41 const struct device *dma_dev; member 443 if (dma_get_status(data->dma_rx.dma_dev, data->dma_rx.dma_channel, &stat) == 0) { in async_evt_rx_stopped() 525 if (dma_get_status(data->dma_rx.dma_dev, data->dma_rx.dma_channel, &stat) == 0) { in uart_xmc4xxx_async_rx_timeout() 552 if (!dma_get_status(data->dma_tx.dma_dev, data->dma_tx.dma_channel, &stat)) { in uart_xmc4xxx_async_tx_abort() 556 dma_stop(data->dma_tx.dma_dev, data->dma_tx.dma_channel); in uart_xmc4xxx_async_tx_abort() 582 if (data->dma_rx.dma_dev != NULL) { in uart_xmc4xxx_async_init() 583 if (!device_is_ready(data->dma_rx.dma_dev)) { in uart_xmc4xxx_async_init() 600 if (data->dma_tx.dma_dev != NULL) { in uart_xmc4xxx_async_init() 601 if (!device_is_ready(data->dma_tx.dma_dev)) { in uart_xmc4xxx_async_init() 647 if (data->dma_tx.dma_dev == NULL) { in uart_xmc4xxx_async_tx() [all …]
|
D | uart_sam0.c | 50 const struct device *dma_dev; member 131 static void uart_sam0_dma_tx_done(const struct device *dma_dev, void *arg, in uart_sam0_dma_tx_done() argument 134 ARG_UNUSED(dma_dev); in uart_sam0_dma_tx_done() 165 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in uart_sam0_tx_halt() 169 if (dma_get_status(cfg->dma_dev, cfg->tx_dma_channel, &st) == 0) { in uart_sam0_tx_halt() 220 static void uart_sam0_dma_rx_done(const struct device *dma_dev, void *arg, in uart_sam0_dma_rx_done() argument 223 ARG_UNUSED(dma_dev); in uart_sam0_dma_rx_done() 275 dma_reload(cfg->dma_dev, cfg->rx_dma_channel, in uart_sam0_dma_rx_done() 293 dma_start(cfg->dma_dev, cfg->rx_dma_channel); in uart_sam0_dma_rx_done() 326 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in uart_sam0_rx_timeout() [all …]
|
D | uart_esp32.c | 88 const struct device *dma_dev; member 560 static void IRAM_ATTR uart_esp32_dma_rx_done(const struct device *dma_dev, void *user_data, in uart_esp32_dma_rx_done() argument 573 dma_reload(config->dma_dev, config->rx_dma_channel, 0, in uart_esp32_dma_rx_done() 576 dma_start(config->dma_dev, config->rx_dma_channel); in uart_esp32_dma_rx_done() 620 dma_reload(config->dma_dev, config->rx_dma_channel, 0, (uint32_t)data->async.rx_buf, in uart_esp32_dma_rx_done() 622 dma_start(config->dma_dev, config->rx_dma_channel); in uart_esp32_dma_rx_done() 629 static void IRAM_ATTR uart_esp32_dma_tx_done(const struct device *dma_dev, void *user_data, in uart_esp32_dma_tx_done() argument 662 err = dma_stop(config->dma_dev, config->tx_dma_channel); in uart_esp32_async_tx_abort() 751 err = dma_get_status(config->dma_dev, config->tx_dma_channel, &dma_status); in uart_esp32_async_tx() 775 err = dma_config(config->dma_dev, config->tx_dma_channel, &dma_cfg); in uart_esp32_async_tx() [all …]
|
D | uart_ns16550.c | 292 const struct device *dma_dev; member 305 const struct device *dma_dev; member 827 if (data->async.tx_dma_params.dma_dev != NULL) { 845 if (data->async.tx_dma_params.dma_dev != NULL) { 865 dma_intel_lpss_set_base(data->async.tx_dma_params.dma_dev, base); 866 dma_intel_lpss_setup(data->async.tx_dma_params.dma_dev); 1293 if (dev_data->async.tx_dma_params.dma_dev != NULL) { 1306 dma_intel_lpss_isr(dev_data->async.rx_dma_params.dma_dev); 1495 dma_get_status(dma_params->dma_dev, 1514 if (!device_is_ready(dma_params->dma_dev)) { [all …]
|
D | uart_mcux_lpuart.c | 42 const struct device *dma_dev; member 510 const int get_status_result = dma_get_status(config->rx_dma_config.dma_dev, in mcux_lpuart_async_rx_flush() 557 const int ret = dma_stop(config->rx_dma_config.dma_dev, in mcux_lpuart_rx_disable() 596 int ret = dma_config(config->rx_dma_config.dma_dev, in configure_and_start_rx_dma() 604 ret = dma_start(config->rx_dma_config.dma_dev, config->rx_dma_config.dma_channel); in configure_and_start_rx_dma() 626 dma_reload(config->rx_dma_config.dma_dev, config->rx_dma_config.dma_channel, in uart_mcux_lpuart_dma_replace_rx_buffer() 637 static void dma_callback(const struct device *dma_dev, void *callback_arg, uint32_t channel, in dma_callback() argument 647 const int get_status_result = dma_get_status(dma_dev, channel, &status); in dma_callback() 735 const int get_status_result = dma_get_status(config->tx_dma_config.dma_dev, in mcux_lpuart_tx() 757 ret = dma_config(config->tx_dma_config.dma_dev, in mcux_lpuart_tx() [all …]
|
D | uart_stm32.c | 1212 if (dma_get_status(data->dma_rx.dma_dev, in uart_stm32_dma_rx_flush() 1428 dma_stop(data->dma_rx.dma_dev, data->dma_rx.dma_channel); in uart_stm32_async_rx_disable() 1451 void uart_stm32_dma_tx_cb(const struct device *dma_dev, void *user_data, in uart_stm32_dma_tx_cb() argument 1464 if (!dma_get_status(data->dma_tx.dma_dev, in uart_stm32_dma_tx_cb() 1494 dma_reload(data->dma_rx.dma_dev, data->dma_rx.dma_channel, in uart_stm32_dma_replace_buffer() 1499 dma_start(data->dma_rx.dma_dev, data->dma_rx.dma_channel); in uart_stm32_dma_replace_buffer() 1507 void uart_stm32_dma_rx_cb(const struct device *dma_dev, void *user_data, in uart_stm32_dma_rx_cb() argument 1552 if (data->dma_tx.dma_dev == NULL) { in uart_stm32_async_tx() 1583 ret = dma_config(data->dma_tx.dma_dev, data->dma_tx.dma_channel, in uart_stm32_async_tx() 1591 if (dma_start(data->dma_tx.dma_dev, data->dma_tx.dma_channel)) { in uart_stm32_async_tx() [all …]
|
D | uart_stm32.h | 69 const struct device *dma_dev; member
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_dspi.c | 31 const struct device *dma_dev; member 113 ret = dma_start(data->tx_dma_config.dma_dev, in spi_mcux_transfer_next_packet() 127 ret = dma_start(data->rx_dma_config.dma_dev, in spi_mcux_transfer_next_packet() 143 dma_start(data->tx_dma_config.dma_dev, data->tx_dma_config.dma_channel); in spi_mcux_transfer_next_packet() 218 dma_start(data->rx_dma_config.dma_dev, data->rx_dma_config.dma_channel); in spi_mcux_isr() 382 dma_config(data->tx_dma_config.dma_dev, data->tx_dma_config.dma_channel, in update_tx_dma() 457 dma_config(data->rx_dma_config.dma_dev, data->rx_dma_config.dma_channel, in update_rx_dma() 476 static void dma_callback(const struct device *dma_dev, void *callback_arg, in dma_callback() argument 770 const struct device *dma_dev; in spi_mcux_init() local 772 dma_dev = data->rx_dma_config.dma_dev; in spi_mcux_init() [all …]
|
D | spi_sam0.c | 39 const struct device *dma_dev; member 403 static void spi_sam0_dma_rx_done(const struct device *dma_dev, void *arg, 439 retval = dma_config(cfg->dma_dev, cfg->rx_dma_channel, in spi_sam0_dma_rx_load() 445 return dma_start(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_dma_rx_load() 478 retval = dma_config(cfg->dma_dev, cfg->tx_dma_channel, in spi_sam0_dma_tx_load() 485 return dma_start(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_dma_tx_load() 549 static void spi_sam0_dma_rx_done(const struct device *dma_dev, void *arg, in spi_sam0_dma_rx_done() argument 572 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_dma_rx_done() 573 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_dma_rx_done() 620 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_transceive_async() [all …]
|
D | spi_andes_atcspi200.c | 24 const struct device *dma_dev; member 261 dma_stop(data->dma_rx.dma_dev, data->dma_rx.channel); in dma_rx_callback() 269 error = dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in dma_rx_callback() 282 dma_stop(data->dma_tx.dma_dev, data->dma_tx.channel); in dma_tx_callback() 290 error = dma_start(data->dma_tx.dma_dev, data->dma_tx.channel); in dma_tx_callback() 407 ret = dma_config(data->dma_tx.dma_dev, data->dma_tx.channel, in spi_dma_tx_load() 520 ret = dma_config(data->dma_rx.dma_dev, data->dma_rx.channel, in spi_dma_rx_load() 582 error = dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in spi_transfer_dma() 589 error = dma_start(data->dma_tx.dma_dev, data->dma_tx.channel); in spi_transfer_dma() 639 if ((data->dma_tx.dma_dev != NULL) && (data->dma_rx.dma_dev != NULL)) { in transceive() [all …]
|
D | spi_mcux_lpspi.c | 56 const struct device *dma_dev; member 230 return (data->dma_tx.dma_dev && data->dma_rx.dma_dev); in lpspi_inst_has_dma() 330 return dma_config(stream->dma_dev, stream->channel, &stream->dma_cfg); in spi_mcux_dma_tx_load() 350 return dma_config(stream->dma_dev, stream->channel, &stream->dma_cfg); in spi_mcux_dma_rx_load() 395 ret = dma_start(data->dma_tx.dma_dev, data->dma_tx.channel); in spi_mcux_dma_rxtx_load() 400 ret = dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in spi_mcux_dma_rxtx_load() 740 static int lpspi_dma_dev_ready(const struct device *dma_dev) in lpspi_dma_dev_ready() argument 742 if (!device_is_ready(dma_dev)) { in lpspi_dma_dev_ready() 743 LOG_ERR("%s device is not ready", dma_dev->name); in lpspi_dma_dev_ready() 752 return lpspi_dma_dev_ready(data->dma_tx.dma_dev) | in lpspi_dma_devs_ready() [all …]
|
D | spi_sam.c | 42 const struct device *dma_dev; member 292 static void dma_callback(const struct device *dma_dev, void *user_data, in dma_callback() argument 295 ARG_UNUSED(dma_dev); in dma_callback() 398 res = dma_config(drv_cfg->dma_dev, drv_cfg->dma_rx_channel, &rx_dma_cfg); in spi_sam_dma_txrx() 404 res = dma_config(drv_cfg->dma_dev, drv_cfg->dma_tx_channel, &tx_dma_cfg); in spi_sam_dma_txrx() 411 res = dma_start(drv_cfg->dma_dev, drv_cfg->dma_rx_channel); in spi_sam_dma_txrx() 417 res = dma_start(drv_cfg->dma_dev, drv_cfg->dma_tx_channel); in spi_sam_dma_txrx() 420 dma_stop(drv_cfg->dma_dev, drv_cfg->dma_rx_channel); in spi_sam_dma_txrx() 448 if ((rx_buf_len < SAM_SPI_DMA_THRESHOLD || cfg->dma_dev == NULL) && in spi_sam_rx() 476 if ((tx_buf_len < SAM_SPI_DMA_THRESHOLD || cfg->dma_dev == NULL) && in spi_sam_tx() [all …]
|
D | spi_ll_stm32.c | 126 static void dma_callback(const struct device *dma_dev, void *arg, in dma_callback() argument 129 ARG_UNUSED(dma_dev); in dma_callback() 207 ret = dma_config(data->dma_tx.dma_dev, data->dma_tx.channel, in spi_stm32_dma_tx_load() 215 return dma_start(data->dma_tx.dma_dev, data->dma_tx.channel); in spi_stm32_dma_tx_load() 266 ret = dma_config(data->dma_rx.dma_dev, data->dma_rx.channel, in spi_stm32_dma_rx_load() 274 return dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in spi_stm32_dma_rx_load() 1096 err = dma_stop(data->dma_rx.dma_dev, data->dma_rx.channel); in transceive_dma() 1100 err = dma_stop(data->dma_tx.dma_dev, data->dma_tx.channel); in transceive_dma() 1128 if ((data->dma_tx.dma_dev != NULL) in spi_stm32_transceive() 1129 && (data->dma_rx.dma_dev != NULL)) { in spi_stm32_transceive() [all …]
|
D | spi_mcux_flexcomm.c | 53 const struct device *dma_dev; member 481 ret = dma_config(data->dma_tx.dma_dev, data->dma_tx.channel, in spi_mcux_dma_tx_load() 508 return dma_start(data->dma_tx.dma_dev, data->dma_tx.channel); in spi_mcux_dma_tx_load() 546 ret = dma_config(data->dma_rx.dma_dev, data->dma_rx.channel, in spi_mcux_dma_rx_load() 554 return dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in spi_mcux_dma_rx_load() 805 if (!device_is_ready(data->dma_tx.dma_dev)) { in spi_mcux_init() 806 LOG_ERR("%s device is not ready", data->dma_tx.dma_dev->name); in spi_mcux_init() 810 if (!device_is_ready(data->dma_rx.dma_dev)) { in spi_mcux_init() 811 LOG_ERR("%s device is not ready", data->dma_rx.dma_dev->name); in spi_mcux_init() 857 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(id, tx)), \ [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_sam0.c | 48 const struct device *dma_dev; member 108 dma_stop(cfg->dma_dev, cfg->dma_channel); in i2c_sam0_terminate_on_error() 223 static void i2c_sam0_dma_write_done(const struct device *dma_dev, void *arg, in i2c_sam0_dma_write_done() argument 231 ARG_UNUSED(dma_dev); in i2c_sam0_dma_write_done() 297 retval = dma_config(cfg->dma_dev, cfg->dma_channel, &dma_cfg); in i2c_sam0_dma_write_start() 304 retval = dma_start(cfg->dma_dev, cfg->dma_channel); in i2c_sam0_dma_write_start() 314 static void i2c_sam0_dma_read_done(const struct device *dma_dev, void *arg, in i2c_sam0_dma_read_done() argument 322 ARG_UNUSED(dma_dev); in i2c_sam0_dma_read_done() 390 retval = dma_config(cfg->dma_dev, cfg->dma_channel, &dma_cfg); in i2c_sam0_dma_read_start() 397 retval = dma_start(cfg->dma_dev, cfg->dma_channel); in i2c_sam0_dma_read_start() [all …]
|
D | i2c_dw.c | 79 dma_stop(rom->dma_dev, channel); in cb_i2c_idma_transfer() 112 if (!device_is_ready(rom->dma_dev)) { in i2c_dw_idma_rx_transfer() 135 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN, &dma_cfg)) { in i2c_dw_idma_rx_transfer() 140 if (dma_start(rom->dma_dev, DMA_INTEL_LPSS_RX_CHAN)) { in i2c_dw_idma_rx_transfer() 159 if (!device_is_ready(rom->dma_dev)) { in i2c_dw_idma_tx_transfer() 182 if (dma_config(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN, &dma_cfg)) { in i2c_dw_idma_tx_transfer() 187 if (dma_start(rom->dma_dev, DMA_INTEL_LPSS_TX_CHAN)) { in i2c_dw_idma_tx_transfer() 395 dma_intel_lpss_isr(rom->dma_dev); in i2c_dw_isr() 1073 dma_intel_lpss_set_base(rom->dma_dev, base); in i2c_dw_initialize() 1074 dma_intel_lpss_setup(rom->dma_dev); in i2c_dw_initialize() [all …]
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_nxp_flexio_lcdif.c | 23 const struct device *dma_dev; member 277 dma_config(lcdif_data->dma_tx.dma_dev, lcdif_data->dma_tx.channel, &stream->dma_cfg); in mipi_dbi_flexio_ldcif_write_display() 297 dma_start(lcdif_data->dma_tx.dma_dev, lcdif_data->dma_tx.channel); in mipi_dbi_flexio_ldcif_write_display() 379 if (!device_is_ready(lcdif_data->dma_tx.dma_dev)) { in flexio_lcdif_init() 380 LOG_ERR("%s device is not ready", lcdif_data->dma_tx.dma_dev->name); in flexio_lcdif_init() 465 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(n, tx)), \
|
/Zephyr-latest/drivers/adc/ |
D | adc_esp32.c | 65 const struct device *dma_dev; member 168 static void IRAM_ATTR adc_esp32_dma_conv_done(const struct device *dma_dev, void *user_data, in adc_esp32_dma_conv_done() argument 171 ARG_UNUSED(dma_dev); in adc_esp32_dma_conv_done() 190 err = dma_get_status(conf->dma_dev, conf->dma_channel, &dma_status); in adc_esp32_dma_start() 213 err = dma_config(conf->dma_dev, conf->dma_channel, &dma_cfg); in adc_esp32_dma_start() 219 err = dma_start(conf->dma_dev, conf->dma_channel); in adc_esp32_dma_start() 236 err = dma_stop(conf->dma_dev, conf->dma_channel); in adc_esp32_dma_stop() 722 #define ADC_ESP32_CONF_DMA_INIT(n) .dma_dev = COND_CODE_1(DT_INST_NODE_HAS_PROP(n, dmas), \
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_stm32.c | 78 const struct device *dma_dev; member 1095 ret = dma_config(data->dma_tc.dma_dev, data->dma_tc.dma_channel, &data->dma_tc.dma_cfg); in i3c_stm32_dma_msg_control_fifo_config() 1102 if (dma_start(data->dma_tc.dma_dev, data->dma_tc.dma_channel)) { in i3c_stm32_dma_msg_control_fifo_config() 1118 ret = dma_config(data->dma_rs.dma_dev, data->dma_rs.dma_channel, &data->dma_rs.dma_cfg); in i3c_stm32_dma_msg_status_fifo_config() 1125 if (dma_start(data->dma_rs.dma_dev, data->dma_rs.dma_channel)) { in i3c_stm32_dma_msg_status_fifo_config() 1150 ret = dma_config(dma_stream->dma_dev, dma_stream->dma_channel, &dma_stream->dma_cfg); in i3c_stm32_dma_msg_config() 1157 if (dma_start(dma_stream->dma_dev, dma_stream->dma_channel)) { in i3c_stm32_dma_msg_config() 1391 if (dma_stream->dma_dev != NULL) { in i3c_stm32_dma_stream_config() 1392 if (!device_is_ready(dma_stream->dma_dev)) { in i3c_stm32_dma_stream_config() 2016 static void i3c_stm32_tx_rx_msg_config(const struct device *dma_dev, void *user_data, in i3c_stm32_tx_rx_msg_config() argument [all …]
|
/Zephyr-latest/tests/boards/altera_max10/msgdma/src/ |
D | dma.c | 29 static void dma_user_callback(const struct device *dma_dev, void *arg, in dma_user_callback() argument
|