Lines Matching refs:runtime_status
87 if (dev->power.runtime_status == RPM_SUSPENDED) in update_pm_runtime_accounting()
96 dev->power.runtime_status = status; in __update_runtime_status()
272 dev->power.runtime_status == RPM_SUSPENDING) || in rpm_check_suspend_allowed()
277 else if (dev->power.runtime_status == RPM_SUSPENDED) in rpm_check_suspend_allowed()
378 if (use_links && dev->power.runtime_status == RPM_RESUMING) { in __rpm_callback()
405 ((dev->power.runtime_status == RPM_SUSPENDING && !retval) || in __rpm_callback()
406 (dev->power.runtime_status == RPM_RESUMING && retval))) { in __rpm_callback()
477 else if (dev->power.runtime_status != RPM_ACTIVE) in rpm_idle()
573 if (dev->power.runtime_status == RPM_RESUMING && !(rpmflags & RPM_ASYNC)) in rpm_suspend()
580 if ((rpmflags & RPM_AUTO) && dev->power.runtime_status != RPM_SUSPENDING) { in rpm_suspend()
617 if (dev->power.runtime_status == RPM_SUSPENDING) { in rpm_suspend()
638 if (dev->power.runtime_status != RPM_SUSPENDING) in rpm_suspend()
774 if (dev->power.runtime_status == RPM_ACTIVE && in rpm_resume()
793 if (dev->power.runtime_status == RPM_ACTIVE) { in rpm_resume()
798 if (dev->power.runtime_status == RPM_RESUMING || in rpm_resume()
799 dev->power.runtime_status == RPM_SUSPENDING) { in rpm_resume()
803 if (dev->power.runtime_status == RPM_SUSPENDING) { in rpm_resume()
826 if (dev->power.runtime_status != RPM_RESUMING && in rpm_resume()
827 dev->power.runtime_status != RPM_SUSPENDING) in rpm_resume()
849 dev->parent->power.runtime_status == RPM_ACTIVE) { in rpm_resume()
891 if (parent->power.runtime_status != RPM_ACTIVE) in rpm_resume()
1164 dev->power.runtime_status != RPM_ACTIVE); in __pm_runtime_resume()
1207 } else if (dev->power.runtime_status != RPM_ACTIVE) { in pm_runtime_get_if_active()
1290 if (dev->power.runtime_status == status || !parent) in __pm_runtime_set_status()
1306 parent->power.runtime_status != RPM_ACTIVE) { in __pm_runtime_set_status()
1311 } else if (dev->power.runtime_status == RPM_SUSPENDED) { in __pm_runtime_set_status()
1371 if (dev->power.runtime_status == RPM_SUSPENDING || in __pm_runtime_barrier()
1372 dev->power.runtime_status == RPM_RESUMING || in __pm_runtime_barrier()
1380 if (dev->power.runtime_status != RPM_SUSPENDING in __pm_runtime_barrier()
1381 && dev->power.runtime_status != RPM_RESUMING in __pm_runtime_barrier()
1476 dev->power.last_status = dev->power.runtime_status; in __pm_runtime_disable()
1505 if (dev->power.runtime_status == RPM_SUSPENDED && in pm_runtime_enable()
1714 dev->power.runtime_status = RPM_SUSPENDED; in pm_runtime_init()
1747 if (dev->power.runtime_status == RPM_ACTIVE) in pm_runtime_reinit()