Lines Matching refs:wakeup_source
63 static struct wakeup_source deleted_ws = {
76 void wakeup_source_prepare(struct wakeup_source *ws, const char *name) in wakeup_source_prepare()
89 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
91 struct wakeup_source *ws; in wakeup_source_create()
109 void wakeup_source_drop(struct wakeup_source *ws) in wakeup_source_drop()
122 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
153 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
169 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
191 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
209 struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
211 struct wakeup_source *ws; in wakeup_source_register()
225 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
241 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
261 struct wakeup_source *ws; in device_wakeup_enable()
293 struct wakeup_source *ws; in device_wakeup_attach_irq()
318 struct wakeup_source *ws; in device_wakeup_detach_irq()
332 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
349 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
365 static struct wakeup_source *device_wakeup_detach(struct device *dev) in device_wakeup_detach()
367 struct wakeup_source *ws; in device_wakeup_detach()
385 struct wakeup_source *ws; in device_wakeup_disable()
476 static bool wakeup_source_not_registered(struct wakeup_source *ws) in wakeup_source_not_registered()
522 static void wakeup_source_activate(struct wakeup_source *ws) in wakeup_source_activate()
552 static void wakeup_source_report_event(struct wakeup_source *ws) in wakeup_source_report_event()
569 void __pm_stay_awake(struct wakeup_source *ws) in __pm_stay_awake()
611 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time()
617 static inline void update_prevent_sleep_time(struct wakeup_source *ws, in update_prevent_sleep_time()
629 static void wakeup_source_deactivate(struct wakeup_source *ws) in wakeup_source_deactivate()
686 void __pm_relax(struct wakeup_source *ws) in __pm_relax()
729 struct wakeup_source *ws = (struct wakeup_source *)data; in pm_wakeup_timer_fn()
755 void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()
809 struct wakeup_source *ws; in pm_print_active_wakeup_sources()
811 struct wakeup_source *last_activity_ws = NULL; in pm_print_active_wakeup_sources()
954 struct wakeup_source *ws; in pm_wakep_autosleep_enabled()
983 struct wakeup_source *ws) in print_wakeup_source_stats()
1031 struct wakeup_source *ws; in wakeup_sources_stats_show()