Home
last modified time | relevance | path

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

/freebsd/sys/amd64/vmm/io/
H A Dvatpit.c52 #define VATPIT_LOCK(vatpit) mtx_lock_spin(&((vatpit)->mtx)) argument
53 #define VATPIT_UNLOCK(vatpit) mtx_unlock_spin(&((vatpit)->mtx)) argument
54 #define VATPIT_LOCKED(vatpit) mtx_owned(&((vatpit)->mtx)) argument
76 struct vatpit *vatpit; member
96 struct vatpit { struct
105 static void pit_timer_start_cntr0(struct vatpit *vatpit); argument
108 vatpit_delta_ticks(struct vatpit *vatpit, struct channel *c) in vatpit_delta_ticks() argument
117 result += delta.frac / vatpit->freq_bt.frac; in vatpit_delta_ticks()
123 vatpit_get_out(struct vatpit *vatpit, int channel) in vatpit_get_out() argument
129 c = &vatpit->channel[channel]; in vatpit_get_out()
[all …]
H A Dvatpit.h39 struct vatpit *vatpit_init(struct vm *vm);
40 void vatpit_cleanup(struct vatpit *vatpit);
46 int vatpit_snapshot(struct vatpit *vatpit, struct vm_snapshot_meta *meta);
/freebsd/sys/amd64/vmm/
H A Dvmm.c151 struct vatpit *vatpit; /* (i) virtual atpit */ member
507 vm->vatpit = vatpit_init(vm); in vm_init()
671 vatpit_cleanup(vm->vatpit); in vm_cleanup()
2376 struct vatpit *
2379 return (vm->vatpit); in vm_atpit()
/freebsd/sys/modules/vmm/
H A DMakefile94 vatpit.c \
/freebsd/sys/amd64/include/
H A Dvmm.h380 struct vatpit *vm_atpit(struct vm *vm);