Searched refs:ktimer (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/arch/x86/kvm/ |
D | timer.c | 23 struct kvm_timer *ktimer = container_of(data, struct kvm_timer, timer); in kvm_timer_fn() local 24 struct kvm_vcpu *vcpu = ktimer->vcpu; in kvm_timer_fn() 33 if (ktimer->reinject || !atomic_read(&ktimer->pending)) { in kvm_timer_fn() 34 atomic_inc(&ktimer->pending); in kvm_timer_fn() 42 if (ktimer->t_ops->is_periodic(ktimer)) { in kvm_timer_fn() 43 hrtimer_add_expires_ns(&ktimer->timer, ktimer->period); in kvm_timer_fn()
|
D | i8254.c | 276 static bool kpit_is_periodic(struct kvm_timer *ktimer) in kpit_is_periodic() argument 278 struct kvm_kpit_state *ps = container_of(ktimer, struct kvm_kpit_state, in kpit_is_periodic() 326 struct kvm_timer *ktimer = container_of(data, struct kvm_timer, timer); in pit_timer_fn() local 327 struct kvm_pit *pt = ktimer->kvm->arch.vpit; in pit_timer_fn() 329 if (ktimer->reinject || !atomic_read(&ktimer->pending)) { in pit_timer_fn() 330 atomic_inc(&ktimer->pending); in pit_timer_fn() 334 if (ktimer->t_ops->is_periodic(ktimer)) { in pit_timer_fn() 335 hrtimer_add_expires_ns(&ktimer->timer, ktimer->period); in pit_timer_fn()
|
D | lapic.c | 1108 static bool lapic_is_periodic(struct kvm_timer *ktimer) in lapic_is_periodic() argument 1110 struct kvm_lapic *apic = container_of(ktimer, struct kvm_lapic, in lapic_is_periodic()
|
/linux-3.4.99/drivers/pps/clients/ |
D | pps-ktimer.c | 36 static struct timer_list ktimer; variable 51 mod_timer(&ktimer, jiffies + HZ); in pps_ktimer_event() 75 del_timer_sync(&ktimer); in pps_ktimer_exit() 88 setup_timer(&ktimer, pps_ktimer_event, 0); in pps_ktimer_init() 89 mod_timer(&ktimer, jiffies + HZ); in pps_ktimer_init()
|
D | Makefile | 5 obj-$(CONFIG_PPS_CLIENT_KTIMER) += pps-ktimer.o
|
D | Kconfig | 16 will be called pps-ktimer.
|
/linux-3.4.99/Documentation/pps/ |
D | pps.txt | 76 .name = "ktimer", 113 Please see the file drivers/pps/clients/ktimer.c for example code. 153 the ktimer driver (see the client subsection in the PPS configuration menu) 156 Once you have enabled the compilation of ktimer just modprobe it (if 159 # modprobe ktimer
|