Lines Matching defs:dev

93 void device_pm_sleep_init(struct device *dev)  in device_pm_sleep_init()
125 void device_pm_add(struct device *dev) in device_pm_add()
147 void device_pm_remove(struct device *dev) in device_pm_remove()
196 void device_pm_move_last(struct device *dev) in device_pm_move_last()
203 static ktime_t initcall_debug_start(struct device *dev, void *cb) in initcall_debug_start()
214 static void initcall_debug_report(struct device *dev, ktime_t calltime, in initcall_debug_report()
235 static void dpm_wait(struct device *dev, bool async) in dpm_wait()
244 static int dpm_wait_fn(struct device *dev, void *async_ptr) in dpm_wait_fn()
250 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children()
255 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers()
276 static void dpm_wait_for_superior(struct device *dev, bool async) in dpm_wait_for_superior()
282 static void dpm_wait_for_consumers(struct device *dev, bool async) in dpm_wait_for_consumers()
305 static void dpm_wait_for_subordinate(struct device *dev, bool async) in dpm_wait_for_subordinate()
411 static void pm_dev_dbg(struct device *dev, pm_message_t state, const char *info) in pm_dev_dbg()
418 static void pm_dev_err(struct device *dev, pm_message_t state, const char *info, in pm_dev_err()
445 static int dpm_run_callback(pm_callback_t cb, struct device *dev, in dpm_run_callback()
469 struct device *dev; member
500 static void dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) in dpm_watchdog_set()
557 bool dev_pm_may_skip_resume(struct device *dev) in dev_pm_may_skip_resume()
562 static pm_callback_t dpm_subsys_resume_noirq_cb(struct device *dev, in dpm_subsys_resume_noirq_cb()
608 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq()
688 static bool is_async(struct device *dev) in is_async()
694 static bool dpm_async_fn(struct device *dev, async_func_t func) in dpm_async_fn()
709 struct device *dev = (struct device *)data; in async_resume_noirq() local
721 struct device *dev; in dpm_noirq_resume_devices() local
780 static pm_callback_t dpm_subsys_resume_early_cb(struct device *dev, in dpm_subsys_resume_early_cb()
817 static int device_resume_early(struct device *dev, pm_message_t state, bool async) in device_resume_early()
854 struct device *dev = (struct device *)data; in async_resume_early() local
870 struct device *dev; in dpm_resume_early() local
928 static int device_resume(struct device *dev, pm_message_t state, bool async) in device_resume()
1013 struct device *dev = (struct device *)data; in async_resume() local
1031 struct device *dev; in dpm_resume() local
1080 static void device_complete(struct device *dev, pm_message_t state) in device_complete()
1136 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_complete() local
1196 static void dpm_superior_set_must_resume(struct device *dev) in dpm_superior_set_must_resume()
1212 static pm_callback_t dpm_subsys_suspend_noirq_cb(struct device *dev, in dpm_subsys_suspend_noirq_cb()
1241 static bool device_must_resume(struct device *dev, pm_message_t state, in device_must_resume()
1276 static int __device_suspend_noirq(struct device *dev, pm_message_t state, bool async) in __device_suspend_noirq()
1337 struct device *dev = (struct device *)data; in async_suspend_noirq() local
1349 static int device_suspend_noirq(struct device *dev) in device_suspend_noirq()
1368 struct device *dev = to_device(dpm_late_early_list.prev); in dpm_noirq_suspend_devices() local
1426 static void dpm_propagate_wakeup_to_parent(struct device *dev) in dpm_propagate_wakeup_to_parent()
1441 static pm_callback_t dpm_subsys_suspend_late_cb(struct device *dev, in dpm_subsys_suspend_late_cb()
1478 static int __device_suspend_late(struct device *dev, pm_message_t state, bool async) in __device_suspend_late()
1534 struct device *dev = (struct device *)data; in async_suspend_late() local
1545 static int device_suspend_late(struct device *dev) in device_suspend_late()
1568 struct device *dev = to_device(dpm_suspended_list.prev); in dpm_suspend_late() local
1634 static int legacy_suspend(struct device *dev, pm_message_t state, in legacy_suspend()
1635 int (*cb)(struct device *dev, pm_message_t state), in legacy_suspend()
1653 static void dpm_clear_superiors_direct_complete(struct device *dev) in dpm_clear_superiors_direct_complete()
1681 static int __device_suspend(struct device *dev, pm_message_t state, bool async) in __device_suspend()
1801 struct device *dev = (struct device *)data; in async_suspend() local
1813 static int device_suspend(struct device *dev) in device_suspend()
1840 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_suspend() local
1881 static int device_prepare(struct device *dev, pm_message_t state) in device_prepare()
1976 struct device *dev = to_device(dpm_list.next); in dpm_prepare() local
2042 int device_pm_wait_for_dev(struct device *subordinate, struct device *dev) in device_pm_wait_for_dev()
2059 struct device *dev; in dpm_for_each_dev() local
2086 void device_pm_check_callbacks(struct device *dev) in device_pm_check_callbacks()
2100 bool dev_pm_smart_suspend_and_suspended(struct device *dev) in dev_pm_smart_suspend_and_suspended()