Home
last modified time | relevance | path

Searched refs:adc_dr (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/adc/
H A Dstm32f2xx_adc.c67 s->adc_dr = 0x00000000; in stm32f2xx_adc_reset()
73 s->adc_dr = s->adc_dr + 7; in stm32f2xx_adc_generate_value()
78 s->adc_dr &= 0xFFF; in stm32f2xx_adc_generate_value()
82 s->adc_dr &= 0x3FF; in stm32f2xx_adc_generate_value()
86 s->adc_dr &= 0xFF; in stm32f2xx_adc_generate_value()
90 s->adc_dr &= 0x3F; in stm32f2xx_adc_generate_value()
94 return (s->adc_dr << 1) & 0xFFF0; in stm32f2xx_adc_generate_value()
96 return s->adc_dr; in stm32f2xx_adc_generate_value()
271 VMSTATE_UINT32(adc_dr, STM32F2XXADCState),
/openbmc/qemu/include/hw/adc/
H A Dstm32f2xx_adc.h84 uint32_t adc_dr; member