Lines Matching refs:wakeup_source

21  * struct wakeup_source - Representation of wakeup sources
43 struct wakeup_source {
98 extern struct wakeup_source *wakeup_source_create(const char *name);
99 extern void wakeup_source_destroy(struct wakeup_source *ws);
100 extern void wakeup_source_add(struct wakeup_source *ws);
101 extern void wakeup_source_remove(struct wakeup_source *ws);
102 extern struct wakeup_source *wakeup_source_register(struct device *dev,
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
107 extern struct wakeup_source *wakeup_sources_walk_start(void);
108 extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
113 extern void __pm_stay_awake(struct wakeup_source *ws);
115 extern void __pm_relax(struct wakeup_source *ws);
117 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
132 static inline struct wakeup_source *wakeup_source_create(const char *name)
137 static inline void wakeup_source_destroy(struct wakeup_source *ws) {}
139 static inline void wakeup_source_add(struct wakeup_source *ws) {}
141 static inline void wakeup_source_remove(struct wakeup_source *ws) {}
143 static inline struct wakeup_source *wakeup_source_register(struct device *dev,
149 static inline void wakeup_source_unregister(struct wakeup_source *ws) {}
180 static inline void __pm_stay_awake(struct wakeup_source *ws) {}
184 static inline void __pm_relax(struct wakeup_source *ws) {}
188 static inline void pm_wakeup_ws_event(struct wakeup_source *ws,
206 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec)