Lines Matching refs:ws

97 extern void wakeup_source_prepare(struct wakeup_source *ws, const char *name);
99 extern void wakeup_source_drop(struct wakeup_source *ws);
100 extern void wakeup_source_destroy(struct wakeup_source *ws);
101 extern void wakeup_source_add(struct wakeup_source *ws);
102 extern void wakeup_source_remove(struct wakeup_source *ws);
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
110 extern void __pm_stay_awake(struct wakeup_source *ws);
112 extern void __pm_relax(struct wakeup_source *ws);
114 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
129 static inline void wakeup_source_prepare(struct wakeup_source *ws, in wakeup_source_prepare() argument
137 static inline void wakeup_source_drop(struct wakeup_source *ws) {} in wakeup_source_drop() argument
139 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy() argument
141 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add() argument
143 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove() argument
150 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister() argument
184 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake() argument
188 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax() argument
192 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event() argument
200 static inline void wakeup_source_init(struct wakeup_source *ws, in wakeup_source_init() argument
203 wakeup_source_prepare(ws, name); in wakeup_source_init()
204 wakeup_source_add(ws); in wakeup_source_init()
207 static inline void wakeup_source_trash(struct wakeup_source *ws) in wakeup_source_trash() argument
209 wakeup_source_remove(ws); in wakeup_source_trash()
210 wakeup_source_drop(ws); in wakeup_source_trash()
213 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
215 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()