Lines Matching refs:blk_cfg
224 struct dma_block_config *blk_cfg; in adc_stm32_dma_start() local
229 blk_cfg = &dma->dma_blk_cfg; in adc_stm32_dma_start()
232 blk_cfg->block_size = channel_count * sizeof(int16_t); in adc_stm32_dma_start()
235 blk_cfg->source_address = (uint32_t)LL_ADC_DMA_GetRegAddr(adc, LL_ADC_DMA_REG_REGULAR_DATA); in adc_stm32_dma_start()
236 blk_cfg->source_addr_adj = DMA_ADDR_ADJ_NO_CHANGE; in adc_stm32_dma_start()
237 blk_cfg->source_reload_en = 0; in adc_stm32_dma_start()
239 blk_cfg->dest_address = (uint32_t)buffer; in adc_stm32_dma_start()
240 blk_cfg->dest_addr_adj = DMA_ADDR_ADJ_INCREMENT; in adc_stm32_dma_start()
241 blk_cfg->dest_reload_en = 0; in adc_stm32_dma_start()
246 blk_cfg->fifo_mode_control = 0; in adc_stm32_dma_start()
249 dma->dma_cfg.head_block = blk_cfg; in adc_stm32_dma_start()