Lines Matching refs:wakeup_source

69 static struct wakeup_source deleted_ws = {
80 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
82 struct wakeup_source *ws; in wakeup_source_create()
114 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
139 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
152 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
167 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
188 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
214 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
217 struct wakeup_source *ws; in wakeup_source_register()
239 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
281 struct wakeup_source *wakeup_sources_walk_start(void) in wakeup_sources_walk_start()
285 return list_entry_rcu(ws_head->next, struct wakeup_source, entry); in wakeup_sources_walk_start()
296 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws) in wakeup_sources_walk_next()
301 struct wakeup_source, entry); in wakeup_sources_walk_next()
312 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
334 struct wakeup_source *ws; in device_wakeup_enable()
369 struct wakeup_source *ws; in device_wakeup_attach_irq()
391 struct wakeup_source *ws; in device_wakeup_detach_irq()
405 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
421 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
436 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
438 struct wakeup_source *ws; in device_wakeup_detach()
456 struct wakeup_source *ws; in device_wakeup_disable()
513 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
558 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
583 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
603 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
645 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
651 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
663 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
720 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
763 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
790 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
844 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
846 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
1024 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
1052 struct wakeup_source *ws) in print_wakeup_source_stats()
1097 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1119 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1120 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1149 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()