Home
last modified time | relevance | path

Searched refs:block_config (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/dma/
Ddma_mcux_lpc.c333 struct dma_block_config *block_config; in dma_mcux_lpc_configure() local
349 block_config = config->head_block; in dma_mcux_lpc_configure()
361 if (block_config->source_gather_en && block_config->dest_scatter_en) { in dma_mcux_lpc_configure()
362 assert(block_config->source_gather_interval == in dma_mcux_lpc_configure()
363 block_config->dest_scatter_interval); in dma_mcux_lpc_configure()
405 if (block_config->source_gather_en && (block_config->source_gather_interval != 0)) { in dma_mcux_lpc_configure()
406 src_inc = block_config->source_gather_interval / width; in dma_mcux_lpc_configure()
415 if (block_config->dest_scatter_en && (block_config->dest_scatter_interval != 0)) { in dma_mcux_lpc_configure()
416 dst_inc = block_config->dest_scatter_interval / width; in dma_mcux_lpc_configure()
427 if (block_config->source_gather_en) { in dma_mcux_lpc_configure()
[all …]
Ddma_sedi.c282 struct dma_block_config *block_config; in dma_sedi_reload() local
288 block_config = config->head_block; in dma_sedi_reload()
290 if ((config->block_count == 1) || (block_config->next_block == NULL)) { in dma_sedi_reload()
291 block_config->source_address = src; in dma_sedi_reload()
292 block_config->dest_address = dst; in dma_sedi_reload()
293 block_config->block_size = size; in dma_sedi_reload()
312 struct dma_block_config *block_config = config->head_block; in dma_sedi_start() local
322 src_addr = block_config->source_address; in dma_sedi_start()
323 dst_addr = block_config->dest_address; in dma_sedi_start()
326 src_addr, dst_addr, block_config->block_size); in dma_sedi_start()
DKconfig.silabs16 int "Max Number of block_config (LDMA_Descriptor)"
19 Max Number of block_config (LDMA_Descriptor)
Ddma_mcux_edma.c313 struct dma_block_config *block_config = config->head_block; in dma_mcux_edma_configure() local
368 if (block_config->source_gather_en || block_config->dest_scatter_en) { in dma_mcux_edma_configure()
429 if (block_config->source_gather_en || block_config->dest_scatter_en) { in dma_mcux_edma_configure()
436 &data->transferConfig, (void *)block_config->source_address, in dma_mcux_edma_configure()
437 config->source_data_size, (void *)block_config->dest_address, in dma_mcux_edma_configure()
439 block_config->block_size, transfer_type); in dma_mcux_edma_configure()
454 while (block_config != NULL && data->transfer_settings.empty_tcds > 0) { in dma_mcux_edma_configure()
458 EDMA_TCD_SADDR(tcd, kEDMA_EDMA4Flag) = block_config->source_address; in dma_mcux_edma_configure()
459 EDMA_TCD_DADDR(tcd, kEDMA_EDMA4Flag) = block_config->dest_address; in dma_mcux_edma_configure()
461 block_config->block_size / config->source_data_size; in dma_mcux_edma_configure()
[all …]
Ddma_ifx_cat1.c201 struct dma_block_config *block_config, uint32_t block_num, in _initialize_descriptor() argument
213 if (((offset + bytes) == block_config->block_size) && in _initialize_descriptor()
246 _convert_dma_xy_increment_z_to_pdl(block_config->source_addr_adj); in _initialize_descriptor()
250 _convert_dma_xy_increment_z_to_pdl(block_config->dest_addr_adj); in _initialize_descriptor()
271 (block_config->source_address + (descriptor_config.srcXincrement ? offset : 0))); in _initialize_descriptor()
272 descriptor_config.dstAddress = (void *)(block_config->dest_address + in _initialize_descriptor()
331 struct dma_block_config *block_config = config->head_block; in ifx_cat1_dma_configure() local
334 uint32_t block_pending_bytes = block_config->block_size; in ifx_cat1_dma_configure()
374 _initialize_descriptor(descriptor, config, block_config, in ifx_cat1_dma_configure()
381 block_config = block_config->next_block; in ifx_cat1_dma_configure()
Ddma_iproc_pax_v2.c926 struct dma_block_config *block_config = config->head_block; in dma_iproc_pax_process_dma_blocks() local
928 if (block_config == NULL) { in dma_iproc_pax_process_dma_blocks()
969 while (block_config != NULL) { in dma_iproc_pax_process_dma_blocks()
972 block_config, in dma_iproc_pax_process_dma_blocks()
977 block_config = block_config->next_block; in dma_iproc_pax_process_dma_blocks()
Ddma_silabs_ldma.c525 struct dma_block_config *block_config = config->head_block; in silabs_ldma_append_block() local
555 ret = dma_silabs_block_to_descriptor(config, chan_conf, block_config, desc); in silabs_ldma_append_block()