Lines Matching refs:async
236 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument
241 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait()
251 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument
253 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children()
256 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers() argument
272 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
277 static void dpm_wait_for_superior(struct device *dev, bool async) in dpm_wait_for_superior() argument
279 dpm_wait(dev->parent, async); in dpm_wait_for_superior()
280 dpm_wait_for_suppliers(dev, async); in dpm_wait_for_superior()
283 static void dpm_wait_for_consumers(struct device *dev, bool async) in dpm_wait_for_consumers() argument
301 dpm_wait(link->consumer, async); in dpm_wait_for_consumers()
306 static void dpm_wait_for_subordinate(struct device *dev, bool async) in dpm_wait_for_subordinate() argument
308 dpm_wait_for_children(dev, async); in dpm_wait_for_subordinate()
309 dpm_wait_for_consumers(dev, async); in dpm_wait_for_subordinate()
609 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq() argument
625 dpm_wait_for_superior(dev, async); in device_resume_noirq()
818 static int device_resume_early(struct device *dev, pm_message_t state, bool async) in device_resume_early() argument
833 dpm_wait_for_superior(dev, async); in device_resume_early()
929 static int device_resume(struct device *dev, pm_message_t state, bool async) in device_resume() argument
948 dpm_wait_for_superior(dev, async); in device_resume()
1277 static int __device_suspend_noirq(struct device *dev, pm_message_t state, bool async) in __device_suspend_noirq() argument
1287 dpm_wait_for_subordinate(dev, async); in __device_suspend_noirq()
1479 static int __device_suspend_late(struct device *dev, pm_message_t state, bool async) in __device_suspend_late() argument
1490 dpm_wait_for_subordinate(dev, async); in __device_suspend_late()
1682 static int __device_suspend(struct device *dev, pm_message_t state, bool async) in __device_suspend() argument
1693 dpm_wait_for_subordinate(dev, async); in __device_suspend()