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()
129 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
160 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
176 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
197 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
215 struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
217 struct wakeup_source *ws; in wakeup_source_register()
231 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
247 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
269 struct wakeup_source *ws; in device_wakeup_enable()
304 struct wakeup_source *ws; in device_wakeup_attach_irq()
326 struct wakeup_source *ws; in device_wakeup_detach_irq()
340 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
356 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
371 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
373 struct wakeup_source *ws; in device_wakeup_detach()
391 struct wakeup_source *ws; in device_wakeup_disable()
477 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
522 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
547 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
567 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
609 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
615 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
627 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
684 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
727 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
754 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
808 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
810 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
959 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
989 struct wakeup_source *ws) in print_wakeup_source_stats()
1034 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1056 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1057 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1083 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()