Lines Matching refs:HPETTimer
50 typedef struct HPETTimer { /* timers */ struct
65 } HPETTimer; argument
82 HPETTimer timer[HPET_MAX_TIMERS];
97 static uint32_t timer_int_route(struct HPETTimer *timer) in timer_int_route()
102 static uint32_t timer_fsb_route(HPETTimer *t) in timer_fsb_route()
112 static uint32_t timer_is_periodic(HPETTimer *t) in timer_is_periodic()
117 static uint32_t timer_enabled(HPETTimer *t) in timer_enabled()
169 static uint64_t hpet_calculate_cmp64(HPETTimer *t, uint64_t cur_tick, uint64_t target) in hpet_calculate_cmp64()
187 static void update_irq(struct HPETTimer *timer, int set) in update_irq()
263 HPETTimer *t = &s->timer[i]; in hpet_post_load()
317 VMSTATE_UINT8(tn, HPETTimer),
318 VMSTATE_UINT64(config, HPETTimer),
319 VMSTATE_UINT64(cmp, HPETTimer),
320 VMSTATE_UINT64(fsb, HPETTimer),
321 VMSTATE_UINT64(period, HPETTimer),
322 VMSTATE_UINT8(wrap_flag, HPETTimer),
323 VMSTATE_TIMER_PTR(qemu_timer, HPETTimer),
341 vmstate_hpet_timer, HPETTimer),
351 static void hpet_arm(HPETTimer *t, uint64_t tick) in hpet_arm()
369 HPETTimer *t = opaque; in hpet_timer()
390 static void hpet_set_timer(HPETTimer *t) in hpet_set_timer()
410 static void hpet_del_timer(HPETTimer *t) in hpet_del_timer()
454 HPETTimer *timer = &s->timer[timer_id]; in hpet_ram_read()
548 HPETTimer *timer = &s->timer[timer_id]; in hpet_ram_write()
636 HPETTimer *timer = &s->timer[i]; in hpet_reset()
692 HPETTimer *timer; in hpet_realize()