/Zephyr-latest/drivers/dma/ |
D | dma_nxp_sof_host_dma.c | 208 if (config->channel_direction != HOST_TO_MEMORY && in sof_host_dma_config() 209 config->channel_direction != MEMORY_TO_HOST) { in sof_host_dma_config() 211 config->channel_direction); in sof_host_dma_config() 219 chan->direction = config->channel_direction; in sof_host_dma_config()
|
D | dma_xmc4xxx.c | 146 if (config->channel_direction != MEMORY_TO_MEMORY && in dma_xmc4xxx_config() 147 config->channel_direction != MEMORY_TO_PERIPHERAL && in dma_xmc4xxx_config() 148 config->channel_direction != PERIPHERAL_TO_MEMORY) { in dma_xmc4xxx_config() 221 if (config->channel_direction == MEMORY_TO_PERIPHERAL || in dma_xmc4xxx_config() 222 config->channel_direction == PERIPHERAL_TO_MEMORY) { in dma_xmc4xxx_config() 258 if (config->channel_direction == MEMORY_TO_PERIPHERAL) { in dma_xmc4xxx_config() 264 if (config->channel_direction == PERIPHERAL_TO_MEMORY) { in dma_xmc4xxx_config()
|
D | dma_sam0.c | 105 if (config->channel_direction == MEMORY_TO_MEMORY) { in dma_sam0_config() 139 if (config->channel_direction == MEMORY_TO_MEMORY) { in dma_sam0_config() 146 } else if ((config->channel_direction == MEMORY_TO_PERIPHERAL) || in dma_sam0_config() 147 (config->channel_direction == PERIPHERAL_TO_MEMORY)) { in dma_sam0_config() 152 LOG_ERR("Direction error. %d", config->channel_direction); in dma_sam0_config()
|
D | dma_sam_xdmac.c | 216 && cfg->channel_direction == MEMORY_TO_PERIPHERAL) { in sam_xdmac_config() 223 && cfg->channel_direction == PERIPHERAL_TO_MEMORY) { in sam_xdmac_config() 229 switch (cfg->channel_direction) { in sam_xdmac_config() 253 cfg->channel_direction); in sam_xdmac_config()
|
D | dma_stm32.c | 325 if ((config->channel_direction == MEMORY_TO_MEMORY) && in dma_stm32_configure() 360 stream->direction = config->channel_direction; in dma_stm32_configure() 395 ret = dma_stm32_get_direction(config->channel_direction, in dma_stm32_configure() 401 switch (config->channel_direction) { in dma_stm32_configure() 414 config->channel_direction); in dma_stm32_configure() 457 if (config->channel_direction != MEMORY_TO_MEMORY) { in dma_stm32_configure()
|
D | dma_gd32.c | 403 if (dma_cfg->channel_direction > PERIPHERAL_TO_MEMORY) { in dma_gd32_config() 407 dma_cfg->channel_direction); in dma_gd32_config() 411 if (dma_cfg->channel_direction == MEMORY_TO_MEMORY && !cfg->mem2mem) { in dma_gd32_config() 434 switch (dma_cfg->channel_direction) { in dma_gd32_config() 476 if (dma_cfg->channel_direction != MEMORY_TO_MEMORY) { in dma_gd32_config() 484 data->channels[channel].direction = dma_cfg->channel_direction; in dma_gd32_config()
|
D | dma_mchp_xec.c | 222 if (!((config->channel_direction == MEMORY_TO_MEMORY) || in is_dma_config_valid() 223 (config->channel_direction == MEMORY_TO_PERIPHERAL) || in is_dma_config_valid() 224 (config->channel_direction == PERIPHERAL_TO_MEMORY))) { in is_dma_config_valid() 377 chdata->dir = config->channel_direction; in dma_xec_configure() 397 if (config->channel_direction == MEMORY_TO_MEMORY) { in dma_xec_configure() 403 if (config->channel_direction == PERIPHERAL_TO_MEMORY) { in dma_xec_configure()
|
D | dma_intel_adsp_hda.c | 43 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_host_in_config() 77 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_host_out_config() 111 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_link_in_config() 141 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_link_out_config()
|
D | dma_nxp_sdma.c | 147 switch (config->channel_direction) { in sdma_set_transfer_type() 162 config->channel_direction); in sdma_set_transfer_type() 165 LOG_DBG("%s: dir %d type = %d", __func__, config->channel_direction, *type); in sdma_set_transfer_type() 283 chan_data->direction = config->channel_direction; in dma_nxp_sdma_config()
|
D | dma_rpi_pico.c | 172 if (dma_cfg->channel_direction > PERIPHERAL_TO_MEMORY) { in dma_rpi_pico_config() 175 dma_cfg->channel_direction); in dma_rpi_pico_config() 200 data->channels[channel].direction = dma_cfg->channel_direction; in dma_rpi_pico_config()
|
D | dma_dw_axi.c | 505 chan_data->direction = cfg->channel_direction; in dma_dw_axi_config() 545 if (cfg->channel_direction == MEMORY_TO_MEMORY) { in dma_dw_axi_config() 551 } else if (cfg->channel_direction == MEMORY_TO_PERIPHERAL) { in dma_dw_axi_config() 561 } else if (cfg->channel_direction == PERIPHERAL_TO_MEMORY) { in dma_dw_axi_config() 572 __func__, dev->name, channel, cfg->channel_direction); in dma_dw_axi_config()
|
D | dma_stm32_bdma.c | 517 if ((config->channel_direction == MEMORY_TO_MEMORY) && in bdma_stm32_configure() 551 channel->direction = config->channel_direction; in bdma_stm32_configure() 602 ret = bdma_stm32_get_direction(config->channel_direction, in bdma_stm32_configure() 608 switch (config->channel_direction) { in bdma_stm32_configure() 621 config->channel_direction); in bdma_stm32_configure()
|
D | dma_dw_common.c | 183 chan_data->direction = cfg->channel_direction; in dw_dma_config() 213 switch (cfg->channel_direction) { in dw_dma_config() 245 switch (cfg->channel_direction) { in dw_dma_config() 283 switch (cfg->channel_direction) { in dw_dma_config() 338 cfg->channel_direction); in dw_dma_config() 346 dw_dma_mask_address(block_cfg, lli_desc, cfg->channel_direction); in dw_dma_config()
|
D | dma_sedi.c | 140 switch (config->channel_direction) { in dma_config_convert() 145 *sedi_dma_dir = config->channel_direction; in dma_config_convert()
|
D | dma_si32.c | 286 switch (cfg->channel_direction) { in dma_si32_config() 305 LOG_ERR("Channel direction not implemented: %d", cfg->channel_direction); in dma_si32_config()
|
D | dma_nxp_edma.c | 260 switch (dma_cfg->channel_direction) { in edma_config() 273 dma_cfg->channel_direction); in edma_config() 287 ret = get_transfer_type(dma_cfg->channel_direction, &transfer_type); in edma_config()
|
D | dma_nios2_msgdma.c | 106 dev_data->direction = cfg->channel_direction; in nios2_msgdma_config()
|
/Zephyr-latest/tests/boards/altera_max10/msgdma/src/ |
D | dma.c | 56 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in ZTEST()
|
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/ |
D | test_dma_loop.c | 107 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in test_loop() 198 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in test_loop_suspend_resume() 373 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in test_loop_repeated_start_stop()
|
/Zephyr-latest/tests/boards/intel_adsp/hda/src/ |
D | dma.c | 92 .channel_direction = MEMORY_TO_HOST, in ZTEST() 181 .channel_direction = HOST_TO_MEMORY, in test_hda_host_out_dma()
|
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/ |
D | test_dma.c | 45 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in test_task()
|
/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/ |
D | test_dma.c | 67 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in test_task()
|
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/ |
D | test_dma_sg.c | 75 dma_cfg.channel_direction = MEMORY_TO_MEMORY; in test_sg()
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_lpspi.c | 298 stream->dma_cfg.channel_direction = PERIPHERAL_TO_PERIPHERAL; in spi_mcux_dma_common_load() 322 stream->dma_cfg.channel_direction = MEMORY_TO_PERIPHERAL; in spi_mcux_dma_tx_load() 343 stream->dma_cfg.channel_direction = PERIPHERAL_TO_MEMORY; in spi_mcux_dma_rx_load() 811 .dma_cfg = {.channel_direction = MEMORY_TO_PERIPHERAL, \ 821 .dma_cfg = {.channel_direction = PERIPHERAL_TO_MEMORY, \
|
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/ |
D | main.c | 107 dma_cfg.channel_direction = MEMORY_TO_PERIPHERAL; in config_output_dma() 147 dma_cfg_rx.channel_direction = PERIPHERAL_TO_MEMORY; in config_input_dma()
|