Searched refs:adc_regs (Results 1 – 6 of 6) sorted by relevance
133 struct adc_it8xxx2_regs *const adc_regs = ADC_IT8XXX2_REG_BASE; in adc_disable_measurement() local140 adc_regs->VCH0CTL = IT8XXX2_ADC_DATVAL | in adc_disable_measurement()148 adc_regs->adc_vchs_ctrl[ADC_CHANNEL_OFFSET(ch)].VCHCTL = in adc_disable_measurement()153 adc_regs->ADCCFG &= ~IT8XXX2_ADC_ADCEN; in adc_disable_measurement()161 struct adc_it8xxx2_regs *const adc_regs = ADC_IT8XXX2_REG_BASE; in adc_data_valid() local165 (adc_regs->VCH0CTL & IT8XXX2_ADC_DATVAL) : in adc_data_valid()166 (adc_regs->ADCDVSTS2 & BIT(ADC_CHANNEL_OFFSET(data->ch))); in adc_data_valid()173 struct adc_it8xxx2_regs *const adc_regs = ADC_IT8XXX2_REG_BASE; in adc_it8xxx2_get_sample() local178 *data->buffer++ = adc_regs->VCH0DATM << 8 | in adc_it8xxx2_get_sample()179 adc_regs->VCH0DATL; in adc_it8xxx2_get_sample()[all …]
23 struct adc_regs *adc;252 .adc = (struct adc_regs *)DT_INST_REG_ADDR(inst), \
374 struct adc_xec_regs * const adc_regs = devcfg->regs; in adc_xec_pm_action() local381 adc_regs->control_reg |= XEC_ADC_CTRL_ACTIVATE; in adc_xec_pm_action()385 adc_regs->control_reg &= ~(XEC_ADC_CTRL_ACTIVATE); in adc_xec_pm_action()
13 struct adc_regs { struct
16 ((struct adc_regs *)(DT_REG_ADDR(DT_NODELABEL(adc0))))252 struct adc_regs *adc0 = ADC_0_XEC_REG_BASE; in deep_sleep_save_blocks()312 struct adc_regs *adc0 = ADC_0_XEC_REG_BASE; in deep_sleep_restore_blocks()
160 struct adc_regs { struct