Home
last modified time | relevance | path

Searched refs:pit_state (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Di8254.c227 timer = &pit->pit_state.timer; in __kvm_migrate_pit_timer()
443 struct kvm_kpit_state *pit_state = &pit->pit_state; in pit_ioport_write() local
453 mutex_lock(&pit_state->lock); in pit_ioport_write()
518 struct kvm_kpit_state *pit_state = &pit->pit_state; in pit_ioport_read() local
530 mutex_lock(&pit_state->lock); in pit_ioport_read()
588 struct kvm_kpit_state *pit_state = &pit->pit_state; in speaker_ioport_write() local
593 mutex_lock(&pit_state->lock); in speaker_ioport_write()
608 struct kvm_kpit_state *pit_state = &pit->pit_state; in speaker_ioport_read() local
617 mutex_lock(&pit_state->lock); in speaker_ioport_read()
633 pit->pit_state.flags = 0; in kvm_pit_reset()
[all …]
H A Di8254.h44 struct kvm_kpit_state pit_state; member
H A Dx86.c6201 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit()
6205 mutex_unlock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit()
6211 mutex_lock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit2()
6214 ps->flags = kvm->arch.vpit->pit_state.flags; in kvm_vm_ioctl_get_pit2()
6215 mutex_unlock(&kvm->arch.vpit->pit_state.lock); in kvm_vm_ioctl_get_pit2()
6227 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit2()
6233 sizeof(pit->pit_state.channels)); in kvm_vm_ioctl_set_pit2()
6234 pit->pit_state.flags = ps->flags; in kvm_vm_ioctl_set_pit2()
6238 mutex_unlock(&pit->pit_state.lock); in kvm_vm_ioctl_set_pit2()
6251 mutex_lock(&pit->pit_state.lock); in kvm_vm_ioctl_reinject()
[all …]