Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_sam0.c413 struct dma_block_config dma_blk = { 0 }; in spi_sam0_dma_rx_load() local
422 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_rx_load()
425 dma_blk.block_size = len; in spi_sam0_dma_rx_load()
428 dma_blk.dest_address = (uint32_t)buf; in spi_sam0_dma_rx_load()
432 dma_blk.dest_address = (uint32_t)&dummy; in spi_sam0_dma_rx_load()
433 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_rx_load()
436 dma_blk.source_address = (uint32_t)(&(regs->DATA.reg)); in spi_sam0_dma_rx_load()
437 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_rx_load()
454 struct dma_block_config dma_blk = { 0 }; in spi_sam0_dma_tx_load() local
461 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_tx_load()
[all …]
Dspi_max32.c463 struct dma_block_config dma_blk = {0}; in spi_max32_tx_dma_load() local
473 dma_cfg.head_block = &dma_blk; in spi_max32_tx_dma_load()
474 dma_blk.block_size = len; in spi_max32_tx_dma_load()
476 dma_blk.source_addr_adj = DMA_ADDR_ADJ_INCREMENT; in spi_max32_tx_dma_load()
477 dma_blk.source_address = (uint32_t)buf; in spi_max32_tx_dma_load()
479 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_max32_tx_dma_load()
480 dma_blk.source_address = (uint32_t)data->dummy; in spi_max32_tx_dma_load()
498 struct dma_block_config dma_blk = {0}; in spi_max32_rx_dma_load() local
508 dma_cfg.head_block = &dma_blk; in spi_max32_rx_dma_load()
509 dma_blk.block_size = len; in spi_max32_rx_dma_load()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_sam0.c281 struct dma_block_config dma_blk = { 0 }; in i2c_sam0_dma_write_start() local
289 dma_cfg.head_block = &dma_blk; in i2c_sam0_dma_write_start()
292 dma_blk.block_size = data->msg.size; in i2c_sam0_dma_write_start()
293 dma_blk.source_address = (uint32_t)data->msg.buffer; in i2c_sam0_dma_write_start()
294 dma_blk.dest_address = (uint32_t)(&(i2c->DATA.reg)); in i2c_sam0_dma_write_start()
295 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in i2c_sam0_dma_write_start()
374 struct dma_block_config dma_blk = { 0 }; in i2c_sam0_dma_read_start() local
382 dma_cfg.head_block = &dma_blk; in i2c_sam0_dma_read_start()
385 dma_blk.block_size = data->msg.size - 1; in i2c_sam0_dma_read_start()
386 dma_blk.dest_address = (uint32_t)data->msg.buffer; in i2c_sam0_dma_read_start()
[all …]
Di2c_max32.c310 struct dma_block_config dma_blk = {0}; in i2c_max32_tx_dma_load() local
320 dma_cfg.head_block = &dma_blk; in i2c_max32_tx_dma_load()
321 dma_blk.block_size = msg->len; in i2c_max32_tx_dma_load()
322 dma_blk.source_addr_adj = DMA_ADDR_ADJ_INCREMENT; in i2c_max32_tx_dma_load()
323 dma_blk.source_address = (uint32_t)msg->buf; in i2c_max32_tx_dma_load()
339 struct dma_block_config dma_blk = {0}; in i2c_max32_rx_dma_load() local
349 dma_cfg.head_block = &dma_blk; in i2c_max32_rx_dma_load()
350 dma_blk.block_size = msg->len; in i2c_max32_rx_dma_load()
351 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in i2c_max32_rx_dma_load()
352 dma_blk.dest_address = (uint32_t)msg->buf; in i2c_max32_rx_dma_load()
/Zephyr-latest/drivers/serial/
Duart_sam0.c585 struct dma_block_config dma_blk = { 0 }; in uart_sam0_init() local
593 dma_cfg.head_block = &dma_blk; in uart_sam0_init()
596 dma_blk.block_size = 1; in uart_sam0_init()
597 dma_blk.dest_address = (uint32_t)(&(usart->DATA.reg)); in uart_sam0_init()
598 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in uart_sam0_init()
609 struct dma_block_config dma_blk = { 0 }; in uart_sam0_init() local
617 dma_cfg.head_block = &dma_blk; in uart_sam0_init()
620 dma_blk.block_size = 1; in uart_sam0_init()
621 dma_blk.source_address = (uint32_t)(&(usart->DATA.reg)); in uart_sam0_init()
622 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in uart_sam0_init()
Duart_esp32.c740 struct dma_block_config dma_blk = {0}; in uart_esp32_async_tx() local
771 dma_cfg.head_block = &dma_blk; in uart_esp32_async_tx()
772 dma_blk.block_size = len; in uart_esp32_async_tx()
773 dma_blk.source_address = (uint32_t)buf; in uart_esp32_async_tx()
800 struct dma_block_config dma_blk = {0}; in uart_esp32_async_rx_enable() local
832 dma_cfg.head_block = &dma_blk; in uart_esp32_async_rx_enable()
833 dma_blk.block_size = len; in uart_esp32_async_rx_enable()
834 dma_blk.dest_address = (uint32_t)data->async.rx_buf; in uart_esp32_async_rx_enable()
/Zephyr-latest/drivers/adc/
Dadc_esp32.c188 struct dma_block_config dma_blk = {0}; in adc_esp32_dma_start() local
209 dma_cfg.head_block = &dma_blk; in adc_esp32_dma_start()
210 dma_blk.block_size = len; in adc_esp32_dma_start()
211 dma_blk.dest_address = (uint32_t)buf; in adc_esp32_dma_start()
/Zephyr-latest/drivers/i2s/
Di2s_esp32.c179 struct dma_block_config dma_blk = {0}; in i2s_esp32_start_dma() local
194 dma_blk.block_size = stream->mem_block_len; in i2s_esp32_start_dma()
196 dma_blk.dest_address = (uint32_t)stream->mem_block; in i2s_esp32_start_dma()
200 dma_blk.source_address = (uint32_t)stream->mem_block; in i2s_esp32_start_dma()
208 dma_cfg.head_block = &dma_blk; in i2s_esp32_start_dma()