Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dpxa2xx_timer.c106 PXA2xxTimer4 tm4[8]; member
142 if (s->tm4[n].control & (1 << 7)) in pxa2xx_timer_update4()
147 if (!s->tm4[counter].freq) { in pxa2xx_timer_update4()
148 timer_del(s->tm4[n].tm.qtimer); in pxa2xx_timer_update4()
152 now_vm = s->tm4[counter].clock + muldiv64(now_qemu - in pxa2xx_timer_update4()
153 s->tm4[counter].lastload, in pxa2xx_timer_update4()
154 s->tm4[counter].freq, NANOSECONDS_PER_SECOND); in pxa2xx_timer_update4()
156 new_qemu = now_qemu + muldiv64((uint32_t) (s->tm4[n].tm.value - now_vm), in pxa2xx_timer_update4()
157 NANOSECONDS_PER_SECOND, s->tm4[counter].freq); in pxa2xx_timer_update4()
158 timer_mod(s->tm4[n].tm.qtimer, new_qemu); in pxa2xx_timer_update4()
[all …]