Searched refs:dma_ctrl_reg (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/dma/ |
D | dma_smartbond.c | 324 uint32_t *dma_ctrl_reg) in dma_channel_update_dreq_mode() argument 331 DMA_CTRL_REG_SET_FIELD(DREQ_MODE, *dma_ctrl_reg, DREQ_MODE_SW); in dma_channel_update_dreq_mode() 337 DMA_CTRL_REG_SET_FIELD(DREQ_MODE, *dma_ctrl_reg, DREQ_MODE_HW); in dma_channel_update_dreq_mode() 346 static bool dma_channel_update_src_addr_adj(enum dma_addr_adj addr_adj, uint32_t *dma_ctrl_reg) in dma_channel_update_src_addr_adj() argument 350 DMA_CTRL_REG_SET_FIELD(AINC, *dma_ctrl_reg, ADDR_ADJ_NO_CHANGE); in dma_channel_update_src_addr_adj() 353 DMA_CTRL_REG_SET_FIELD(AINC, *dma_ctrl_reg, ADDR_ADJ_INCR); in dma_channel_update_src_addr_adj() 362 static bool dma_channel_update_dst_addr_adj(enum dma_addr_adj addr_adj, uint32_t *dma_ctrl_reg) in dma_channel_update_dst_addr_adj() argument 366 DMA_CTRL_REG_SET_FIELD(BINC, *dma_ctrl_reg, ADDR_ADJ_NO_CHANGE); in dma_channel_update_dst_addr_adj() 369 DMA_CTRL_REG_SET_FIELD(BINC, *dma_ctrl_reg, ADDR_ADJ_INCR); in dma_channel_update_dst_addr_adj() 378 static bool dma_channel_update_bus_width(uint16_t bw, uint32_t *dma_ctrl_reg) in dma_channel_update_bus_width() argument [all …]
|