Home
last modified time | relevance | path

Searched refs:ktimer (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/pps/clients/
Dpps-ktimer.c22 static struct timer_list ktimer; variable
37 mod_timer(&ktimer, jiffies + HZ); in pps_ktimer_event()
61 del_timer_sync(&ktimer); in pps_ktimer_exit()
74 timer_setup(&ktimer, pps_ktimer_event, 0); in pps_ktimer_init()
75 mod_timer(&ktimer, jiffies + HZ); in pps_ktimer_init()
DMakefile6 obj-$(CONFIG_PPS_CLIENT_KTIMER) += pps-ktimer.o
DKconfig15 will be called pps-ktimer.
/linux-6.1.9/arch/x86/kvm/
Dlapic.c1710 struct kvm_timer *ktimer = &apic->lapic_timer; in kvm_apic_inject_pending_timer_irqs() local
1714 ktimer->tscdeadline = 0; in kvm_apic_inject_pending_timer_irqs()
1716 ktimer->tscdeadline = 0; in kvm_apic_inject_pending_timer_irqs()
1717 ktimer->target_expiration = 0; in kvm_apic_inject_pending_timer_irqs()
1724 struct kvm_timer *ktimer = &apic->lapic_timer; in apic_timer_expired() local
1729 if (apic_lvtt_tscdeadline(apic) || ktimer->hv_timer_in_use) in apic_timer_expired()
1730 ktimer->expired_tscdeadline = ktimer->tscdeadline; in apic_timer_expired()
1761 struct kvm_timer *ktimer = &apic->lapic_timer; in start_sw_tscdeadline() local
1762 u64 guest_tsc, tscdeadline = ktimer->tscdeadline; in start_sw_tscdeadline()
1784 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()
[all …]
/linux-6.1.9/Documentation/driver-api/
Dpps.rst96 .name = "ktimer",
133 Please see the file drivers/pps/clients/pps-ktimer.c for example code.
175 the pps-ktimer driver (see the client subsection in the PPS configuration menu)
179 Once you have enabled the compilation of pps-ktimer just modprobe it (if
182 # modprobe pps-ktimer
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c7829 struct kvm_timer *ktimer = &vcpu->arch.apic->lapic_timer; in vmx_set_hv_timer() local
7836 ktimer->timer_advance_ns); in vmx_set_hv_timer()