Lines Matching refs:device
61 struct device *dev;
77 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
82 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
87 static inline bool device_wakeup_path(struct device *dev) in device_wakeup_path()
92 static inline void device_set_wakeup_path(struct device *dev) in device_set_wakeup_path()
102 extern struct wakeup_source *wakeup_source_register(struct device *dev,
109 extern int device_wakeup_enable(struct device *dev);
110 extern int device_wakeup_disable(struct device *dev);
111 extern void device_set_wakeup_capable(struct device *dev, bool capable);
112 extern int device_set_wakeup_enable(struct device *dev, bool enable);
114 extern void pm_stay_awake(struct device *dev);
116 extern void pm_relax(struct device *dev);
118 extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard);
122 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
127 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
143 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
151 static inline int device_wakeup_enable(struct device *dev) in device_wakeup_enable()
157 static inline int device_wakeup_disable(struct device *dev) in device_wakeup_disable()
163 static inline int device_set_wakeup_enable(struct device *dev, bool enable) in device_set_wakeup_enable()
169 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
174 static inline bool device_wakeup_path(struct device *dev) in device_wakeup_path()
179 static inline void device_set_wakeup_path(struct device *dev) {} in device_set_wakeup_path()
183 static inline void pm_stay_awake(struct device *dev) {} in pm_stay_awake()
187 static inline void pm_relax(struct device *dev) {} in pm_relax()
192 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event()
197 static inline bool device_awake_path(struct device *dev) in device_awake_path()
202 static inline void device_set_awake_path(struct device *dev) in device_set_awake_path()
212 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event()
217 static inline void pm_wakeup_hard_event(struct device *dev) in pm_wakeup_hard_event()
233 static inline int device_init_wakeup(struct device *dev, bool enable) in device_init_wakeup()