Lines Matching refs:temp
42 uint32_t temp = 4u; in mec_hal_adc_init() local
60 while (temp--) { in mec_hal_adc_init()
75 temp = (((uint32_t)cfg->sample_clk_hi_time << MEC_ADC_CONFIG_CHTM_Pos) in mec_hal_adc_init()
77 temp |= (((uint32_t)cfg->sample_clk_lo_time << MEC_ADC_CONFIG_CLTM_Pos) in mec_hal_adc_init()
80 | MEC_ADC_CONFIG_CHTM_Msk)) | temp; in mec_hal_adc_init()
91 temp = regs->DELAY & in mec_hal_adc_init()
93 temp |= (((uint32_t)cfg->rpt_start_delay << MEC_ADC_DELAY_RSTART_DLY_Pos) in mec_hal_adc_init()
95 temp |= (((uint32_t)cfg->rpt_cycle_delay << MEC_ADC_DELAY_RPT_DLY_Pos) in mec_hal_adc_init()
174 uint32_t temp = regs->VREF_CHAN; in mec_hal_adc_chan_vref_select() local
176 temp &= ~(0x3u << (chan_id * 2u)); in mec_hal_adc_chan_vref_select()
177 temp |= (((uint32_t)vref & 0x3u) << (chan_id * 2u)); in mec_hal_adc_chan_vref_select()
178 regs->VREF_CHAN = temp; in mec_hal_adc_chan_vref_select()