Lines Matching refs:wakeup_source

43 struct wakeup_source {  struct
76 extern struct wakeup_source *wakeup_source_create(const char *name); argument
77 extern void wakeup_source_destroy(struct wakeup_source *ws);
78 extern void wakeup_source_add(struct wakeup_source *ws);
79 extern void wakeup_source_remove(struct wakeup_source *ws);
80 extern struct wakeup_source *wakeup_source_register(const char *name);
81 extern void wakeup_source_unregister(struct wakeup_source *ws);
87 extern void __pm_stay_awake(struct wakeup_source *ws);
89 extern void __pm_relax(struct wakeup_source *ws);
91 extern void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec);
106 static inline struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
111 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
113 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
115 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
117 static inline struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
122 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
154 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
158 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
162 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) {} in __pm_wakeup_event()