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)))
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);
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
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);
137 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy() argument
139 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add() argument
141 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove() argument
149 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister() argument
181 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake() argument
185 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax() argument
189 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event() argument
207 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
209 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()