Searched refs:pit_state (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 …]
39 struct kvm_kpit_state pit_state; member
2979 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit()2980 memcpy(ps, &kvm->arch.vpit->pit_state, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_get_pit()2981 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit()2989 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_set_pit()2990 memcpy(&kvm->arch.vpit->pit_state, ps, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_set_pit()2992 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_set_pit()3000 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit2()3001 memcpy(ps->channels, &kvm->arch.vpit->pit_state.channels, in kvm_vm_ioctl_get_pit2()3003 ps->flags = kvm->arch.vpit->pit_state.flags; in kvm_vm_ioctl_get_pit2()3004 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit2()[all …]