Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/arch/x86/kvm/
Dlapic.c1618 struct kvm_timer *ktimer = &apic->lapic_timer; in kvm_apic_inject_pending_timer_irqs() local
1622 ktimer->tscdeadline = 0; in kvm_apic_inject_pending_timer_irqs()
1624 ktimer->tscdeadline = 0; in kvm_apic_inject_pending_timer_irqs()
1625 ktimer->target_expiration = 0; in kvm_apic_inject_pending_timer_irqs()
1632 struct kvm_timer *ktimer = &apic->lapic_timer; in apic_timer_expired() local
1637 if (apic_lvtt_tscdeadline(apic) || ktimer->hv_timer_in_use) in apic_timer_expired()
1638 ktimer->expired_tscdeadline = ktimer->tscdeadline; in apic_timer_expired()
1669 struct kvm_timer *ktimer = &apic->lapic_timer; in start_sw_tscdeadline() local
1670 u64 guest_tsc, tscdeadline = ktimer->tscdeadline; in start_sw_tscdeadline()
1692 expire = ktime_sub_ns(expire, ktimer->timer_advance_ns); in start_sw_tscdeadline()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c7522 struct kvm_timer *ktimer = &vcpu->arch.apic->lapic_timer; in vmx_set_hv_timer() local
7529 ktimer->timer_advance_ns); in vmx_set_hv_timer()