Searched refs:lapic_timer (Results 1 – 6 of 6) sorted by relevance
342 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_ONESHOT; in apic_lvtt_oneshot()347 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_PERIODIC; in apic_lvtt_period()352 return apic->lapic_timer.timer_mode == APIC_LVT_TIMER_TSCDEADLINE; in apic_lvtt_tscdeadline()1302 apic->lapic_timer.period == 0) in apic_get_tmcct()1306 remaining = ktime_sub(apic->lapic_timer.target_expiration, now); in apic_get_tmcct()1310 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()1479 if (apic_lvtt_period(apic) && apic->lapic_timer.period) { in limit_periodic_timer_frequency()1482 if (apic->lapic_timer.period < min_period) { in limit_periodic_timer_frequency()1487 apic->lapic_timer.period, min_period); in limit_periodic_timer_frequency()1488 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()
47 struct kvm_timer lapic_timer; member
158 apic->lapic_timer.timer_mode_mask = 3 << 17; in kvm_vcpu_after_set_cpuid()160 apic->lapic_timer.timer_mode_mask = 1 << 17; in kvm_vcpu_after_set_cpuid()
9149 s64 delta = vcpu->arch.apic->lapic_timer.advance_expire_delta; in vcpu_enter_guest()9152 vcpu->arch.apic->lapic_timer.advance_expire_delta = S64_MIN; in vcpu_enter_guest()
7522 struct kvm_timer *ktimer = &vcpu->arch.apic->lapic_timer; in vmx_set_hv_timer()