Lines Matching defs:dev
19 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
46 #define RPM_GET_CALLBACK(dev, callback) \ argument
63 void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting()
81 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status()
91 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer()
103 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending()
125 unsigned long pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration()
160 static int dev_memalloc_noio(struct device *dev, void *data) in dev_memalloc_noio()
193 void pm_runtime_set_memalloc_noio(struct device *dev, bool enable) in pm_runtime_set_memalloc_noio()
234 static int rpm_check_suspend_allowed(struct device *dev) in rpm_check_suspend_allowed()
266 static int __rpm_callback(int (*cb)(struct device *), struct device *dev) in __rpm_callback()
299 static int rpm_idle(struct device *dev, int rpmflags) in rpm_idle()
364 static int rpm_callback(int (*cb)(struct device *), struct device *dev) in rpm_callback()
415 static int rpm_suspend(struct device *dev, int rpmflags) in rpm_suspend()
597 static int rpm_resume(struct device *dev, int rpmflags) in rpm_resume()
781 struct device *dev = container_of(work, struct device, power.work); in pm_runtime_work() local
822 struct device *dev = (struct device *)data; in pm_suspend_timer_fn() local
844 int pm_schedule_suspend(struct device *dev, unsigned int delay) in pm_schedule_suspend()
887 int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle()
919 int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend()
950 int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume()
985 int __pm_runtime_set_status(struct device *dev, unsigned int status) in __pm_runtime_set_status()
1057 static void __pm_runtime_barrier(struct device *dev) in __pm_runtime_barrier()
1108 int pm_runtime_barrier(struct device *dev) in pm_runtime_barrier()
1144 void __pm_runtime_disable(struct device *dev, bool check_resume) in __pm_runtime_disable()
1183 void pm_runtime_enable(struct device *dev) in pm_runtime_enable()
1206 void pm_runtime_forbid(struct device *dev) in pm_runtime_forbid()
1227 void pm_runtime_allow(struct device *dev) in pm_runtime_allow()
1250 void pm_runtime_no_callbacks(struct device *dev) in pm_runtime_no_callbacks()
1271 void pm_runtime_irq_safe(struct device *dev) in pm_runtime_irq_safe()
1292 static void update_autosuspend(struct device *dev, int old_delay, int old_use) in update_autosuspend()
1327 void pm_runtime_set_autosuspend_delay(struct device *dev, int delay) in pm_runtime_set_autosuspend_delay()
1348 void __pm_runtime_use_autosuspend(struct device *dev, bool use) in __pm_runtime_use_autosuspend()
1365 void pm_runtime_init(struct device *dev) in pm_runtime_init()
1396 void pm_runtime_remove(struct device *dev) in pm_runtime_remove()
1419 int pm_runtime_force_suspend(struct device *dev) in pm_runtime_force_suspend()
1459 int pm_runtime_force_resume(struct device *dev) in pm_runtime_force_resume()