Home
last modified time | relevance | path

Searched refs:lapic_timer (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/x86/kvm/
Dlapic.c526 remaining = hrtimer_get_remaining(&apic->lapic_timer.timer); in apic_get_tmcct()
530 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()
667 ktime_t now = apic->lapic_timer.timer.base->get_time(); in start_apic_timer()
669 apic->lapic_timer.period = (u64)apic_get_reg(apic, APIC_TMICT) * in start_apic_timer()
671 atomic_set(&apic->lapic_timer.pending, 0); in start_apic_timer()
673 if (!apic->lapic_timer.period) in start_apic_timer()
681 if (apic->lapic_timer.period < NSEC_PER_MSEC/2) in start_apic_timer()
682 apic->lapic_timer.period = NSEC_PER_MSEC/2; in start_apic_timer()
685 hrtimer_start(&apic->lapic_timer.timer, in start_apic_timer()
686 ktime_add_ns(now, apic->lapic_timer.period), in start_apic_timer()
[all …]
Dlapic.h12 struct kvm_timer lapic_timer; member