Lines Matching refs:wakeup_source
46 struct wakeup_source { struct
83 extern void wakeup_source_prepare(struct wakeup_source *ws, const char *name); argument
84 extern struct wakeup_source *wakeup_source_create(const char *name);
85 extern void wakeup_source_drop(struct wakeup_source *ws);
86 extern void wakeup_source_destroy(struct wakeup_source *ws);
87 extern void wakeup_source_add(struct wakeup_source *ws);
88 extern void wakeup_source_remove(struct wakeup_source *ws);
89 extern struct wakeup_source *wakeup_source_register(const char *name);
90 extern void wakeup_source_unregister(struct wakeup_source *ws);
96 extern void __pm_stay_awake(struct wakeup_source *ws);
98 extern void __pm_relax(struct wakeup_source *ws);
100 extern void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec);
115 static inline void wakeup_source_prepare(struct wakeup_source *ws, in wakeup_source_prepare()
118 static inline struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
123 static inline void wakeup_source_drop(struct wakeup_source *ws) {} in wakeup_source_drop()
125 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
127 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
129 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
131 static inline struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
136 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
168 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
172 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
176 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) {} in __pm_wakeup_event()
182 static inline void wakeup_source_init(struct wakeup_source *ws, in wakeup_source_init()
189 static inline void wakeup_source_trash(struct wakeup_source *ws) in wakeup_source_trash()