Home
last modified time | relevance | path

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

/qemu/hw/timer/
H A Dhpet.c59 uint64_t cmp64; /* comparator (extended to counter width) */ member
264 t->cmp64 = hpet_calculate_cmp64(t, s->hpet_counter, t->cmp); in hpet_post_load()
374 while (hpet_time_after(cur_tick, t->cmp64)) { in hpet_timer()
375 t->cmp64 += period; in hpet_timer()
378 t->cmp = (uint32_t)t->cmp64; in hpet_timer()
380 t->cmp = t->cmp64; in hpet_timer()
382 hpet_arm(t, t->cmp64); in hpet_timer()
385 hpet_arm(t, t->cmp64); in hpet_timer()
395 t->cmp64 = hpet_calculate_cmp64(t, cur_tick, t->cmp); in hpet_set_timer()
401 if (!timer_is_periodic(t) && t->cmp64 > hpet_next_wra in hpet_set_timer()
[all...]
/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs204 cmp64: u64, field
225 cmp64: 0, in init()
378 self.cmp64 = self.calculate_cmp64(cur_tick, self.cmp); in set_timer()
382 if !self.is_periodic() && self.cmp64 > hpet_next_wrap(cur_tick) { in set_timer()
388 self.arm_timer(self.cmp64); in set_timer()
488 while hpet_time_after(cur_tick, self.cmp64) { in callback()
489 self.cmp64 += period; in callback()
492 self.cmp = u64::from(self.cmp64 as u32); // truncate! in callback()
494 self.cmp = self.cmp64; in callback()
496 self.arm_timer(self.cmp64); in callback()
[all...]