Home
last modified time | relevance | path

Searched refs:dest_data_size (Results 1 – 25 of 73) sorted by relevance

123

/Zephyr-latest/drivers/dma/
Ddma_si32.c200 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()
Ddma_nxp_edma.c133 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()
Ddma_rpi_pico.c162 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()
Ddma_mcux_edma.c83 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()
Ddma_mcux_pxp.c154 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()
Ddma_mcux_lpc.c355 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()
Ddma_xmc4xxx.c165 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()
Ddma_gd32.c396 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()
Ddma_silabs_ldma.c109 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()
Ddma_stm32.c334 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()
Ddma_max32.c98 ((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()
Ddma_stm32_bdma.c525 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()
Ddma_stm32u5.c396 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()
Ddma_intel_adsp_hda.c92 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()
Ddma_andes_atcdmac300.c202 __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/
Ddma.c58 dma_cfg.dest_data_size = 1U; in ZTEST()
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c109 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/
Dspi_andes_atcspi200.c313 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 = \
Dspi_mcux_dspi.c442 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/
Dtest_dma.c47 dma_cfg.dest_data_size = 1U; in test_task()
/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/
Dtest_dma.c69 dma_cfg.dest_data_size = 1U; in test_task()
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/
Dtest_dma_sg.c77 dma_cfg.dest_data_size = 4U; in test_sg()
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c112 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/
Ddisplay_renesas_lcdc.c483 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/
Dcrypto_si32.c349 .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()

123