Home
last modified time | relevance | path

Searched refs:dma_block_cfgs (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/dma/scatter_gather/src/
Dtest_dma_sg.c40 static struct dma_block_config dma_block_cfgs[XFERS]; variable
87 dma_cfg.head_block = dma_block_cfgs; in test_sg()
101 memset(dma_block_cfgs, 0, sizeof(dma_block_cfgs)); in test_sg()
103 dma_block_cfgs[i].source_gather_en = 1U; in test_sg()
104 dma_block_cfgs[i].block_size = CONFIG_DMA_SG_XFER_SIZE; in test_sg()
106 dma_block_cfgs[i].source_address = (uint64_t)(tx_data); in test_sg()
107 dma_block_cfgs[i].dest_address = (uint64_t)(rx_data[i]); in test_sg()
109 PRIx64 "\n", i, CONFIG_DMA_SG_XFER_SIZE, dma_block_cfgs[i].source_address, in test_sg()
110 dma_block_cfgs[i].dest_address); in test_sg()
112 dma_block_cfgs[i].source_address = (uint32_t)(tx_data); in test_sg()
[all …]
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c61 static struct dma_block_config dma_block_cfgs[XFERS]; variable
118 dma_cfg.head_block = dma_block_cfgs; in config_output_dma()
127 memset(dma_block_cfgs, 0, sizeof(dma_block_cfgs)); in config_output_dma()
129 dma_block_cfgs[i].block_size = XFER_SIZE; in config_output_dma()
130 dma_block_cfgs[i].source_address = (uint32_t)sine_buf; in config_output_dma()
131 dma_block_cfgs[i].dest_address = props->fifo_address; in config_output_dma()
133 i, BUF_SIZE, dma_block_cfgs[i].source_address, in config_output_dma()
134 dma_block_cfgs[i].dest_address); in config_output_dma()
136 dma_block_cfgs[i].next_block = &dma_block_cfgs[i+1]; in config_output_dma()
137 TC_PRINT("set next block pointer to %p\n", dma_block_cfgs[i].next_block); in config_output_dma()