Searched refs:xfer_config (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/dma/ |
D | dma_emul.c | 203 struct dma_config xfer_config; in dma_emul_work_handler() local 220 memcpy(&xfer_config, &xfer->config, sizeof(xfer_config)); in dma_emul_work_handler() 224 for (i = 0; i < xfer_config.block_count; ++i) { in dma_emul_work_handler() 235 xfer_config.dma_slot + i], in dma_emul_work_handler() 240 for (bytes = MIN(block.block_size, xfer_config.dest_burst_length); in dma_emul_work_handler() 243 bytes = MIN(block.block_size, xfer_config.dest_burst_length)) { in dma_emul_work_handler() 251 if (!xfer_config.error_callback_dis) { in dma_emul_work_handler() 252 xfer_config.dma_callback(dev, xfer_config.user_data, in dma_emul_work_handler() 278 xfer_config.dma_callback(dev, xfer_config.user_data, channel, in dma_emul_work_handler() 284 if (xfer_config.source_chaining_en || xfer_config.dest_chaining_en) { in dma_emul_work_handler() [all …]
|
D | dma_silabs_ldma.c | 30 LDMA_TransferCfg_t xfer_config; member 159 block->source_addr_adj != chan_conf->xfer_config.ldmaCfgSrcIncSign) { in dma_silabs_block_to_descriptor() 307 LDMA_TransferCfg_t *xfer_config = &chan_conf->xfer_config; in dma_silabs_configure() local 346 memset(xfer_config, 0, sizeof(*xfer_config)); in dma_silabs_configure() 353 xfer_config->ldmaReqSel = config->dma_slot; in dma_silabs_configure() 367 xfer_config->ldmaCfgArbSlots = config->channel_priority; in dma_silabs_configure() 371 xfer_config->ldmaCfgSrcIncSign = ldmaCfgSrcIncSignPos; in dma_silabs_configure() 374 xfer_config->ldmaCfgSrcIncSign = ldmaCfgSrcIncSignNeg; in dma_silabs_configure() 377 xfer_config->ldmaCfgSrcIncSign = ldmaCfgSrcIncSignPos; in dma_silabs_configure() 386 xfer_config->ldmaCfgDstIncSign = ldmaCfgDstIncSignPos; in dma_silabs_configure() [all …]
|
D | dma_mcux_lpc.c | 145 uint32_t xfer_config = 0U; in dma_mcux_lpc_queue_descriptors() local 246 xfer_config = DMA_CHANNEL_XFER(reload, 0UL, enable_a_interrupt, in dma_mcux_lpc_queue_descriptors() 257 xfer_config, in dma_mcux_lpc_queue_descriptors() 292 xfer_config = DMA_CHANNEL_XFER(1UL, 0UL, callback_en, 0U, in dma_mcux_lpc_queue_descriptors() 298 xfer_config &= ~DMA_CHANNEL_XFERCFG_CFGVALID_MASK; in dma_mcux_lpc_queue_descriptors() 303 xfer_config, in dma_mcux_lpc_queue_descriptors() 330 uint32_t xfer_config = 0U; in dma_mcux_lpc_configure() local 590 xfer_config = DMA_CHANNEL_XFER(1UL, 0UL, 0UL, 0UL, in dma_mcux_lpc_configure() 599 xfer_config = DMA_CHANNEL_XFER(1UL, 0UL, complete_callback, 0UL, in dma_mcux_lpc_configure() 607 xfer_config = DMA_CHANNEL_XFER(0UL, 0UL, 1UL, 0UL, in dma_mcux_lpc_configure() [all …]
|