Lines Matching refs:device
72 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
77 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
91 extern int device_wakeup_enable(struct device *dev);
92 extern int device_wakeup_disable(struct device *dev);
93 extern void device_set_wakeup_capable(struct device *dev, bool capable);
94 extern int device_init_wakeup(struct device *dev, bool val);
95 extern int device_set_wakeup_enable(struct device *dev, bool enable);
97 extern void pm_stay_awake(struct device *dev);
99 extern void pm_relax(struct device *dev);
101 extern void pm_wakeup_event(struct device *dev, unsigned int msec);
105 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
110 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
138 static inline int device_wakeup_enable(struct device *dev) in device_wakeup_enable()
144 static inline int device_wakeup_disable(struct device *dev) in device_wakeup_disable()
150 static inline int device_set_wakeup_enable(struct device *dev, bool enable) in device_set_wakeup_enable()
156 static inline int device_init_wakeup(struct device *dev, bool val) in device_init_wakeup()
163 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup()
170 static inline void pm_stay_awake(struct device *dev) {} in pm_stay_awake()
174 static inline void pm_relax(struct device *dev) {} in pm_relax()
178 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) {} in pm_wakeup_event()