Lines Matching refs:GoldfishRTCState
46 static void goldfish_rtc_update(GoldfishRTCState *s) in goldfish_rtc_update()
53 GoldfishRTCState *s = (GoldfishRTCState *)opaque; in goldfish_rtc_interrupt()
60 static uint64_t goldfish_rtc_get_count(GoldfishRTCState *s) in goldfish_rtc_get_count()
65 static void goldfish_rtc_clear_alarm(GoldfishRTCState *s) in goldfish_rtc_clear_alarm()
71 static void goldfish_rtc_set_alarm(GoldfishRTCState *s) in goldfish_rtc_set_alarm()
94 GoldfishRTCState *s = opaque; in goldfish_rtc_read()
140 GoldfishRTCState *s = opaque; in goldfish_rtc_write()
184 GoldfishRTCState *s = opaque; in goldfish_rtc_pre_save()
204 GoldfishRTCState *s = opaque; in goldfish_rtc_post_load()
246 VMSTATE_UINT64(tick_offset_vmstate, GoldfishRTCState),
247 VMSTATE_UINT64(alarm_next, GoldfishRTCState),
248 VMSTATE_UINT32(alarm_running, GoldfishRTCState),
249 VMSTATE_UINT32(irq_pending, GoldfishRTCState),
250 VMSTATE_UINT32(irq_enabled, GoldfishRTCState),
251 VMSTATE_UINT32(time_high, GoldfishRTCState),
258 GoldfishRTCState *s = GOLDFISH_RTC(dev); in goldfish_rtc_reset()
277 GoldfishRTCState *s = GOLDFISH_RTC(d); in goldfish_rtc_realize()
290 DEFINE_PROP_BOOL("big-endian", GoldfishRTCState, big_endian,
308 .instance_size = sizeof(GoldfishRTCState),