Home
last modified time | relevance | path

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

/NextBSD/sys/amd64/vmm/io/
HDvhpet.c69 struct vhpet *vhpet; member
73 struct vhpet { struct
97 static void vhpet_start_timer(struct vhpet *vhpet, int n, uint32_t counter, argument
117 vhpet_counter_enabled(struct vhpet *vhpet) in vhpet_counter_enabled() argument
120 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() argument
128 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() argument
141 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 …]
HDvhpet.h36 struct vhpet *vhpet_init(struct vm *vm);
37 void vhpet_cleanup(struct vhpet *vhpet);
/NextBSD/sys/modules/vmm/
HDMakefile33 vhpet.c \
/NextBSD/sys/amd64/include/
HDvmm.h114 struct vhpet;
220 struct vhpet *vm_hpet(struct vm *vm);
/NextBSD/sys/amd64/vmm/
HDvmm.c147 struct vhpet *vhpet; /* (i) virtual HPET */ member
418 vm->vhpet = vhpet_init(vm); in vm_init()
482 vhpet_cleanup(vm->vhpet); in vm_cleanup()
2166 struct vhpet *
2170 return (vm->vhpet); in vm_hpet()