Lines Matching defs:dev
27 static pm_callback_t __rpm_get_driver_callback(struct device *dev, in __rpm_get_driver_callback()
36 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
61 #define RPM_GET_CALLBACK(dev, callback) \ argument
78 static void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting()
106 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status()
113 static u64 rpm_get_accounted_time(struct device *dev, bool suspended) in rpm_get_accounted_time()
128 u64 pm_runtime_active_time(struct device *dev) in pm_runtime_active_time()
133 u64 pm_runtime_suspended_time(struct device *dev) in pm_runtime_suspended_time()
143 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer()
155 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending()
177 u64 pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration()
198 static int dev_memalloc_noio(struct device *dev, void *data) in dev_memalloc_noio()
231 void pm_runtime_set_memalloc_noio(struct device *dev, bool enable) in pm_runtime_set_memalloc_noio()
271 static int rpm_check_suspend_allowed(struct device *dev) in rpm_check_suspend_allowed()
297 static int rpm_get_suppliers(struct device *dev) in rpm_get_suppliers()
340 static void __rpm_put_suppliers(struct device *dev, bool try_to_suspend) in __rpm_put_suppliers()
352 static void rpm_put_suppliers(struct device *dev) in rpm_put_suppliers()
357 static void rpm_suspend_suppliers(struct device *dev) in rpm_suspend_suppliers()
374 static int __rpm_callback(int (*cb)(struct device *), struct device *dev) in __rpm_callback()
440 static int rpm_callback(int (*cb)(struct device *), struct device *dev) in rpm_callback()
491 static int rpm_idle(struct device *dev, int rpmflags) in rpm_idle()
583 static int rpm_suspend(struct device *dev, int rpmflags) in rpm_suspend()
783 static int rpm_resume(struct device *dev, int rpmflags) in rpm_resume()
974 struct device *dev = container_of(work, struct device, power.work); in pm_runtime_work() local
1015 struct device *dev = container_of(timer, struct device, power.suspend_timer); in pm_suspend_timer_fn() local
1042 int pm_schedule_suspend(struct device *dev, unsigned int delay) in pm_schedule_suspend()
1074 static int rpm_drop_usage_count(struct device *dev) in rpm_drop_usage_count()
1106 int __pm_runtime_idle(struct device *dev, int rpmflags) in __pm_runtime_idle()
1144 int __pm_runtime_suspend(struct device *dev, int rpmflags) in __pm_runtime_suspend()
1180 int __pm_runtime_resume(struct device *dev, int rpmflags) in __pm_runtime_resume()
1223 static int pm_runtime_get_conditional(struct device *dev, bool ign_usage_count) in pm_runtime_get_conditional()
1256 int pm_runtime_get_if_active(struct device *dev) in pm_runtime_get_if_active()
1278 int pm_runtime_get_if_in_use(struct device *dev) in pm_runtime_get_if_in_use()
1308 int __pm_runtime_set_status(struct device *dev, unsigned int status) in __pm_runtime_set_status()
1419 static void __pm_runtime_barrier(struct device *dev) in __pm_runtime_barrier()
1470 int pm_runtime_barrier(struct device *dev) in pm_runtime_barrier()
1492 bool pm_runtime_block_if_disabled(struct device *dev) in pm_runtime_block_if_disabled()
1507 void pm_runtime_unblock(struct device *dev) in pm_runtime_unblock()
1517 void __pm_runtime_disable(struct device *dev, bool check_resume) in __pm_runtime_disable()
1561 void pm_runtime_enable(struct device *dev) in pm_runtime_enable()
1602 int devm_pm_runtime_set_active_enabled(struct device *dev) in devm_pm_runtime_set_active_enabled()
1632 int devm_pm_runtime_enable(struct device *dev) in devm_pm_runtime_enable()
1650 int devm_pm_runtime_get_noresume(struct device *dev) in devm_pm_runtime_get_noresume()
1666 void pm_runtime_forbid(struct device *dev) in pm_runtime_forbid()
1687 void pm_runtime_allow(struct device *dev) in pm_runtime_allow()
1715 void pm_runtime_no_callbacks(struct device *dev) in pm_runtime_no_callbacks()
1736 void pm_runtime_irq_safe(struct device *dev) in pm_runtime_irq_safe()
1758 static void update_autosuspend(struct device *dev, int old_delay, int old_use) in update_autosuspend()
1795 void pm_runtime_set_autosuspend_delay(struct device *dev, int delay) in pm_runtime_set_autosuspend_delay()
1816 void __pm_runtime_use_autosuspend(struct device *dev, bool use) in __pm_runtime_use_autosuspend()
1833 void pm_runtime_init(struct device *dev) in pm_runtime_init()
1865 void pm_runtime_reinit(struct device *dev) in pm_runtime_reinit()
1889 void pm_runtime_remove(struct device *dev) in pm_runtime_remove()
1899 void pm_runtime_get_suppliers(struct device *dev) in pm_runtime_get_suppliers()
1920 void pm_runtime_put_suppliers(struct device *dev) in pm_runtime_put_suppliers()
1937 void pm_runtime_new_link(struct device *dev) in pm_runtime_new_link()
1944 static void pm_runtime_drop_link_count(struct device *dev) in pm_runtime_drop_link_count()
1970 static pm_callback_t get_callback(struct device *dev, size_t cb_offset) in get_callback()
1984 #define GET_CALLBACK(dev, callback) \ argument
2004 int pm_runtime_force_suspend(struct device *dev) in pm_runtime_force_suspend()
2066 int pm_runtime_force_resume(struct device *dev) in pm_runtime_force_resume()
2105 bool pm_runtime_need_not_resume(struct device *dev) in pm_runtime_need_not_resume()