Lines Matching refs:device
81 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
86 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
100 extern int device_wakeup_enable(struct device *dev);
101 extern int device_wakeup_disable(struct device *dev);
102 extern void device_set_wakeup_capable(struct device *dev, bool capable);
103 extern int device_init_wakeup(struct device *dev, bool val);
104 extern int device_set_wakeup_enable(struct device *dev, bool enable);
106 extern void pm_stay_awake(struct device *dev);
108 extern void pm_relax(struct device *dev);
110 extern void pm_wakeup_event(struct device *dev, unsigned int msec);
114 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
119 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
147 static inline int device_wakeup_enable(struct device *dev) in device_wakeup_enable()
153 static inline int device_wakeup_disable(struct device *dev) in device_wakeup_disable()
159 static inline int device_set_wakeup_enable(struct device *dev, bool enable) in device_set_wakeup_enable()
165 static inline int device_init_wakeup(struct device *dev, bool val) in device_init_wakeup()
172 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
179 static inline void pm_stay_awake(struct device *dev) {} in pm_stay_awake()
183 static inline void pm_relax(struct device *dev) {} in pm_relax()
187 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) {} in pm_wakeup_event()