Lines Matching refs:wakeup_source

69 static struct wakeup_source deleted_ws = {
77 * wakeup_source_create - Create a struct wakeup_source object.
80 struct wakeup_source *wakeup_source_create(const char *name)
82 struct wakeup_source *ws;
112 * Record wakeup_source statistics being deleted into a dummy wakeup_source.
114 static void wakeup_source_record(struct wakeup_source *ws)
139 static void wakeup_source_free(struct wakeup_source *ws)
147 * wakeup_source_destroy - Destroy a struct wakeup_source object.
152 void wakeup_source_destroy(struct wakeup_source *ws)
167 void wakeup_source_add(struct wakeup_source *ws)
188 void wakeup_source_remove(struct wakeup_source *ws)
214 struct wakeup_source *wakeup_source_register(struct device *dev,
217 struct wakeup_source *ws;
239 void wakeup_source_unregister(struct wakeup_source *ws)
281 struct wakeup_source *wakeup_sources_walk_start(void)
285 return list_entry_rcu(ws_head->next, struct wakeup_source, entry);
296 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws)
301 struct wakeup_source, entry);
312 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws)
334 struct wakeup_source *ws;
369 struct wakeup_source *ws;
391 struct wakeup_source *ws;
405 struct wakeup_source *ws;
421 struct wakeup_source *ws;
436 static struct wakeup_source *device_wakeup_detach(struct device *dev)
438 struct wakeup_source *ws;
456 struct wakeup_source *ws;
516 static bool wakeup_source_not_registered(struct wakeup_source *ws)
561 static void wakeup_source_activate(struct wakeup_source *ws)
586 static void wakeup_source_report_event(struct wakeup_source *ws, bool hard)
606 void __pm_stay_awake(struct wakeup_source *ws)
648 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now)
654 static inline void update_prevent_sleep_time(struct wakeup_source *ws,
666 static void wakeup_source_deactivate(struct wakeup_source *ws)
723 void __pm_relax(struct wakeup_source *ws)
766 struct wakeup_source *ws = from_timer(ws, t, timer);
793 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard)
847 struct wakeup_source *ws;
849 struct wakeup_source *last_activity_ws = NULL;
1027 struct wakeup_source *ws;
1055 struct wakeup_source *ws)
1100 struct wakeup_source *ws;
1122 struct wakeup_source *ws = v;
1123 struct wakeup_source *next_ws = NULL;
1148 * @v: wakeup_source of each iteration
1152 struct wakeup_source *ws = v;