Lines Matching refs:wakeup_source

70 static struct wakeup_source deleted_ws = {
81 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
83 struct wakeup_source *ws; in wakeup_source_create()
115 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
140 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
153 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
168 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
189 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
215 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
218 struct wakeup_source *ws; in wakeup_source_register()
240 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
257 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
279 struct wakeup_source *ws; in device_wakeup_enable()
314 struct wakeup_source *ws; in device_wakeup_attach_irq()
336 struct wakeup_source *ws; in device_wakeup_detach_irq()
350 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
366 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
381 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
383 struct wakeup_source *ws; in device_wakeup_detach()
401 struct wakeup_source *ws; in device_wakeup_disable()
487 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
532 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
557 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
577 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
619 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
625 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
637 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
694 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
737 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
764 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
818 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
820 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
969 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
997 struct wakeup_source *ws) in print_wakeup_source_stats()
1042 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1064 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1065 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1091 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()