Lines Matching refs:async
250 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument
255 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait()
265 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument
267 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children()
270 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers() argument
286 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
291 static bool dpm_wait_for_superior(struct device *dev, bool async) in dpm_wait_for_superior() argument
313 dpm_wait(parent, async); in dpm_wait_for_superior()
316 dpm_wait_for_suppliers(dev, async); in dpm_wait_for_superior()
325 static void dpm_wait_for_consumers(struct device *dev, bool async) in dpm_wait_for_consumers() argument
343 dpm_wait(link->consumer, async); in dpm_wait_for_consumers()
348 static void dpm_wait_for_subordinate(struct device *dev, bool async) in dpm_wait_for_subordinate() argument
350 dpm_wait_for_children(dev, async); in dpm_wait_for_subordinate()
351 dpm_wait_for_consumers(dev, async); in dpm_wait_for_subordinate()
714 static void device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq() argument
730 if (!dpm_wait_for_superior(dev, async)) in device_resume_noirq()
786 pm_dev_err(dev, state, async ? " async noirq" : " noirq", error); in device_resume_noirq()
872 static void device_resume_early(struct device *dev, pm_message_t state, bool async) in device_resume_early() argument
887 if (!dpm_wait_for_superior(dev, async)) in device_resume_early()
929 pm_dev_err(dev, state, async ? " async early" : " early", error); in device_resume_early()
1013 static void device_resume(struct device *dev, pm_message_t state, bool async) in device_resume() argument
1044 if (!dpm_wait_for_superior(dev, async)) in device_resume()
1105 pm_dev_err(dev, state, async ? " async" : "", error); in device_resume()
1404 static void device_suspend_noirq(struct device *dev, pm_message_t state, bool async) in device_suspend_noirq() argument
1413 dpm_wait_for_subordinate(dev, async); in device_suspend_noirq()
1450 pm_dev_err(dev, state, async ? " async noirq" : " noirq", error); in device_suspend_noirq()
1599 static void device_suspend_late(struct device *dev, pm_message_t state, bool async) in device_suspend_late() argument
1614 dpm_wait_for_subordinate(dev, async); in device_suspend_late()
1656 pm_dev_err(dev, state, async ? " async late" : " late", error); in device_suspend_late()
1833 static void device_suspend(struct device *dev, pm_message_t state, bool async) in device_suspend() argument
1843 dpm_wait_for_subordinate(dev, async); in device_suspend()
1951 pm_dev_err(dev, state, async ? " async" : "", error); in device_suspend()