Lines Matching refs:wakeup_source

74 static struct wakeup_source deleted_ws = {
85 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
87 struct wakeup_source *ws; in wakeup_source_create()
119 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
144 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
157 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
172 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
193 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
219 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
222 struct wakeup_source *ws; in wakeup_source_register()
244 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
286 struct wakeup_source *wakeup_sources_walk_start(void) in wakeup_sources_walk_start()
290 return list_entry_rcu(ws_head->next, struct wakeup_source, entry); in wakeup_sources_walk_start()
301 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws) in wakeup_sources_walk_next()
306 struct wakeup_source, entry); in wakeup_sources_walk_next()
317 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
339 struct wakeup_source *ws; in device_wakeup_enable()
374 struct wakeup_source *ws; in device_wakeup_attach_irq()
396 struct wakeup_source *ws; in device_wakeup_detach_irq()
410 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
426 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
441 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
443 struct wakeup_source *ws; in device_wakeup_detach()
461 struct wakeup_source *ws; in device_wakeup_disable()
518 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
563 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
588 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
608 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
650 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
656 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
668 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
725 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
768 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
795 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
849 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
851 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
1029 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
1057 struct wakeup_source *ws) in print_wakeup_source_stats()
1102 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1124 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1125 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1154 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()