Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/amd64/vmm/io/
HDvhpet.c70 struct vhpet *vhpet; member
74 struct vhpet { struct
98 static void vhpet_start_timer(struct vhpet *vhpet, int n, uint32_t counter, argument
118 vhpet_counter_enabled(struct vhpet *vhpet) in vhpet_counter_enabled() argument
121 return ((vhpet->config & HPET_CNF_ENABLE) ? true : false); in vhpet_counter_enabled()
125 vhpet_timer_msi_enabled(struct vhpet *vhpet, int n) in vhpet_timer_msi_enabled() argument
129 if ((vhpet->timer[n].cap_config & msi_enable) == msi_enable) in vhpet_timer_msi_enabled()
136 vhpet_timer_ioapic_pin(struct vhpet *vhpet, int n) in vhpet_timer_ioapic_pin() argument
142 if (vhpet_timer_msi_enabled(vhpet, n)) in vhpet_timer_ioapic_pin()
145 return ((vhpet->timer[n].cap_config & HPET_TCNF_INT_ROUTE) >> 9); in vhpet_timer_ioapic_pin()
[all …]
HDvhpet.h39 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);
/freebsd-13-stable/sys/modules/vmm/
HDMakefile35 vhpet.c \
/freebsd-13-stable/sys/amd64/include/
HDvmm.h150 struct vhpet;
285 struct vhpet *vm_hpet(struct vm *vm);
/freebsd-13-stable/sys/amd64/vmm/
HDvmm.c163 struct vhpet *vhpet; /* (i) virtual HPET */ member
496 vm->vhpet = vhpet_init(vm); in vm_init()
663 vhpet_cleanup(vm->vhpet); in vm_cleanup()
2341 struct vhpet *
2345 return (vm->vhpet); in vm_hpet()