Lines Matching refs:clock_event_device
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);
40 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc);
45 static inline void tick_broadcast_setup_oneshot(struct clock_event_device *bc) { BUG(); } in tick_broadcast_setup_oneshot()
47 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } in tick_resume_broadcast_oneshot()
66 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu);
68 const struct clock_event_device *tick_get_wakeup_device(int cpu) in tick_get_wakeup_device()
76 static void tick_broadcast_start_periodic(struct clock_event_device *bc) in tick_broadcast_start_periodic()
85 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device()
86 struct clock_event_device *newdev) in tick_check_broadcast_device()
101 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) in tick_get_oneshot_wakeup_device()
106 static void tick_oneshot_wakeup_handler(struct clock_event_device *wd) in tick_oneshot_wakeup_handler()
115 static bool tick_set_oneshot_wakeup_device(struct clock_event_device *newdev, in tick_set_oneshot_wakeup_device()
118 struct clock_event_device *curdev = tick_get_oneshot_wakeup_device(cpu); in tick_set_oneshot_wakeup_device()
147 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) in tick_get_oneshot_wakeup_device()
152 static bool tick_set_oneshot_wakeup_device(struct clock_event_device *newdev, in tick_set_oneshot_wakeup_device()
162 void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) in tick_install_broadcast_device()
164 struct clock_event_device *cur = tick_broadcast_device.evtdev; in tick_install_broadcast_device()
208 int tick_is_broadcast_device(struct clock_event_device *dev) in tick_is_broadcast_device()
213 int tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) in tick_broadcast_update_freq()
231 static void tick_device_setup_broadcast_func(struct clock_event_device *dev) in tick_device_setup_broadcast_func()
246 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast()
248 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_device_uses_broadcast()
330 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast()
355 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_do_broadcast()
399 static void tick_handle_periodic_broadcast(struct clock_event_device *dev) in tick_handle_periodic_broadcast()
439 struct clock_event_device *bc, *dev; in tick_broadcast_control()
514 void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) in tick_set_periodic_handler()
525 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_shutdown_broadcast()
550 struct clock_event_device *bc; in tick_suspend_broadcast()
580 struct clock_event_device *bc; in tick_resume_broadcast()
633 static void tick_broadcast_set_affinity(struct clock_event_device *bc, in tick_broadcast_set_affinity()
646 static void tick_broadcast_set_event(struct clock_event_device *bc, int cpu, in tick_broadcast_set_event()
656 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc) in tick_resume_broadcast_oneshot()
685 static void tick_handle_oneshot_broadcast(struct clock_event_device *dev) in tick_handle_oneshot_broadcast()
765 static int broadcast_needs_cpu(struct clock_event_device *bc, int cpu) in broadcast_needs_cpu()
774 static void broadcast_shutdown_local(struct clock_event_device *bc, in broadcast_shutdown_local()
775 struct clock_event_device *dev) in broadcast_shutdown_local()
795 struct clock_event_device *bc, *dev = td->evtdev; in ___tick_broadcast_oneshot_control()
933 struct clock_event_device *dev, *wd; in tick_oneshot_wakeup_control()
1019 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc) in tick_broadcast_setup_oneshot()
1068 struct clock_event_device *bc; in tick_broadcast_switch_to_oneshot()
1084 struct clock_event_device *bc; in hotplug_cpu__broadcast_tick_pull()
1128 struct clock_event_device *bc = tick_broadcast_device.evtdev; in tick_broadcast_oneshot_available()
1136 struct clock_event_device *bc = tick_broadcast_device.evtdev; in __tick_broadcast_oneshot_control()