Home
last modified time | relevance | path

Searched refs:source_address (Results 1 – 25 of 80) sorted by relevance

1234

/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/
Dtest_dma.c90 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task()
93 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task()
112 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task()
115 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task()
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/
Dtest_dma_sg.c106 dma_block_cfgs[i].source_address = (uint64_t)(tx_data); in test_sg()
109 PRIx64 "\n", i, CONFIG_DMA_SG_XFER_SIZE, dma_block_cfgs[i].source_address, in test_sg()
112 dma_block_cfgs[i].source_address = (uint32_t)(tx_data); in test_sg()
115 i, CONFIG_DMA_SG_XFER_SIZE, dma_block_cfgs[i].source_address, in test_sg()
/Zephyr-latest/drivers/dma/
Ddma_mcux_lpc.c127 if (((block->source_address & 0xF8000000) == 0x18000000) || in rw6xx_dma_addr_fixup()
128 ((block->source_address & 0xF8000000) == 0x8000000)) { in rw6xx_dma_addr_fixup()
129 block->source_address = block->source_address + 0x40000000; in rw6xx_dma_addr_fixup()
258 (void *)local_block.source_address, in dma_mcux_lpc_queue_descriptors()
267 local_block.source_address += max_xfer_bytes; in dma_mcux_lpc_queue_descriptors()
304 (void *)local_block.source_address, in dma_mcux_lpc_queue_descriptors()
614 assert(block_config->source_address == ROUND_UP(block_config->source_address, width)); in dma_mcux_lpc_configure()
623 (void *)block_config->source_address, in dma_mcux_lpc_configure()
636 local_block.source_address = block_config->source_address in dma_mcux_lpc_configure()
639 local_block.source_address = block_config->source_address; in dma_mcux_lpc_configure()
[all …]
Ddma_rpi_pico.c43 void *source_address; member
181 data->channels[channel].source_address = (void *)dma_cfg->head_block->source_address; in dma_rpi_pico_config()
220 data->channels[ch].source_address = (void *)src; in dma_rpi_pico_reload()
224 data->channels[ch].source_address, data->channels[ch].block_size, in dma_rpi_pico_reload()
244 data->channels[ch].source_address, data->channels[ch].block_size, in dma_rpi_pico_start()
Ddma_mcux_pxp.c130 DCACHE_CleanByRange((uint32_t)config->head_block->source_address, in dma_mcux_pxp_configure()
145 ps_buffer_cfg.bufferAddr = config->head_block->source_address; in dma_mcux_pxp_configure()
164 dev_data->ps_buf_addr = config->head_block->source_address; in dma_mcux_pxp_configure()
Ddma_nios2_msgdma.c114 (alt_u32 *)dma_block->source_address, in nios2_msgdma_config()
121 (alt_u32 *)dma_block->source_address, in nios2_msgdma_config()
Ddma_nxp_sof_host_dma.c192 if (!config->head_block->source_address) { in sof_host_dma_config()
216 chan->src = config->head_block->source_address; in sof_host_dma_config()
Ddma_si32.c265 if (block->source_address % cfg->source_data_size != 0) { in dma_si32_config()
312 block->source_address + ncount * cfg->source_data_size; in dma_si32_config()
319 channel_descriptor->SRCEND.U32 = block->source_address; in dma_si32_config()
Ddma_sam0.c219 desc->SRCADDR.reg = block->source_address + block->block_size; in dma_sam0_config()
223 desc->SRCADDR.reg = block->source_address; in dma_sam0_config()
252 block->source_address, in dma_sam0_config()
Ddma_nxp_edma.c153 if (!dma_cfg->head_block->source_address) { in edma_config()
175 if (dma_cfg->head_block->source_address % dma_cfg->source_data_size) { in edma_config()
177 dma_cfg->head_block->source_address, in edma_config()
297 dma_cfg->head_block->source_address, in edma_config()
Ddma_sedi.c291 block_config->source_address = src; in dma_sedi_reload()
322 src_addr = block_config->source_address; in dma_sedi_start()
Ddma_mchp_xec.c259 if (!is_data_aligned(block->source_address, block->dest_address, unit_size)) { in check_blocks()
406 dstart = block->source_address; in dma_xec_configure()
414 mstart = block->source_address; in dma_xec_configure()
415 mend = block->source_address + block->block_size; in dma_xec_configure()
Ddma_stm32_bdma.c558 if (config->head_block->source_address == 0) { in bdma_stm32_configure()
568 if (!bdma_stm32_is_valid_memory_address(config->head_block->source_address, in bdma_stm32_configure()
584 config->head_block->source_address; in bdma_stm32_configure()
589 config->head_block->source_address; in bdma_stm32_configure()
Ddma_emul.c184 (void *)cfg->source_address, (void *)cfg->dest_address, in dma_emul_block_config_to_string()
241 bytes > 0; block.block_size -= bytes, block.source_address += bytes, in dma_emul_work_handler()
268 (void *)(uintptr_t)block.source_address, bytes); in dma_emul_work_handler()
Ddma_esp32_gdma.c231 if (!esp_ptr_dma_capable((uint32_t *)block->source_address) in dma_esp32_config_tx_descriptor()
233 && !esp_ptr_dma_ext_capable((uint32_t *)block->source_address) in dma_esp32_config_tx_descriptor()
237 (uint32_t *)block->source_address); in dma_esp32_config_tx_descriptor()
249 desc_iter->buffer = (void *)block->source_address; in dma_esp32_config_tx_descriptor()
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c51 dma_block_cfg.source_address = (uint64_t)tx_data; in test_transfer()
54 dma_block_cfg.source_address = (uint32_t)tx_data; in test_transfer()
135 dma_block_cfg.source_address = (uint64_t)tx_data; in test_loop()
138 dma_block_cfg.source_address = (uint32_t)tx_data; in test_loop()
226 dma_block_cfg.source_address = (uint64_t)tx_data; in test_loop_suspend_resume()
229 dma_block_cfg.source_address = (uint32_t)tx_data; in test_loop_suspend_resume()
405 dma_block_cfg.source_address = (uint64_t)tx_data; in test_loop_repeated_start_stop()
408 dma_block_cfg.source_address = (uint32_t)tx_data; in test_loop_repeated_start_stop()
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c66 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task()
69 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task()
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c130 dma_block_cfgs[i].source_address = (uint32_t)sine_buf; in config_output_dma()
133 i, BUF_SIZE, dma_block_cfgs[i].source_address, in config_output_dma()
171 dma_block_cfgs_rx[i].source_address = props->fifo_address; in config_input_dma()
174 i, BUF_SIZE, dma_block_cfgs_rx[i].source_address, in config_input_dma()
/Zephyr-latest/tests/boards/altera_max10/msgdma/src/
Ddma.c73 dma_block_cfg.source_address = (uint32_t)tx_data; in ZTEST()
/Zephyr-latest/drivers/spi/
Dspi_mcux_flexcomm.c414 blk_cfg->source_address = (uint32_t)&data->dummy_tx_buffer; in spi_mcux_dma_tx_load()
426 blk_cfg->source_address = (uint32_t)&data->last_word; in spi_mcux_dma_tx_load()
433 blk_cfg->source_address = (uint32_t)&data->dummy_tx_buffer; in spi_mcux_dma_tx_load()
449 blk_cfg->source_address = (uint32_t)buf; in spi_mcux_dma_tx_load()
459 blk_cfg->source_address = (uint32_t)&data->last_word; in spi_mcux_dma_tx_load()
466 blk_cfg->source_address = (uint32_t)buf; in spi_mcux_dma_tx_load()
536 blk_cfg->source_address = (uint32_t)&base->FIFORD; in spi_mcux_dma_rx_load()
Dspi_sam.c360 .source_address = (uint32_t)&regs->SPI_RDR, in spi_sam_dma_txrx()
379 uint32_t source_address, source_addr_adjust; in spi_sam_dma_txrx() local
382 source_address = (uint32_t)tx_buf; in spi_sam_dma_txrx()
385 source_address = (uint32_t)&tx_dummy; in spi_sam_dma_txrx()
392 .source_address = source_address, in spi_sam_dma_txrx()
Dspi_andes_atcspi200.c323 data->dma_tx.dma_blk_cfg.source_address = (uintptr_t)&dummy_rx_tx_buffer; in spi_dma_tx_load()
326 data->dma_tx.dma_blk_cfg.source_address = (uintptr_t)ctx->current_tx->buf; in spi_dma_tx_load()
375 next_blk_cfg->source_address = (uintptr_t)&dummy_rx_tx_buffer; in spi_dma_tx_load()
378 next_blk_cfg->source_address = (uintptr_t)current_tx->buf; in spi_dma_tx_load()
455 data->dma_rx.dma_blk_cfg.source_address = (uint32_t)SPI_DATA(cfg->base); in spi_dma_rx_load()
500 next_blk_cfg->source_address = (uint32_t)SPI_DATA(cfg->base); in spi_dma_rx_load()
Dspi_smartbond.c880 tx_block->source_address = 0; in spi_smartbond_dma_config()
902 rx_block->source_address = (uint32_t)&config->regs->SPI_RX_TX_REG; in spi_smartbond_dma_config()
944 tx_block->source_address = (uint32_t)&spi_smartbond_read_dummy_buf; in spi_smartbond_dma_trigger()
970 tx_block->source_address = (uint32_t)ctx->tx_buf; in spi_smartbond_dma_trigger()
995 tx_block->source_address = (uint32_t)ctx->tx_buf; in spi_smartbond_dma_trigger()
998 tx_block->source_address = (uint32_t)&spi_smartbond_read_dummy_buf; in spi_smartbond_dma_trigger()
/Zephyr-latest/tests/boards/intel_adsp/hda/src/
Ddma.c87 .source_address = (uint32_t)(&dma_buf[0]), in ZTEST()
176 .source_address = (uint32_t)(&dma_buf[0]), in test_hda_host_out_dma()
/Zephyr-latest/include/zephyr/drivers/
Ddma.h109 uint64_t source_address; member
114 uint32_t source_address;

1234