Home
last modified time | relevance | path

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

/openbmc/qemu/hw/arm/
H A Dstrongarm.c260 int64_t last_hz; member
276 s->last_rcnr += ((rt - s->last_hz) << 15) / in strongarm_rtc_hzupdate()
278 s->last_hz = rt; in strongarm_rtc_hzupdate()
284 timer_mod(s->rtc_hz, s->last_hz + 1000); in strongarm_rtc_timer_update()
290 timer_mod(s->rtc_alarm, s->last_hz + in strongarm_rtc_timer_update()
328 ((qemu_clock_get_ms(rtc_clock) - s->last_hz) << 15) / in strongarm_rtc_read()
399 s->last_hz = qemu_clock_get_ms(rtc_clock); in strongarm_rtc_init()
446 VMSTATE_INT64(last_hz, StrongARMRTCState),