/Zephyr-latest/drivers/dma/ |
D | dma_si32.c | 200 if (cfg->dest_data_size != 1 && cfg->dest_data_size != 2 && cfg->dest_data_size != 4) { in dma_si32_config() 201 LOG_ERR("dest_data_size must be 1, 2, or 4 (%" PRIu32 ")", cfg->dest_data_size); in dma_si32_config() 205 __ASSERT(cfg->source_data_size == cfg->dest_data_size, in dma_si32_config() 270 if (block->dest_address % cfg->dest_data_size != 0) { in dma_si32_config() 329 channel_descriptor->DSTEND.U32 = block->dest_address + ncount * cfg->dest_data_size; in dma_si32_config()
|
D | dma_nxp_edma.c | 133 if (!EDMA_TransferWidthIsValid(data->hal_cfg, dma_cfg->dest_data_size)) { in edma_config() 135 dma_cfg->dest_data_size); in edma_config() 186 if (dma_cfg->head_block->dest_address % dma_cfg->dest_data_size) { in edma_config() 189 dma_cfg->dest_data_size); in edma_config() 232 MAX(dma_cfg->source_data_size, dma_cfg->dest_data_size)) { in edma_config() 236 dma_cfg->dest_data_size); in edma_config() 300 dma_cfg->dest_data_size, in edma_config()
|
D | dma_rpi_pico.c | 162 if (dma_cfg->source_data_size != dma_cfg->dest_data_size) { in dma_rpi_pico_config() 166 if (dma_cfg->dest_data_size != 1 && dma_cfg->dest_data_size != 2 && in dma_rpi_pico_config() 167 dma_cfg->dest_data_size != 4) { in dma_rpi_pico_config() 168 LOG_ERR("dest_data_size must be 1, 2, or 4 (%" PRIu32 ")", dma_cfg->dest_data_size); in dma_rpi_pico_config()
|
D | dma_mcux_edma.c | 83 uint32_t dest_data_size; member 341 if (!data_size_valid(config->dest_data_size)) { in dma_mcux_edma_configure() 342 LOG_ERR("Dest unit size error, %d", config->dest_data_size); in dma_mcux_edma_configure() 354 data->transfer_settings.dest_data_size = config->dest_data_size; in dma_mcux_edma_configure() 416 config->dest_data_size, config->source_burst_length, in dma_mcux_edma_configure() 475 config->dest_data_size, in dma_mcux_edma_configure() 496 config->dest_data_size, in dma_mcux_edma_configure() 636 size = size / data->transfer_settings.dest_data_size; in dma_mcux_edma_reload() 730 data->transfer_settings.dest_data_size, in dma_mcux_edma_reload()
|
D | dma_mcux_pxp.c | 154 output_buffer_cfg.pitchBytes = config->dest_data_size; in dma_mcux_pxp_configure() 155 output_buffer_cfg.width = (config->dest_data_size / bytes_per_pixel); in dma_mcux_pxp_configure()
|
D | dma_mcux_lpc.c | 355 assert(config->dest_data_size == config->source_data_size); in dma_mcux_lpc_configure() 356 width = config->dest_data_size; in dma_mcux_lpc_configure() 395 if (config->dest_data_size != 4U && in dma_mcux_lpc_configure() 396 config->dest_data_size != 2U && in dma_mcux_lpc_configure() 397 config->dest_data_size != 1U) { in dma_mcux_lpc_configure() 398 LOG_ERR("Dest unit size error, %d", config->dest_data_size); in dma_mcux_lpc_configure()
|
D | dma_xmc4xxx.c | 165 if (config->dest_data_size != 1 && config->dest_data_size != 2 && in dma_xmc4xxx_config() 166 config->dest_data_size != 4) { in dma_xmc4xxx_config() 213 dma->CH[channel].CTLL = config->dest_data_size / 2 << GPDMA0_CH_CTLL_DST_TR_WIDTH_Pos | in dma_xmc4xxx_config()
|
D | dma_gd32.c | 396 if (dma_cfg->dest_data_size != 1 && dma_cfg->dest_data_size != 2 && in dma_gd32_config() 397 dma_cfg->dest_data_size != 4) { in dma_gd32_config() 399 dma_cfg->dest_data_size); in dma_gd32_config() 432 dst_cfg.width = dma_cfg->dest_data_size; in dma_gd32_config()
|
D | dma_silabs_ldma.c | 109 if (config->source_data_size != config->dest_data_size) { in dma_silabs_block_to_descriptor() 111 config->source_data_size, config->dest_data_size); in dma_silabs_block_to_descriptor() 329 if (config->dest_data_size != config->source_data_size) { in dma_silabs_configure()
|
D | dma_stm32.c | 334 if ((config->dest_data_size != config->source_data_size)) { in dma_stm32_configure() 363 stream->dst_size = config->dest_data_size; in dma_stm32_configure() 447 index = find_lsb_set(config->dest_data_size) - 1; in dma_stm32_configure() 486 config->dest_data_size; in dma_stm32_configure()
|
D | dma_max32.c | 98 ((max32_dma_width(config->dest_data_size)) < 0)) { in max32_dma_config() 102 mxc_dma_cfg.dstwd = max32_dma_width(config->dest_data_size); in max32_dma_config()
|
D | dma_stm32_bdma.c | 525 if (config->dest_data_size != config->source_data_size) { in bdma_stm32_configure() 554 channel->dst_size = config->dest_data_size; in bdma_stm32_configure() 647 index = find_lsb_set(config->dest_data_size) - 1; in bdma_stm32_configure() 655 config->dest_data_size; in bdma_stm32_configure()
|
D | dma_stm32u5.c | 396 if (config->dest_data_size != config->source_data_size) { in dma_stm32_configure() 424 stream->dst_size = config->dest_data_size; in dma_stm32_configure() 495 index = find_lsb_set(config->dest_data_size) - 1; in dma_stm32_configure()
|
D | dma_intel_adsp_hda.c | 92 dma_cfg->dest_data_size); in intel_adsp_hda_dma_host_out_config() 121 dma_cfg->dest_data_size); in intel_adsp_hda_dma_link_in_config()
|
D | dma_andes_atcdmac300.c | 202 __ASSERT_NO_MSG(cfg->source_data_size == cfg->dest_data_size); in dma_atcdmac300_config() 281 dst_width = find_msb_set(cfg->dest_data_size) - 1; in dma_atcdmac300_config()
|
/Zephyr-latest/tests/boards/altera_max10/msgdma/src/ |
D | dma.c | 58 dma_cfg.dest_data_size = 1U; in ZTEST()
|
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/ |
D | test_dma_loop.c | 109 dma_cfg.dest_data_size = 1U; in test_loop() 200 dma_cfg.dest_data_size = 1U; in test_loop_suspend_resume() 375 dma_cfg.dest_data_size = 1U; in test_loop_repeated_start_stop()
|
/Zephyr-latest/drivers/spi/ |
D | spi_andes_atcspi200.c | 313 data->dma_tx.dma_cfg.dest_data_size; in spi_dma_tx_load() 316 data->dma_tx.dma_cfg.dest_data_size; in spi_dma_tx_load() 369 data->dma_tx.dma_cfg.dest_data_size; in spi_dma_tx_load() 431 data->dma_rx.dma_cfg.dest_data_size; in spi_dma_rx_load() 434 data->dma_rx.dma_cfg.dest_data_size; in spi_dma_rx_load() 484 data->dma_rx.dma_cfg.dest_data_size; in spi_dma_rx_load() 900 .dest_data_size = \
|
D | spi_mcux_dspi.c | 442 data->rx_dma_config.dma_cfg.dest_data_size = frame_size_byte; in update_rx_dma() 453 data->rx_dma_config.dma_cfg.dest_data_size = frame_size_byte; in update_rx_dma() 840 .dest_data_size = 4, \ 861 .dest_data_size = 2, \
|
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/ |
D | test_dma.c | 47 dma_cfg.dest_data_size = 1U; in test_task()
|
/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/ |
D | test_dma.c | 69 dma_cfg.dest_data_size = 1U; in test_task()
|
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/ |
D | test_dma_sg.c | 77 dma_cfg.dest_data_size = 4U; in test_sg()
|
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/ |
D | main.c | 112 dma_cfg.dest_data_size = 1; in config_output_dma() 152 dma_cfg_rx.dest_data_size = 1; in config_input_dma()
|
/Zephyr-latest/drivers/display/ |
D | display_renesas_lcdc.c | 483 data->dma_cfg.source_data_size = data->dma_cfg.dest_data_size = in display_smartbond_read() 552 data->dma_cfg.source_data_size = data->dma_cfg.dest_data_size = in display_smartbond_write()
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_si32.c | 349 .dest_data_size = 4, /* DATAFIFO must be written to in word chunks (4 bytes) */ in crypto_si32_dma_setup_tx() 438 .dest_data_size = 4, /* SiM3x1xx limitation: must match source_data_size */ in crypto_si32_dma_setup_rx() 514 .dest_data_size = 4, /* DATAFIFO must be written to in word chunks (4 bytes) */ in crypto_si32_dma_setup_xor()
|