Searched refs:vatpit (Results 1 – 5 of 5) sorted by relevance
49 #define VATPIT_LOCK(vatpit) mtx_lock_spin(&((vatpit)->mtx)) argument50 #define VATPIT_UNLOCK(vatpit) mtx_unlock_spin(&((vatpit)->mtx)) argument51 #define VATPIT_LOCKED(vatpit) mtx_owned(&((vatpit)->mtx)) argument73 struct vatpit *vatpit; member94 struct vatpit { struct103 static void pit_timer_start_cntr0(struct vatpit *vatpit); argument106 vatpit_get_out(struct vatpit *vatpit, int channel) in vatpit_get_out() argument112 c = &vatpit->channel[channel]; in vatpit_get_out()116 delta_ticks = (sbinuptime() - c->now_sbt) / vatpit->freq_sbt; in vatpit_get_out()131 struct vatpit *vatpit; in vatpit_callout_handler() local[all …]
37 struct vatpit *vatpit_init(struct vm *vm);38 void vatpit_cleanup(struct vatpit *vatpit);
32 vatpit.c \
150 struct vatpit *vatpit; /* (i) virtual atpit */ member420 vm->vatpit = vatpit_init(vm); in vm_init()481 vatpit_cleanup(vm->vatpit); in vm_cleanup()2442 struct vatpit *2445 return (vm->vatpit); in vm_atpit()
321 struct vatpit *vm_atpit(struct vm *vm);