Lines Matching defs:dev
61 struct device *dev; member
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 void device_set_wakeup_path(struct device *dev) in device_set_wakeup_path()
118 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
123 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
139 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
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()
177 static inline void device_set_wakeup_path(struct device *dev) {} in device_set_wakeup_path()
181 static inline void pm_stay_awake(struct device *dev) {} in pm_stay_awake()
185 static inline void pm_relax(struct device *dev) {} in pm_relax()
190 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event()
200 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event()
205 static inline void pm_wakeup_hard_event(struct device *dev) in pm_wakeup_hard_event()