Lines Matching defs:dev
18 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
45 #define RPM_GET_CALLBACK(dev, callback) \ argument
62 void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting()
80 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status()
90 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer()
102 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending()
124 unsigned long pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration()
159 static int dev_memalloc_noio(struct device *dev, void *data) in dev_memalloc_noio()
192 void pm_runtime_set_memalloc_noio(struct device *dev, bool enable) in pm_runtime_set_memalloc_noio()
233 static int rpm_check_suspend_allowed(struct device *dev) in rpm_check_suspend_allowed()
265 static int __rpm_callback(int (*cb)(struct device *), struct device *dev) in __rpm_callback()
298 static int rpm_idle(struct device *dev, int rpmflags) in rpm_idle()
363 static int rpm_callback(int (*cb)(struct device *), struct device *dev) in rpm_callback()
414 static int rpm_suspend(struct device *dev, int rpmflags) in rpm_suspend()
594 static int rpm_resume(struct device *dev, int rpmflags) in rpm_resume()
775 struct device *dev = container_of(work, struct device, power.work); in pm_runtime_work() local
816 struct device *dev = (struct device *)data; in pm_suspend_timer_fn() local
838 int pm_schedule_suspend(struct device *dev, unsigned int delay) in pm_schedule_suspend()
881 int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle()
913 int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend()
944 int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume()
979 int __pm_runtime_set_status(struct device *dev, unsigned int status) in __pm_runtime_set_status()
1051 static void __pm_runtime_barrier(struct device *dev) in __pm_runtime_barrier()
1102 int pm_runtime_barrier(struct device *dev) in pm_runtime_barrier()
1138 void __pm_runtime_disable(struct device *dev, bool check_resume) in __pm_runtime_disable()
1177 void pm_runtime_enable(struct device *dev) in pm_runtime_enable()
1200 void pm_runtime_forbid(struct device *dev) in pm_runtime_forbid()
1221 void pm_runtime_allow(struct device *dev) in pm_runtime_allow()
1244 void pm_runtime_no_callbacks(struct device *dev) in pm_runtime_no_callbacks()
1265 void pm_runtime_irq_safe(struct device *dev) in pm_runtime_irq_safe()
1286 static void update_autosuspend(struct device *dev, int old_delay, int old_use) in update_autosuspend()
1321 void pm_runtime_set_autosuspend_delay(struct device *dev, int delay) in pm_runtime_set_autosuspend_delay()
1342 void __pm_runtime_use_autosuspend(struct device *dev, bool use) in __pm_runtime_use_autosuspend()
1359 void pm_runtime_init(struct device *dev) in pm_runtime_init()
1390 void pm_runtime_remove(struct device *dev) in pm_runtime_remove()
1413 int pm_runtime_force_suspend(struct device *dev) in pm_runtime_force_suspend()
1453 int pm_runtime_force_resume(struct device *dev) in pm_runtime_force_resume()