Lines Matching refs:ws
92 extern void wakeup_source_prepare(struct wakeup_source *ws, const char *name);
94 extern void wakeup_source_drop(struct wakeup_source *ws);
95 extern void wakeup_source_destroy(struct wakeup_source *ws);
96 extern void wakeup_source_add(struct wakeup_source *ws);
97 extern void wakeup_source_remove(struct wakeup_source *ws);
99 extern void wakeup_source_unregister(struct wakeup_source *ws);
105 extern void __pm_stay_awake(struct wakeup_source *ws);
107 extern void __pm_relax(struct wakeup_source *ws);
109 extern void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec);
124 static inline void wakeup_source_prepare(struct wakeup_source *ws, in wakeup_source_prepare() argument
132 static inline void wakeup_source_drop(struct wakeup_source *ws) {} in wakeup_source_drop() argument
134 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy() argument
136 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add() argument
138 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove() argument
145 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister() argument
177 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake() argument
181 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax() argument
185 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) {} in __pm_wakeup_event() argument
191 static inline void wakeup_source_init(struct wakeup_source *ws, in wakeup_source_init() argument
194 wakeup_source_prepare(ws, name); in wakeup_source_init()
195 wakeup_source_add(ws); in wakeup_source_init()
198 static inline void wakeup_source_trash(struct wakeup_source *ws) in wakeup_source_trash() argument
200 wakeup_source_remove(ws); in wakeup_source_trash()
201 wakeup_source_drop(ws); in wakeup_source_trash()