Searched refs:HPETTimer (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/timer/ |
H A D | hpet.c | 50 typedef struct HPETTimer { /* timers */ struct 65 } HPETTimer; typedef 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 * in hpet_post_load() [all...] |
/qemu/rust/hw/timer/hpet/src/ |
H A D | device.rs | 135 Timer(&'a BqlRefCell<HPETTimer>, TimerRegister), 179 fn timer_handler(timer_cell: &BqlRefCell<HPETTimer>) { in timer_handler() argument 186 pub struct HPETTimer { struct 214 impl HPETTimer { implementation 216 *self = HPETTimer { in init() 218 // SAFETY: the HPETTimer will only be used after the timer in init() 231 // SAFETY: HPETTimer is only used as part of HPETState, which is in init() 564 timers: [BqlRefCell<HPETTimer>; HPET_MAX_TIMERS], 996 vmstate_of!(HPETTimer, index), 997 vmstate_of!(HPETTimer, confi 189 indexHPETTimer global() argument 190 qemu_timerHPETTimer global() argument [all...] |