Searched refs:lapic_timer (Results 1 – 7 of 7) sorted by relevance
307 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; in apic_lvtt_oneshot()312 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_PERIODIC; in apic_lvtt_period()317 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_TSCDEADLINE; in apic_lvtt_tscdeadline()1230 apic->lapic_timer.period == 0) in apic_get_tmcct()1234 remaining = ktime_sub(apic->lapic_timer.target_expiration, now); in apic_get_tmcct()1238 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()1404 if (apic_lvtt_period(apic) && apic->lapic_timer.period) { in limit_periodic_timer_frequency()1407 if (apic->lapic_timer.period < min_period) { in limit_periodic_timer_frequency()1412 apic->lapic_timer.period, min_period); in limit_periodic_timer_frequency()1413 apic->lapic_timer.period = min_period; in limit_periodic_timer_frequency()[all …]
14 *val = vcpu->arch.apic->lapic_timer.timer_advance_ns; in vcpu_get_timer_advance_ns()
43 struct kvm_timer lapic_timer; member
89 apic->lapic_timer.timer_mode_mask = 3 << 17; in kvm_update_cpuid()91 apic->lapic_timer.timer_mode_mask = 1 << 17; in kvm_update_cpuid()
8237 s64 delta = vcpu->arch.apic->lapic_timer.advance_expire_delta; in vcpu_enter_guest()8240 vcpu->arch.apic->lapic_timer.advance_expire_delta = S64_MIN; in vcpu_enter_guest()
5640 vcpu->arch.apic->lapic_timer.timer_advance_ns) in svm_vcpu_run()
6562 vcpu->arch.apic->lapic_timer.timer_advance_ns) in vmx_vcpu_run()7176 struct kvm_timer *ktimer = &vcpu->arch.apic->lapic_timer; in vmx_set_hv_timer()