Searched refs:AspeedADCEngineState (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/adc/ |
H A D | aspeed_adc.c | 69 static bool breaks_threshold(AspeedADCEngineState *s, int reg) in breaks_threshold() 90 static uint32_t read_channel_sample(AspeedADCEngineState *s, int reg) in read_channel_sample() 110 AspeedADCEngineState *s = ASPEED_ADC_ENGINE(opaque); in aspeed_adc_engine_read() 170 AspeedADCEngineState *s = ASPEED_ADC_ENGINE(opaque); in aspeed_adc_engine_write() 257 AspeedADCEngineState *s = ASPEED_ADC_ENGINE(dev); in aspeed_adc_engine_reset() 264 AspeedADCEngineState *s = ASPEED_ADC_ENGINE(dev); in aspeed_adc_engine_realize() 284 VMSTATE_UINT32_ARRAY(regs, AspeedADCEngineState, ASPEED_ADC_NR_REGS), 290 DEFINE_PROP_UINT32("engine-id", AspeedADCEngineState, engine_id, 0), 291 DEFINE_PROP_UINT32("nr-channels", AspeedADCEngineState, nr_channels, 0), 309 .instance_size = sizeof(AspeedADCEngineState), [all …]
|
/openbmc/qemu/include/hw/adc/ |
H A D | aspeed_adc.h | 25 OBJECT_DECLARE_SIMPLE_TYPE(AspeedADCEngineState, ASPEED_ADC_ENGINE) 30 struct AspeedADCEngineState { struct 48 AspeedADCEngineState engines[2]; argument
|