Lines Matching defs:dev
91 void device_pm_sleep_init(struct device *dev) in device_pm_sleep_init()
123 void device_pm_add(struct device *dev) in device_pm_add()
139 void device_pm_remove(struct device *dev) in device_pm_remove()
183 void device_pm_move_last(struct device *dev) in device_pm_move_last()
190 static ktime_t initcall_debug_start(struct device *dev) in initcall_debug_start()
204 static void initcall_debug_report(struct device *dev, ktime_t calltime, in initcall_debug_report()
224 static void dpm_wait(struct device *dev, bool async) in dpm_wait()
233 static int dpm_wait_fn(struct device *dev, void *async_ptr) in dpm_wait_fn()
239 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children()
344 static void pm_dev_dbg(struct device *dev, pm_message_t state, char *info) in pm_dev_dbg()
351 static void pm_dev_err(struct device *dev, pm_message_t state, char *info, in pm_dev_err()
375 static int dpm_run_callback(pm_callback_t cb, struct device *dev, in dpm_run_callback()
399 struct device *dev; member
430 static void dpm_watchdog_set(struct dpm_watchdog *wd, struct device *dev) in dpm_watchdog_set()
473 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq()
518 static bool is_async(struct device *dev) in is_async()
526 struct device *dev = (struct device *)data; in async_resume_noirq() local
545 struct device *dev; in dpm_resume_noirq() local
602 static int device_resume_early(struct device *dev, pm_message_t state, bool async) in device_resume_early()
651 struct device *dev = (struct device *)data; in async_resume_early() local
667 struct device *dev; in dpm_resume_early() local
730 static int device_resume(struct device *dev, pm_message_t state, bool async) in device_resume()
821 struct device *dev = (struct device *)data; in async_resume() local
839 struct device *dev; in dpm_resume() local
892 static void device_complete(struct device *dev, pm_message_t state) in device_complete()
950 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_complete() local
1014 static int __device_suspend_noirq(struct device *dev, pm_message_t state, bool async) in __device_suspend_noirq()
1069 struct device *dev = (struct device *)data; in async_suspend_noirq() local
1081 static int device_suspend_noirq(struct device *dev) in device_suspend_noirq()
1113 struct device *dev = to_device(dpm_late_early_list.prev); in dpm_suspend_noirq() local
1158 static int __device_suspend_late(struct device *dev, pm_message_t state, bool async) in __device_suspend_late()
1215 struct device *dev = (struct device *)data; in async_suspend_late() local
1226 static int device_suspend_late(struct device *dev) in device_suspend_late()
1254 struct device *dev = to_device(dpm_suspended_list.prev); in dpm_suspend_late() local
1318 static int legacy_suspend(struct device *dev, pm_message_t state, in legacy_suspend()
1319 int (*cb)(struct device *dev, pm_message_t state), in legacy_suspend()
1343 static int __device_suspend(struct device *dev, pm_message_t state, bool async) in __device_suspend()
1465 struct device *dev = (struct device *)data; in async_suspend() local
1477 static int device_suspend(struct device *dev) in device_suspend()
1508 struct device *dev = to_device(dpm_prepared_list.prev); in dpm_suspend() local
1549 static int device_prepare(struct device *dev, pm_message_t state) in device_prepare()
1630 struct device *dev = to_device(dpm_list.next); in dpm_prepare() local
1693 int device_pm_wait_for_dev(struct device *subordinate, struct device *dev) in device_pm_wait_for_dev()
1710 struct device *dev; in dpm_for_each_dev() local