Home
last modified time | relevance | path

Searched refs:adc_regs (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_ite_it8xxx2.c133 struct adc_it8xxx2_regs *const adc_regs = ADC_IT8XXX2_REG_BASE; in adc_disable_measurement() local
140 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() local
165 (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() local
178 *data->buffer++ = adc_regs->VCH0DATM << 8 | in adc_it8xxx2_get_sample()
179 adc_regs->VCH0DATL; in adc_it8xxx2_get_sample()
[all …]
Dadc_ene_kb1200.c23 struct adc_regs *adc;
252 .adc = (struct adc_regs *)DT_INST_REG_ADDR(inst), \
Dadc_mchp_xec.c374 struct adc_xec_regs * const adc_regs = devcfg->regs; in adc_xec_pm_action() local
381 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()
/Zephyr-latest/soc/ene/kb1200/reg/
Dadc.h13 struct adc_regs { struct
/Zephyr-latest/soc/microchip/mec/mec172x/
Ddevice_power.c16 ((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()
/Zephyr-latest/soc/microchip/mec/common/reg/
Dmec_adc.h160 struct adc_regs { struct