Lines Matching refs:wakeup_source

43 struct wakeup_source {  struct
98 extern struct wakeup_source *wakeup_source_create(const char *name);
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);
102 extern struct wakeup_source *wakeup_source_register(struct device *dev,
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
107 extern struct wakeup_source *wakeup_sources_walk_start(void);
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);
132 static inline struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
137 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
139 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
141 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
143 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
149 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
181 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
185 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
189 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event()
197 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()