Home
last modified time | relevance | path

Searched refs:RPM_ASYNC (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dpm_runtime.h18 #define RPM_ASYNC 0x01 /* Request is asynchronous */ macro
339 return __pm_runtime_idle(dev, RPM_ASYNC); in pm_request_idle()
348 return __pm_runtime_resume(dev, RPM_ASYNC); in pm_request_resume()
360 return __pm_runtime_suspend(dev, RPM_ASYNC | RPM_AUTO); in pm_request_autosuspend()
372 return __pm_runtime_resume(dev, RPM_GET_PUT | RPM_ASYNC); in pm_runtime_get()
421 return __pm_runtime_idle(dev, RPM_GET_PUT | RPM_ASYNC); in pm_runtime_put()
434 RPM_GET_PUT | RPM_ASYNC | RPM_AUTO); in pm_runtime_put_autosuspend()
/kernel/linux/linux-5.10/drivers/base/power/
Druntime.c474 if (rpmflags & RPM_ASYNC) { in rpm_idle()
577 if (dev->power.runtime_status == RPM_RESUMING && !(rpmflags & RPM_ASYNC)) in rpm_suspend()
624 if (rpmflags & (RPM_ASYNC | RPM_NOWAIT)) { in rpm_suspend()
659 if (rpmflags & RPM_ASYNC) { in rpm_suspend()
703 rpm_idle(parent, RPM_ASYNC); in rpm_suspend()
802 if (rpmflags & (RPM_ASYNC | RPM_NOWAIT)) { in rpm_resume()
856 if (rpmflags & RPM_ASYNC) { in rpm_resume()
922 rpm_idle(dev, RPM_ASYNC); in rpm_resume()
1002 (RPM_ASYNC | RPM_AUTO) : RPM_ASYNC); in pm_suspend_timer_fn()
1024 retval = rpm_suspend(dev, RPM_ASYNC); in pm_schedule_suspend()
[all …]