Home
last modified time | relevance | path

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

/arch/x86/kvm/
Di8254.c112 if (!ps->pit_timer.period) in __kpit_elapsed()
124 remaining = hrtimer_get_remaining(&ps->pit_timer.timer); in __kpit_elapsed()
125 elapsed = ps->pit_timer.period - ktime_to_ns(remaining); in __kpit_elapsed()
126 elapsed = mod_64(elapsed, ps->pit_timer.period); in __kpit_elapsed()
242 value = atomic_dec_return(&ps->pit_timer.pending); in kvm_pit_ack_irq()
247 atomic_inc(&ps->pit_timer.pending); in kvm_pit_ack_irq()
265 timer = &pit->pit_state.pit_timer.timer; in __kvm_migrate_pit_timer()
272 hrtimer_cancel(&pit->pit_state.pit_timer.timer); in destroy_pit_timer()
279 pit_timer); in kpit_is_periodic()
344 struct kvm_timer *pt = &ps->pit_timer; in create_pit_timer()
[all …]
Di8254.h25 struct kvm_timer pit_timer; member
Dx86.c3033 kvm->arch.vpit->pit_state.pit_timer.reinject = control->pit_reinject; in kvm_vm_ioctl_reinject()