Lines Matching refs:wakeup_source
73 static struct wakeup_source deleted_ws = {
84 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
86 struct wakeup_source *ws; in wakeup_source_create()
118 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
143 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
156 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
171 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
192 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
218 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
221 struct wakeup_source *ws; in wakeup_source_register()
243 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
285 struct wakeup_source *wakeup_sources_walk_start(void) in wakeup_sources_walk_start()
289 return list_entry_rcu(ws_head->next, struct wakeup_source, entry); in wakeup_sources_walk_start()
300 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws) in wakeup_sources_walk_next()
305 struct wakeup_source, entry); in wakeup_sources_walk_next()
316 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
338 struct wakeup_source *ws; in device_wakeup_enable()
373 struct wakeup_source *ws; in device_wakeup_attach_irq()
395 struct wakeup_source *ws; in device_wakeup_detach_irq()
409 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
425 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
440 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
442 struct wakeup_source *ws; in device_wakeup_detach()
460 struct wakeup_source *ws; in device_wakeup_disable()
546 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
591 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
616 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
636 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
678 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
684 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
696 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
753 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
796 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
823 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
877 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
879 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
1028 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
1056 struct wakeup_source *ws) in print_wakeup_source_stats()
1101 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1123 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1124 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1153 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()