Searched refs:vpit (Results 1 – 3 of 3) sorted by relevance
76 &kvm->arch.vpit->pit_state.channels[channel]; in pit_set_gate()78 WARN_ON(!mutex_is_locked(&kvm->arch.vpit->pit_state.lock)); in pit_set_gate()101 WARN_ON(!mutex_is_locked(&kvm->arch.vpit->pit_state.lock)); in pit_get_gate()103 return kvm->arch.vpit->pit_state.channels[channel].gate; in pit_get_gate()110 struct kvm_kpit_state *ps = &kvm->arch.vpit->pit_state; in __kpit_elapsed()143 &kvm->arch.vpit->pit_state.channels[channel]; in pit_get_count()147 WARN_ON(!mutex_is_locked(&kvm->arch.vpit->pit_state.lock)); in pit_get_count()173 &kvm->arch.vpit->pit_state.channels[channel]; in pit_get_out()177 WARN_ON(!mutex_is_locked(&kvm->arch.vpit->pit_state.lock)); in pit_get_out()208 &kvm->arch.vpit->pit_state.channels[channel]; in pit_latch_count()[all …]
2980 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit()2981 memcpy(ps, &kvm->arch.vpit->pit_state, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_get_pit()2982 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit()2990 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_set_pit()2991 memcpy(&kvm->arch.vpit->pit_state, ps, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_set_pit()2993 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_set_pit()3001 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit2()3002 memcpy(ps->channels, &kvm->arch.vpit->pit_state.channels, in kvm_vm_ioctl_get_pit2()3004 ps->flags = kvm->arch.vpit->pit_state.flags; in kvm_vm_ioctl_get_pit2()3005 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit2()[all …]
510 struct kvm_pit *vpit; member