• Home
  • Raw
  • Download

Lines Matching defs:dev

16 #define RPM_GET_CALLBACK(dev, cb)				\  argument
37 static int (*rpm_get_suspend_cb(struct device *dev))(struct device *) in rpm_get_suspend_cb()
42 static int (*rpm_get_resume_cb(struct device *dev))(struct device *) in rpm_get_resume_cb()
48 static int (*rpm_get_idle_cb(struct device *dev))(struct device *) in rpm_get_idle_cb()
67 void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting()
85 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status()
95 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer()
107 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending()
129 unsigned long pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration()
164 static int dev_memalloc_noio(struct device *dev, void *data) in dev_memalloc_noio()
197 void pm_runtime_set_memalloc_noio(struct device *dev, bool enable) in pm_runtime_set_memalloc_noio()
238 static int rpm_check_suspend_allowed(struct device *dev) in rpm_check_suspend_allowed()
270 static int __rpm_callback(int (*cb)(struct device *), struct device *dev) in __rpm_callback()
303 static int rpm_idle(struct device *dev, int rpmflags) in rpm_idle()
368 static int rpm_callback(int (*cb)(struct device *), struct device *dev) in rpm_callback()
419 static int rpm_suspend(struct device *dev, int rpmflags) in rpm_suspend()
599 static int rpm_resume(struct device *dev, int rpmflags) in rpm_resume()
780 struct device *dev = container_of(work, struct device, power.work); in pm_runtime_work() local
821 struct device *dev = (struct device *)data; in pm_suspend_timer_fn() local
843 int pm_schedule_suspend(struct device *dev, unsigned int delay) in pm_schedule_suspend()
886 int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle()
918 int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend()
949 int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume()
984 int __pm_runtime_set_status(struct device *dev, unsigned int status) in __pm_runtime_set_status()
1056 static void __pm_runtime_barrier(struct device *dev) in __pm_runtime_barrier()
1107 int pm_runtime_barrier(struct device *dev) in pm_runtime_barrier()
1143 void __pm_runtime_disable(struct device *dev, bool check_resume) in __pm_runtime_disable()
1182 void pm_runtime_enable(struct device *dev) in pm_runtime_enable()
1205 void pm_runtime_forbid(struct device *dev) in pm_runtime_forbid()
1226 void pm_runtime_allow(struct device *dev) in pm_runtime_allow()
1249 void pm_runtime_no_callbacks(struct device *dev) in pm_runtime_no_callbacks()
1270 void pm_runtime_irq_safe(struct device *dev) in pm_runtime_irq_safe()
1291 static void update_autosuspend(struct device *dev, int old_delay, int old_use) in update_autosuspend()
1326 void pm_runtime_set_autosuspend_delay(struct device *dev, int delay) in pm_runtime_set_autosuspend_delay()
1347 void __pm_runtime_use_autosuspend(struct device *dev, bool use) in __pm_runtime_use_autosuspend()
1364 void pm_runtime_init(struct device *dev) in pm_runtime_init()
1395 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()
1465 int pm_runtime_force_resume(struct device *dev) in pm_runtime_force_resume()