Lines Matching refs:async
28 #include <linux/async.h>
199 * @async: If unset, wait only if the device's power.async_suspend flag is set.
201 static void dpm_wait(struct device *dev, bool async)
206 if (async || (pm_async_enabled && dev->power.async_suspend))
216 static void dpm_wait_for_children(struct device *dev, bool async)
218 device_for_each_child(dev, &async, dpm_wait_fn);
518 * @async: If true, the device is being resumed asynchronously.
520 static int device_resume(struct device *dev, pm_message_t state, bool async)
527 dpm_wait(dev->parent, async);
577 pm_dev_err(dev, pm_transition, " async", error);
838 * @async: If true, the device is being suspended asynchronously.
840 static int __device_suspend(struct device *dev, pm_message_t state, bool async)
844 dpm_wait_for_children(dev, async);
898 pm_dev_err(dev, pm_transition, " async", error);