Lines Matching refs:wakeup_source

43 struct wakeup_source {  struct
88 extern struct wakeup_source *wakeup_source_create(const char *name);
89 extern void wakeup_source_destroy(struct wakeup_source *ws);
90 extern void wakeup_source_add(struct wakeup_source *ws);
91 extern void wakeup_source_remove(struct wakeup_source *ws);
92 extern struct wakeup_source *wakeup_source_register(struct device *dev,
94 extern void wakeup_source_unregister(struct wakeup_source *ws);
100 extern void __pm_stay_awake(struct wakeup_source *ws);
102 extern void __pm_relax(struct wakeup_source *ws);
104 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
119 static inline struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
124 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
126 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
128 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
130 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
136 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
170 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
174 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
178 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event()
186 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()