Home
last modified time | relevance | path

Searched refs:hrtimer (Results 1 – 25 of 77) sorted by relevance

1234

/linux-3.4.99/include/trace/events/
Dtimer.h132 TP_PROTO(struct hrtimer *hrtimer, clockid_t clockid,
135 TP_ARGS(hrtimer, clockid, mode),
138 __field( void *, hrtimer )
144 __entry->hrtimer = hrtimer;
149 TP_printk("hrtimer=%p clockid=%s mode=%s", __entry->hrtimer,
162 TP_PROTO(struct hrtimer *hrtimer),
164 TP_ARGS(hrtimer),
167 __field( void *, hrtimer )
174 __entry->hrtimer = hrtimer;
175 __entry->function = hrtimer->function;
[all …]
/linux-3.4.99/include/linux/
Dhrtimer.h108 struct hrtimer { struct
111 enum hrtimer_restart (*function)(struct hrtimer *); argument
129 struct hrtimer timer; argument
195 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires()
201 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range()
207 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, unsigned long … in hrtimer_set_expires_range_ns()
213 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64()
219 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires()
225 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
231 static inline ktime_t hrtimer_get_expires(const struct hrtimer *timer) in hrtimer_get_expires()
[all …]
Dinterrupt.h615 struct hrtimer timer;
617 enum hrtimer_restart (*function)(struct hrtimer *);
622 enum hrtimer_restart (*function)(struct hrtimer *),
Drtc.h202 struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */
259 enum hrtimer_restart rtc_pie_update_irq(struct hrtimer *timer);
Dtimer.h289 struct hrtimer;
290 extern enum hrtimer_restart it_real_fn(struct hrtimer *);
/linux-3.4.99/drivers/oprofile/
Dtimer_int.c23 static DEFINE_PER_CPU(struct hrtimer, oprofile_hrtimer);
26 static enum hrtimer_restart oprofile_hrtimer_notify(struct hrtimer *hrtimer) in oprofile_hrtimer_notify() argument
29 hrtimer_forward_now(hrtimer, ns_to_ktime(TICK_NSEC)); in oprofile_hrtimer_notify()
35 struct hrtimer *hrtimer = &__get_cpu_var(oprofile_hrtimer); in __oprofile_hrtimer_start() local
40 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in __oprofile_hrtimer_start()
41 hrtimer->function = oprofile_hrtimer_notify; in __oprofile_hrtimer_start()
43 hrtimer_start(hrtimer, ns_to_ktime(TICK_NSEC), in __oprofile_hrtimer_start()
58 struct hrtimer *hrtimer = &per_cpu(oprofile_hrtimer, cpu); in __oprofile_hrtimer_stop() local
63 hrtimer_cancel(hrtimer); in __oprofile_hrtimer_stop()
/linux-3.4.99/kernel/
Dhrtimer.c138 struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, in lock_hrtimer_base()
177 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target()
196 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, in switch_hrtimer_base()
247 lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags) in lock_hrtimer_base()
365 return ((struct hrtimer *) addr)->function; in hrtimer_debug_hint()
374 struct hrtimer *timer = addr; in hrtimer_fixup_init()
413 struct hrtimer *timer = addr; in hrtimer_fixup_free()
433 static inline void debug_hrtimer_init(struct hrtimer *timer) in debug_hrtimer_init()
438 static inline void debug_hrtimer_activate(struct hrtimer *timer) in debug_hrtimer_activate()
443 static inline void debug_hrtimer_deactivate(struct hrtimer *timer) in debug_hrtimer_deactivate()
[all …]
Dwatchdog.c34 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
259 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
272 hrtimer_forward_now(hrtimer, ns_to_ktime(get_sample_period())); in watchdog_timer_fn()
325 struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer); in watchdog() local
332 hrtimer_start(hrtimer, ns_to_ktime(get_sample_period()), in watchdog()
428 struct hrtimer *hrtimer = &per_cpu(watchdog_hrtimer, cpu); in watchdog_prepare_cpu() local
431 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in watchdog_prepare_cpu()
432 hrtimer->function = watchdog_timer_fn; in watchdog_prepare_cpu()
473 struct hrtimer *hrtimer = &per_cpu(watchdog_hrtimer, cpu); in watchdog_disable() local
479 hrtimer_cancel(hrtimer); in watchdog_disable()
Ditimer.c27 static struct timeval itimer_get_remtime(struct hrtimer *timer) in itimer_get_remtime()
121 enum hrtimer_restart it_real_fn(struct hrtimer *timer) in it_real_fn()
193 struct hrtimer *timer; in do_setitimer()
Dposix-timers.c145 static enum hrtimer_restart posix_timer_fn(struct hrtimer *data);
293 struct hrtimer *timer = &timr->it.real.timer; in schedule_next_timer()
375 static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer) in posix_timer_fn()
684 struct hrtimer *timer = &timr->it.real.timer; in common_timer_get()
780 struct hrtimer *timer = &timr->it.real.timer; in common_timer_set()
/linux-3.4.99/sound/sh/
Dsh_dac_audio.c57 struct hrtimer hrtimer; member
71 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in dac_audio_start_timer()
77 hrtimer_cancel(&chip->hrtimer); in dac_audio_stop_timer()
315 static enum hrtimer_restart sh_dac_audio_timer(struct hrtimer *handle) in sh_dac_audio_timer()
318 hrtimer); in sh_dac_audio_timer()
342 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in sh_dac_audio_timer()
368 hrtimer_init(&chip->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in snd_sh_dac_create()
369 chip->hrtimer.function = sh_dac_audio_timer; in snd_sh_dac_create()
/linux-3.4.99/Documentation/
Dlockup-watchdogs.txt34 The soft and hard lockup detectors are built on top of the hrtimer and
39 A periodic hrtimer runs to generate interrupts and kick the watchdog
43 does not receive any hrtimer interrupt during that time the
51 'softlockup detector' (coded inside the hrtimer callback function)
56 The period of the hrtimer is 2*watchdog_thresh/5, which means it has
61 administrators to configure the period of the hrtimer and the perf
/linux-3.4.99/sound/core/
DMakefile21 snd-hrtimer-objs := hrtimer.o
30 obj-$(CONFIG_SND_HRTIMER) += snd-hrtimer.o
Dhrtimer.c40 struct hrtimer hrt;
44 static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) in snd_hrtimer_callback()
/linux-3.4.99/arch/x86/kvm/
Dkvm_timer.h3 struct hrtimer timer;
18 enum hrtimer_restart kvm_timer_fn(struct hrtimer *data);
Dtimer.c21 enum hrtimer_restart kvm_timer_fn(struct hrtimer *data) in kvm_timer_fn()
/linux-3.4.99/sound/drivers/pcsp/
Dpcsp.h56 struct hrtimer timer;
76 extern enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle);
/linux-3.4.99/kernel/time/
Dtimer_list.c50 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer()
80 struct hrtimer *timer, tmp; in print_active_timers()
101 timer = container_of(curr, struct hrtimer, node); in print_active_timers()
/linux-3.4.99/arch/powerpc/oprofile/cell/
Dspu_profiler.c137 static enum hrtimer_restart profile_spus(struct hrtimer *timer) in profile_spus()
194 static struct hrtimer timer;
/linux-3.4.99/net/can/
Dbcm.c101 struct hrtimer timer, thrtimer;
389 static enum hrtimer_restart bcm_tx_timeout_handler(struct hrtimer *hrtimer) in bcm_tx_timeout_handler() argument
391 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); in bcm_tx_timeout_handler()
540 static enum hrtimer_restart bcm_rx_timeout_handler(struct hrtimer *hrtimer) in bcm_rx_timeout_handler() argument
542 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); in bcm_rx_timeout_handler()
609 static enum hrtimer_restart bcm_rx_thr_handler(struct hrtimer *hrtimer) in bcm_rx_thr_handler() argument
611 struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer); in bcm_rx_thr_handler()
616 hrtimer_forward(hrtimer, ktime_get(), op->kt_ival2); in bcm_rx_thr_handler()
/linux-3.4.99/drivers/staging/android/
Dtimed_gpio.c30 struct hrtimer timer;
37 static enum hrtimer_restart gpio_timer_func(struct hrtimer *timer) in gpio_timer_func()
/linux-3.4.99/Documentation/timers/
Dhighres.txt22 - hrtimer base infrastructure
29 hrtimer base infrastructure
32 The hrtimer base infrastructure was merged into the 2.6.16 kernel. Details of
173 handler. An additional mode field in the hrtimer structure allows the system to
186 The periodic tick functionality is provided by an per-cpu hrtimer. The callback
188 and calls update_process_times and profiling. The implementation of the hrtimer
195 The softirq for running the hrtimer queues and executing the callbacks has been
207 Dynamic ticks are the logical consequence of the hrtimer based periodic tick
208 replacement (sched_tick). The functionality of the sched_tick hrtimer is
Dhrtimers.txt65 yet, the hrtimer subsystem can be easily extended with high-resolution
78 hrtimer subsystem implementation details
119 hrtimer functions now have clearer behavior and clearer names - such as
141 the hrtimer code will round timer events to lower-resolution clocks
152 the hrtimer implementation details in praxis, and we also ran the posix
156 The hrtimer patch converts the following kernel functionality to use
/linux-3.4.99/drivers/pps/generators/
Dpps_gen_parport.c57 struct hrtimer timer;
71 static enum hrtimer_restart hrtimer_event(struct hrtimer *timer) in hrtimer_event()
/linux-3.4.99/arch/s390/kvm/
Dkvm-s390.h69 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer);

1234