Searched refs:vatpit (Results 1 – 5 of 5) sorted by relevance
52 #define VATPIT_LOCK(vatpit) mtx_lock_spin(&((vatpit)->mtx)) argument53 #define VATPIT_UNLOCK(vatpit) mtx_unlock_spin(&((vatpit)->mtx)) argument54 #define VATPIT_LOCKED(vatpit) mtx_owned(&((vatpit)->mtx)) argument76 struct vatpit *vatpit; member96 struct vatpit { struct105 static void pit_timer_start_cntr0(struct vatpit *vatpit); argument108 vatpit_delta_ticks(struct vatpit *vatpit, struct channel *c) in vatpit_delta_ticks() argument117 result += delta.frac / vatpit->freq_bt.frac; in vatpit_delta_ticks()123 vatpit_get_out(struct vatpit *vatpit, int channel) in vatpit_get_out() argument129 c = &vatpit->channel[channel]; in vatpit_get_out()[all …]
39 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);
151 struct vatpit *vatpit; /* (i) virtual atpit */ member507 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()
94 vatpit.c \
380 struct vatpit *vm_atpit(struct vm *vm);