Searched refs:wakeup_source (Results 1 – 4 of 4) sorted by relevance
43 struct wakeup_source { struct76 extern struct wakeup_source *wakeup_source_create(const char *name); argument77 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);[all …]
452 struct wakeup_source;481 struct wakeup_source *wakeup;
59 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()61 struct wakeup_source *ws; in wakeup_source_create()79 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()103 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()121 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()137 struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()139 struct wakeup_source *ws; in wakeup_source_register()153 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()167 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()187 struct wakeup_source *ws; in device_wakeup_enable()[all …]
154 struct wakeup_source used for controlling whether or not the device should use