Lines Matching refs:device
30 extern int __pm_runtime_idle(struct device *dev, int rpmflags);
31 extern int __pm_runtime_suspend(struct device *dev, int rpmflags);
32 extern int __pm_runtime_resume(struct device *dev, int rpmflags);
33 extern int pm_schedule_suspend(struct device *dev, unsigned int delay);
34 extern int __pm_runtime_set_status(struct device *dev, unsigned int status);
35 extern int pm_runtime_barrier(struct device *dev);
36 extern void pm_runtime_enable(struct device *dev);
37 extern void __pm_runtime_disable(struct device *dev, bool check_resume);
38 extern void pm_runtime_allow(struct device *dev);
39 extern void pm_runtime_forbid(struct device *dev);
40 extern int pm_generic_runtime_idle(struct device *dev);
41 extern int pm_generic_runtime_suspend(struct device *dev);
42 extern int pm_generic_runtime_resume(struct device *dev);
43 extern void pm_runtime_no_callbacks(struct device *dev);
44 extern void pm_runtime_irq_safe(struct device *dev);
45 extern void __pm_runtime_use_autosuspend(struct device *dev, bool use);
46 extern void pm_runtime_set_autosuspend_delay(struct device *dev, int delay);
47 extern unsigned long pm_runtime_autosuspend_expiration(struct device *dev);
48 extern void pm_runtime_update_max_time_suspended(struct device *dev,
51 static inline bool pm_children_suspended(struct device *dev) in pm_children_suspended()
57 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume()
62 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle()
67 static inline bool device_run_wake(struct device *dev) in device_run_wake()
72 static inline void device_set_run_wake(struct device *dev, bool enable) in device_set_run_wake()
77 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended()
83 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended()
88 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
93 static inline bool pm_runtime_callbacks_present(struct device *dev) in pm_runtime_callbacks_present()
98 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
105 static inline int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle()
109 static inline int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend()
113 static inline int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume()
117 static inline int pm_schedule_suspend(struct device *dev, unsigned int delay) in pm_schedule_suspend()
121 static inline int __pm_runtime_set_status(struct device *dev, in __pm_runtime_set_status()
123 static inline int pm_runtime_barrier(struct device *dev) { return 0; } in pm_runtime_barrier()
124 static inline void pm_runtime_enable(struct device *dev) {} in pm_runtime_enable()
125 static inline void __pm_runtime_disable(struct device *dev, bool c) {} in __pm_runtime_disable()
126 static inline void pm_runtime_allow(struct device *dev) {} in pm_runtime_allow()
127 static inline void pm_runtime_forbid(struct device *dev) {} in pm_runtime_forbid()
129 static inline bool pm_children_suspended(struct device *dev) { return false; } in pm_children_suspended()
130 static inline void pm_runtime_get_noresume(struct device *dev) {} in pm_runtime_get_noresume()
131 static inline void pm_runtime_put_noidle(struct device *dev) {} in pm_runtime_put_noidle()
132 static inline bool device_run_wake(struct device *dev) { return false; } in device_run_wake()
133 static inline void device_set_run_wake(struct device *dev, bool enable) {} in device_set_run_wake()
134 static inline bool pm_runtime_suspended(struct device *dev) { return false; } in pm_runtime_suspended()
135 static inline bool pm_runtime_status_suspended(struct device *dev) { return false; } in pm_runtime_status_suspended()
136 static inline bool pm_runtime_enabled(struct device *dev) { return false; } in pm_runtime_enabled()
138 static inline int pm_generic_runtime_idle(struct device *dev) { return 0; } in pm_generic_runtime_idle()
139 static inline int pm_generic_runtime_suspend(struct device *dev) { return 0; } in pm_generic_runtime_suspend()
140 static inline int pm_generic_runtime_resume(struct device *dev) { return 0; } in pm_generic_runtime_resume()
141 static inline void pm_runtime_no_callbacks(struct device *dev) {} in pm_runtime_no_callbacks()
142 static inline void pm_runtime_irq_safe(struct device *dev) {} in pm_runtime_irq_safe()
144 static inline bool pm_runtime_callbacks_present(struct device *dev) { return false; } in pm_runtime_callbacks_present()
145 static inline void pm_runtime_mark_last_busy(struct device *dev) {} in pm_runtime_mark_last_busy()
146 static inline void __pm_runtime_use_autosuspend(struct device *dev, in __pm_runtime_use_autosuspend()
148 static inline void pm_runtime_set_autosuspend_delay(struct device *dev, in pm_runtime_set_autosuspend_delay()
151 struct device *dev) { return 0; } in pm_runtime_autosuspend_expiration()
155 static inline int pm_runtime_idle(struct device *dev) in pm_runtime_idle()
160 static inline int pm_runtime_suspend(struct device *dev) in pm_runtime_suspend()
165 static inline int pm_runtime_autosuspend(struct device *dev) in pm_runtime_autosuspend()
170 static inline int pm_runtime_resume(struct device *dev) in pm_runtime_resume()
175 static inline int pm_request_idle(struct device *dev) in pm_request_idle()
180 static inline int pm_request_resume(struct device *dev) in pm_request_resume()
185 static inline int pm_request_autosuspend(struct device *dev) in pm_request_autosuspend()
190 static inline int pm_runtime_get(struct device *dev) in pm_runtime_get()
195 static inline int pm_runtime_get_sync(struct device *dev) in pm_runtime_get_sync()
200 static inline int pm_runtime_put(struct device *dev) in pm_runtime_put()
205 static inline int pm_runtime_put_autosuspend(struct device *dev) in pm_runtime_put_autosuspend()
211 static inline int pm_runtime_put_sync(struct device *dev) in pm_runtime_put_sync()
216 static inline int pm_runtime_put_sync_suspend(struct device *dev) in pm_runtime_put_sync_suspend()
221 static inline int pm_runtime_put_sync_autosuspend(struct device *dev) in pm_runtime_put_sync_autosuspend()
226 static inline int pm_runtime_set_active(struct device *dev) in pm_runtime_set_active()
231 static inline void pm_runtime_set_suspended(struct device *dev) in pm_runtime_set_suspended()
236 static inline void pm_runtime_disable(struct device *dev) in pm_runtime_disable()
241 static inline void pm_runtime_use_autosuspend(struct device *dev) in pm_runtime_use_autosuspend()
246 static inline void pm_runtime_dont_use_autosuspend(struct device *dev) in pm_runtime_dont_use_autosuspend()