Searched refs:vhpet (Results 1 – 5 of 5) sorted by relevance
69 struct vhpet *vhpet; member73 struct vhpet { struct97 static void vhpet_start_timer(struct vhpet *vhpet, int n, uint32_t counter, argument117 vhpet_counter_enabled(struct vhpet *vhpet) in vhpet_counter_enabled() argument120 return ((vhpet->config & HPET_CNF_ENABLE) ? true : false); in vhpet_counter_enabled()124 vhpet_timer_msi_enabled(struct vhpet *vhpet, int n) in vhpet_timer_msi_enabled() argument128 if ((vhpet->timer[n].cap_config & msi_enable) == msi_enable) in vhpet_timer_msi_enabled()135 vhpet_timer_ioapic_pin(struct vhpet *vhpet, int n) in vhpet_timer_ioapic_pin() argument141 if (vhpet_timer_msi_enabled(vhpet, n)) in vhpet_timer_ioapic_pin()144 return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ROUTE) >> 9); in vhpet_timer_ioapic_pin()[all …]
39 struct vhpet *vhpet_init(struct vm *vm);40 void vhpet_cleanup(struct vhpet *vhpet);47 int vhpet_snapshot(struct vhpet *vhpet, struct vm_snapshot_meta *meta);48 int vhpet_restore_time(struct vhpet *vhpet);
157 struct vhpet;266 struct vhpet *vm_hpet(struct vm *vm);
148 struct vhpet *vhpet; /* (i) virtual HPET */ member505 vm->vhpet = vhpet_init(vm); in vm_init()672 vhpet_cleanup(vm->vhpet); in vm_cleanup()2045 struct vhpet *2049 return (vm->vhpet); in vm_hpet()
95 vhpet.c \