Lines Matching defs:dev
61 struct device *dev; member
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()
82 static inline void device_set_wakeup_path(struct device *dev) in device_set_wakeup_path()
109 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable()
114 static inline bool device_can_wakeup(struct device *dev) in device_can_wakeup()
130 static inline struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
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()
168 static inline void device_set_wakeup_path(struct device *dev) {} in device_set_wakeup_path()
172 static inline void pm_stay_awake(struct device *dev) {} in pm_stay_awake()
176 static inline void pm_relax(struct device *dev) {} in pm_relax()
181 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event()
191 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event()
196 static inline void pm_wakeup_hard_event(struct device *dev) in pm_wakeup_hard_event()