Home
last modified time | relevance | path

Searched refs:dma_block_cfg (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/
Dtest_dma.c55 struct dma_block_config dma_block_cfg = { 0 }; in test_task() local
76 dma_cfg.head_block = &dma_block_cfg; in test_task()
88 dma_block_cfg.block_size = sizeof(tx_data); in test_task()
90 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task()
91 dma_block_cfg.dest_address = (uint64_t)rx_data2; in test_task()
93 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task()
94 dma_block_cfg.dest_address = (uint32_t)rx_data2; in test_task()
110 dma_block_cfg.block_size = sizeof(tx_data); in test_task()
112 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task()
113 dma_block_cfg.dest_address = (uint64_t)rx_data; in test_task()
[all …]
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c42 static struct dma_block_config dma_block_cfg = {0}; variable
49 dma_block_cfg.block_size = sizeof(tx_data); in test_transfer()
51 dma_block_cfg.source_address = (uint64_t)tx_data; in test_transfer()
52 dma_block_cfg.dest_address = (uint64_t)rx_data[transfer_count]; in test_transfer()
54 dma_block_cfg.source_address = (uint32_t)tx_data; in test_transfer()
55 dma_block_cfg.dest_address = (uint32_t)rx_data[transfer_count]; in test_transfer()
119 dma_cfg.head_block = &dma_block_cfg; in test_loop()
133 dma_block_cfg.block_size = sizeof(tx_data); in test_loop()
135 dma_block_cfg.source_address = (uint64_t)tx_data; in test_loop()
136 dma_block_cfg.dest_address = (uint64_t)rx_data[transfer_count]; in test_loop()
[all …]
/Zephyr-latest/tests/boards/altera_max10/msgdma/src/
Ddma.c27 static struct dma_block_config dma_block_cfg = {0}; variable
63 dma_cfg.head_block = &dma_block_cfg; in ZTEST()
72 dma_block_cfg.block_size = DMA_BUFF_SIZE; in ZTEST()
73 dma_block_cfg.source_address = (uint32_t)tx_data; in ZTEST()
74 dma_block_cfg.dest_address = (uint32_t)rx_data; in ZTEST()
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c38 struct dma_block_config dma_block_cfg = { 0 }; in test_task() local
54 dma_cfg.head_block = &dma_block_cfg; in test_task()
64 dma_block_cfg.block_size = sizeof(tx_data); in test_task()
66 dma_block_cfg.source_address = (uint64_t)tx_data; in test_task()
67 dma_block_cfg.dest_address = (uint64_t)rx_data; in test_task()
69 dma_block_cfg.source_address = (uint32_t)tx_data; in test_task()
70 dma_block_cfg.dest_address = (uint32_t)rx_data; in test_task()
/Zephyr-latest/drivers/crypto/
Dcrypto_si32.c325 struct dma_block_config dma_block_cfg = {}; in crypto_si32_dma_setup_tx() local
340 dma_block_cfg.block_size = pkt->in_len - in_buf_offset; in crypto_si32_dma_setup_tx()
341 dma_block_cfg.source_address = (uintptr_t)pkt->in_buf + in_buf_offset; in crypto_si32_dma_setup_tx()
342 dma_block_cfg.source_addr_adj = 0b00; /* increment */ in crypto_si32_dma_setup_tx()
343 dma_block_cfg.dest_address = (uintptr_t)&SI32_AES_0->DATAFIFO; in crypto_si32_dma_setup_tx()
344 dma_block_cfg.dest_addr_adj = 0b10; /* no change (no increment) */ in crypto_si32_dma_setup_tx()
353 .head_block = &dma_block_cfg, in crypto_si32_dma_setup_tx()
400 struct dma_block_config dma_block_cfg = {}; in crypto_si32_dma_setup_rx() local
429 dma_block_cfg.block_size = pkt->in_len - in_buf_offset; in crypto_si32_dma_setup_rx()
430 dma_block_cfg.source_address = (uintptr_t)&SI32_AES_0->DATAFIFO; in crypto_si32_dma_setup_rx()
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_renesas_lcdc.c72 struct dma_block_config dma_block_cfg; member
237 data->dma_cfg.head_block = &data->dma_block_cfg; in display_smartbond_dma_config()
477 data->dma_block_cfg.block_size = desc->width * config->pixel_size; in display_smartbond_read()
488 !((data->dma_block_cfg.block_size / data->dma_cfg.source_data_size) & 7) ? 8 : in display_smartbond_read()
489 !((data->dma_block_cfg.block_size / data->dma_cfg.source_data_size) & 3) ? 4 : 1; in display_smartbond_read()
493 data->dma_block_cfg.dest_address = (uint32_t)dst; in display_smartbond_read()
494 data->dma_block_cfg.source_address = (uint32_t)src; in display_smartbond_read()
546 data->dma_block_cfg.block_size = desc->width * config->pixel_size; in display_smartbond_write()
557 !((data->dma_block_cfg.block_size / data->dma_cfg.source_data_size) & 7) ? 8 : in display_smartbond_write()
558 !((data->dma_block_cfg.block_size / data->dma_cfg.source_data_size) & 3) ? 4 : 1; in display_smartbond_write()
[all …]
/Zephyr-latest/drivers/pcie/endpoint/
Dpcie_ep_iproc.c186 struct dma_block_config dma_block_cfg = { 0 }; in iproc_pcie_pl330_dma_xfer() local
199 dma_cfg.head_block = &dma_block_cfg; in iproc_pcie_pl330_dma_xfer()
201 dma_block_cfg.block_size = size; in iproc_pcie_pl330_dma_xfer()
203 dma_block_cfg.source_address = local_addr; in iproc_pcie_pl330_dma_xfer()
204 dma_block_cfg.dest_address = mapped_addr; in iproc_pcie_pl330_dma_xfer()
207 dma_block_cfg.source_address = mapped_addr; in iproc_pcie_pl330_dma_xfer()
208 dma_block_cfg.dest_address = local_addr; in iproc_pcie_pl330_dma_xfer()
/Zephyr-latest/drivers/i2c/
Di2c_dw.c110 struct dma_block_config dma_block_cfg = {0}; in i2c_dw_idma_rx_transfer() local
128 dma_cfg.head_block = &dma_block_cfg; in i2c_dw_idma_rx_transfer()
130 dma_block_cfg.block_size = dw->xfr_len; in i2c_dw_idma_rx_transfer()
131 dma_block_cfg.dest_address = (uint64_t)&dw->xfr_buf[0]; in i2c_dw_idma_rx_transfer()
132 dma_block_cfg.source_address = (uint64_t)i2c_dw_dr_phy_addr(dev); in i2c_dw_idma_rx_transfer()
157 struct dma_block_config dma_block_cfg = {0}; in i2c_dw_idma_tx_transfer() local
175 dma_cfg.head_block = &dma_block_cfg; in i2c_dw_idma_tx_transfer()
177 dma_block_cfg.block_size = 1; in i2c_dw_idma_tx_transfer()
178 dma_block_cfg.source_address = (uint64_t)&data; in i2c_dw_idma_tx_transfer()
179 dma_block_cfg.dest_address = (uint64_t)i2c_dw_dr_phy_addr(dev); in i2c_dw_idma_tx_transfer()