Searched refs:last_hz (Results 1 – 2 of 2) sorted by relevance
265 int64_t last_hz; member281 s->last_rcnr += ((rt - s->last_hz) << 15) / in strongarm_rtc_hzupdate()283 s->last_hz = rt; in strongarm_rtc_hzupdate()289 timer_mod(s->rtc_hz, s->last_hz + 1000); in strongarm_rtc_timer_update()295 timer_mod(s->rtc_alarm, s->last_hz + in strongarm_rtc_timer_update()333 ((qemu_clock_get_ms(rtc_clock) - s->last_hz) << 15) / in strongarm_rtc_read()400 s->last_hz = qemu_clock_get_ms(rtc_clock); in strongarm_rtc_init()447 VMSTATE_INT64(last_hz, StrongARMRTCState),
837 int64_t last_hz; member857 s->last_rcnr += ((rt - s->last_hz) << 15) / in pxa2xx_rtc_hzupdate()859 s->last_rdcr += ((rt - s->last_hz) << 15) / in pxa2xx_rtc_hzupdate()861 s->last_hz = rt; in pxa2xx_rtc_hzupdate()884 timer_mod(s->rtc_hz, s->last_hz + in pxa2xx_rtc_alarm_update()891 timer_mod(s->rtc_rdal1, s->last_hz + in pxa2xx_rtc_alarm_update()898 timer_mod(s->rtc_rdal2, s->last_hz + in pxa2xx_rtc_alarm_update()1001 ((qemu_clock_get_ms(rtc_clock) - s->last_hz) << 15) / in pxa2xx_rtc_read()1005 ((qemu_clock_get_ms(rtc_clock) - s->last_hz) << 15) / in pxa2xx_rtc_read()1157 s->last_hz = s->last_sw = s->last_pi = qemu_clock_get_ms(rtc_clock); in pxa2xx_rtc_init()[all …]