Searched refs:lapic_timer (Results 1 – 5 of 5) sorted by relevance
542 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; in apic_lvtt_oneshot()547 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_PERIODIC; in apic_lvtt_period()552 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_TSCDEADLINE; in apic_lvtt_tscdeadline()1536 apic->lapic_timer.period == 0) in apic_get_tmcct()1540 remaining = ktime_sub(apic->lapic_timer.target_expiration, now); in apic_get_tmcct()1544 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()1726 if (apic_lvtt_period(apic) && apic->lapic_timer.period) { in limit_periodic_timer_frequency()1729 if (apic->lapic_timer.period < min_period) { in limit_periodic_timer_frequency()1734 apic->lapic_timer.period, min_period); in limit_periodic_timer_frequency()1735 apic->lapic_timer.period = min_period; in limit_periodic_timer_frequency()[all …]
18 *val = vcpu->arch.apic->lapic_timer.timer_advance_ns; in vcpu_get_timer_advance_ns()
62 struct kvm_timer lapic_timer; member
353 apic->lapic_timer.timer_mode_mask = 3 << 17; in kvm_vcpu_after_set_cpuid()355 apic->lapic_timer.timer_mode_mask = 1 << 17; in kvm_vcpu_after_set_cpuid()
8044 struct kvm_timer *ktimer = &vcpu->arch.apic->lapic_timer; in vmx_set_hv_timer()