Searched refs:clock_event_device (Results 1 – 10 of 10) sorted by relevance
/kernel/time/ |
D | tick-internal.h | 20 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 21 extern void tick_handle_periodic(struct clock_event_device *dev); 22 extern void tick_check_new_device(struct clock_event_device *dev); 26 extern bool tick_check_replacement(struct clock_event_device *curdev, 27 struct clock_event_device *newdev); 28 extern void tick_install_replacement(struct clock_event_device *dev); 32 extern int clockevents_tick_resume(struct clock_event_device *dev); 34 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() 39 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() 44 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() [all …]
|
D | tick-broadcast.c | 36 static DEFINE_PER_CPU(struct clock_event_device *, tick_oneshot_wakeup_device); 38 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic); 40 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc); 46 tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic) { BUG(); } in tick_broadcast_setup_oneshot() 48 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } in tick_resume_broadcast_oneshot() 67 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu); 69 const struct clock_event_device *tick_get_wakeup_device(int cpu) in tick_get_wakeup_device() 77 static void tick_broadcast_start_periodic(struct clock_event_device *bc) in tick_broadcast_start_periodic() 86 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device() 87 struct clock_event_device *newdev) in tick_check_broadcast_device() [all …]
|
D | clockevents.c | 28 struct clock_event_device *ce; 32 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, in cev_delta2ns() 85 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) in clockevent_delta2ns() 91 static int __clockevents_switch_state(struct clock_event_device *dev, in __clockevents_switch_state() 147 void clockevents_switch_state(struct clock_event_device *dev, in clockevents_switch_state() 171 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown() 181 int clockevents_tick_resume(struct clock_event_device *dev) in clockevents_tick_resume() 202 static int clockevents_increase_min_delta(struct clock_event_device *dev) in clockevents_increase_min_delta() 233 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() 272 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() [all …]
|
D | tick-common.c | 74 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available() 109 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic() 154 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() 208 struct clock_event_device *newdev, int cpu, in tick_setup_device() 211 void (*handler)(struct clock_event_device *) = NULL; in tick_setup_device() 278 void tick_install_replacement(struct clock_event_device *newdev) in tick_install_replacement() 289 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_check_percpu() 290 struct clock_event_device *newdev, int cpu) in tick_check_percpu() 305 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_preferred() 306 struct clock_event_device *newdev) in tick_check_preferred() [all …]
|
D | tick-oneshot.c | 25 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event() 52 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot() 61 void tick_setup_oneshot(struct clock_event_device *newdev, in tick_setup_oneshot() 62 void (*handler)(struct clock_event_device *), in tick_setup_oneshot() argument 73 int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)) in tick_switch_to_oneshot() argument 76 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot()
|
D | tick-broadcast-hrtimer.c | 20 static int bc_shutdown(struct clock_event_device *evt) in bc_shutdown() 43 static int bc_set_next(ktime_t expires, struct clock_event_device *bc) in bc_set_next() 81 static struct clock_event_device ce_broadcast_hrtimer = {
|
D | tick-sched.h | 13 struct clock_event_device *evtdev;
|
D | timer_list.c | 180 struct clock_event_device *dev = td->evtdev; in print_tickdevice() 234 const struct clock_event_device *wd = tick_get_wakeup_device(cpu); in print_tickdevice()
|
D | tick-sched.c | 894 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_stop_tick() 1245 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_nohz_get_sleep_length() 1383 static void tick_nohz_handler(struct clock_event_device *dev) in tick_nohz_handler()
|
D | hrtimer.c | 1781 void hrtimer_interrupt(struct clock_event_device *dev) in hrtimer_interrupt()
|