Lines Matching refs:wakeup_source
67 void wakeup_source_prepare(struct wakeup_source *ws, const char *name) in wakeup_source_prepare()
80 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
82 struct wakeup_source *ws; in wakeup_source_create()
100 void wakeup_source_drop(struct wakeup_source *ws) in wakeup_source_drop()
116 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
131 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
153 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
171 struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
173 struct wakeup_source *ws; in wakeup_source_register()
187 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
203 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
223 struct wakeup_source *ws; in device_wakeup_enable()
247 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
249 struct wakeup_source *ws; in device_wakeup_detach()
267 struct wakeup_source *ws; in device_wakeup_disable()
390 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
416 static void wakeup_source_report_event(struct wakeup_source *ws) in wakeup_source_report_event()
433 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
475 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
481 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
493 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
550 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
593 struct wakeup_source *ws = (struct wakeup_source *)data; in pm_wakeup_timer_fn()
619 void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()
673 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
675 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
809 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
838 struct wakeup_source *ws) in print_wakeup_source_stats()
886 struct wakeup_source *ws; in wakeup_sources_stats_show()