Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/spi/
Dspi_sam0.c412 struct dma_block_config dma_blk = { 0 }; in spi_sam0_dma_rx_load() local
421 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_rx_load()
424 dma_blk.block_size = len; in spi_sam0_dma_rx_load()
427 dma_blk.dest_address = (uint32_t)buf; in spi_sam0_dma_rx_load()
431 dma_blk.dest_address = (uint32_t)&dummy; in spi_sam0_dma_rx_load()
432 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_rx_load()
435 dma_blk.source_address = (uint32_t)(&(regs->DATA.reg)); in spi_sam0_dma_rx_load()
436 dma_blk.source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in spi_sam0_dma_rx_load()
453 struct dma_block_config dma_blk = { 0 }; in spi_sam0_dma_tx_load() local
460 dma_cfg.head_block = &dma_blk; in spi_sam0_dma_tx_load()
[all …]
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_sam0.c275 struct dma_block_config dma_blk = { 0 }; in i2c_sam0_dma_write_start() local
283 dma_cfg.head_block = &dma_blk; in i2c_sam0_dma_write_start()
286 dma_blk.block_size = data->msg.size; in i2c_sam0_dma_write_start()
287 dma_blk.source_address = (uint32_t)data->msg.buffer; in i2c_sam0_dma_write_start()
288 dma_blk.dest_address = (uint32_t)(&(i2c->DATA.reg)); in i2c_sam0_dma_write_start()
289 dma_blk.dest_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in i2c_sam0_dma_write_start()
368 struct dma_block_config dma_blk = { 0 }; in i2c_sam0_dma_read_start() local
376 dma_cfg.head_block = &dma_blk; in i2c_sam0_dma_read_start()
379 dma_blk.block_size = data->msg.size - 1; in i2c_sam0_dma_read_start()
380 dma_blk.dest_address = (uint32_t)data->msg.buffer; in i2c_sam0_dma_read_start()
[all …]
/Zephyr-Core-3.7.0/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.c709 struct dma_block_config dma_blk = {0}; in uart_esp32_async_tx() local
740 dma_cfg.head_block = &dma_blk; in uart_esp32_async_tx()
741 dma_blk.block_size = len; in uart_esp32_async_tx()
742 dma_blk.source_address = (uint32_t)buf; in uart_esp32_async_tx()
769 struct dma_block_config dma_blk = {0}; in uart_esp32_async_rx_enable() local
801 dma_cfg.head_block = &dma_blk; in uart_esp32_async_rx_enable()
802 dma_blk.block_size = len; in uart_esp32_async_rx_enable()
803 dma_blk.dest_address = (uint32_t)data->async.rx_buf; in uart_esp32_async_rx_enable()
/Zephyr-Core-3.7.0/drivers/adc/
Dadc_esp32.c190 struct dma_block_config dma_blk = {0}; in adc_esp32_dma_start() local
211 dma_cfg.head_block = &dma_blk; in adc_esp32_dma_start()
212 dma_blk.block_size = len; in adc_esp32_dma_start()
213 dma_blk.dest_address = (uint32_t)buf; in adc_esp32_dma_start()