Home
last modified time | relevance | path

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

/src/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);
/src/sys/amd64/include/
H A Dvmm.h148 struct vatpit *vatpit; /* (i) virtual atpit */ \
285 struct vatpit *vm_atpit(struct vm *vm);
/src/sys/modules/vmm/
H A DMakefile95 vatpit.c \
/src/sys/amd64/vmm/
H A Dvmm.c319 vm->vatpit = vatpit_init(vm); in vm_init()
416 vatpit_cleanup(vm->vatpit); in vm_cleanup()
1787 struct vatpit *
1790 return (vm->vatpit); in vm_atpit()