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()
516 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
561 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
586 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard) in wakeup_source_report_event()
606 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
648 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
654 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
666 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
723 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
766 struct wakeup_source *ws = from_timer(ws, t, timer); in pm_wakeup_timer_fn()
793 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event()
847 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
849 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
1027 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
1055 struct wakeup_source *ws) in print_wakeup_source_stats()
1100 struct wakeup_source *ws; in wakeup_sources_stats_seq_start()
1122 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_next()
1123 struct wakeup_source *next_ws = NULL; in wakeup_sources_stats_seq_next()
1152 struct wakeup_source *ws = v; in wakeup_sources_stats_seq_show()