Lines Matching refs:ws

66 #define for_each_wakeup_source(ws) \  argument
67 for ((ws) = wakeup_sources_walk_start(); \
68 (ws); \
69 (ws) = wakeup_sources_walk_next((ws)))
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);
99 extern void wakeup_source_unregister(struct wakeup_source *ws);
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);
133 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy() argument
135 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add() argument
137 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
179 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake() argument
183 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax() argument
187 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event() argument
195 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
197 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()