Lines Matching refs:wakeup_source
43 struct wakeup_source { struct
93 extern struct wakeup_source *wakeup_source_create(const char *name);
94 extern void wakeup_source_destroy(struct wakeup_source *ws);
95 extern void wakeup_source_add(struct wakeup_source *ws);
96 extern void wakeup_source_remove(struct wakeup_source *ws);
97 extern struct wakeup_source *wakeup_source_register(struct device *dev,
99 extern void wakeup_source_unregister(struct wakeup_source *ws);
102 extern struct wakeup_source *wakeup_sources_walk_start(void);
103 extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
109 extern void __pm_stay_awake(struct wakeup_source *ws);
111 extern void __pm_relax(struct wakeup_source *ws);
113 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
128 static inline struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
133 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
135 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
137 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
139 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
145 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
179 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
183 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
187 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event()
195 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()