Lines Matching refs:wakeup_source

70 static struct wakeup_source deleted_ws = {
83 void wakeup_source_prepare(struct wakeup_source *ws, const char *name) in wakeup_source_prepare()
96 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
98 struct wakeup_source *ws; in wakeup_source_create()
116 void wakeup_source_drop(struct wakeup_source *ws) in wakeup_source_drop()
128 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
159 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
175 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
196 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
221 struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
223 struct wakeup_source *ws; in wakeup_source_register()
237 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
253 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
275 struct wakeup_source *ws; in device_wakeup_enable()
310 struct wakeup_source *ws; in device_wakeup_attach_irq()
332 struct wakeup_source *ws; in device_wakeup_detach_irq()
346 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
362 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
377 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
379 struct wakeup_source *ws; in device_wakeup_detach()
397 struct wakeup_source *ws; in device_wakeup_disable()
483 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
528 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
553 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
573 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
615 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
621 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
633 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
690 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
733 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
760 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
814 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
816 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
965 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
995 struct wakeup_source *ws) in print_wakeup_source_stats()
1040 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1062 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1063 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1089 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()