Home
last modified time | relevance | path

Searched full:rpm_active (Results 1 – 10 of 10) sorted by relevance

/linux/block/
H A Dblk-pm.c32 q->rpm_status = RPM_ACTIVE; in blk_pm_runtime_init()
66 WARN_ON_ONCE(q->rpm_status != RPM_ACTIVE); in blk_pre_runtime_suspend()
96 q->rpm_status = RPM_ACTIVE; in blk_pre_runtime_suspend()
129 q->rpm_status = RPM_ACTIVE; in blk_post_runtime_suspend()
183 q->rpm_status = RPM_ACTIVE; in blk_post_runtime_resume()
188 if (old_status != RPM_ACTIVE) in blk_post_runtime_resume()
/linux/drivers/base/power/
H A Druntime.c314 refcount_inc(&link->rpm_active); in rpm_get_suppliers()
331 * the rpm_active refcount becomes saturated, in which case in pm_runtime_release_supplier()
335 while (refcount_dec_not_one(&link->rpm_active) && in pm_runtime_release_supplier()
504 /* Idle notifications are allowed only in the RPM_ACTIVE state. */ in rpm_idle()
505 else if (dev->power.runtime_status != RPM_ACTIVE) in rpm_idle()
750 __update_runtime_status(dev, RPM_ACTIVE); in rpm_suspend()
799 if (dev->power.runtime_status == RPM_ACTIVE && in rpm_resume()
800 dev->power.last_status == RPM_ACTIVE) in rpm_resume()
820 if (dev->power.runtime_status == RPM_ACTIVE) { in rpm_resume()
876 dev->parent->power.runtime_status == RPM_ACTIVE) { in rpm_resume()
[all …]
H A Dsysfs.c169 case RPM_ACTIVE: in runtime_status_show()
/linux/include/trace/events/
H A Drpm.h106 EM(RPM_ACTIVE, "RPM_ACTIVE") \
/linux/include/linux/
H A Dpm_runtime.h159 * %RPM_ACTIVE, or %false otherwise.
168 return dev->power.runtime_status == RPM_ACTIVE in pm_runtime_active()
355 * ongoing or device not in %RPM_ACTIVE state.
439 * ongoing or device not in %RPM_ACTIVE state.
747 * Set the runtime PM status of @dev to %RPM_ACTIVE and ensure that dependencies
754 return __pm_runtime_set_status(dev, RPM_ACTIVE); in pm_runtime_set_active()
H A Ddevice.h364 * RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation.
780 * @rpm_active: Whether or not the consumer device is runtime-PM-active.
793 refcount_t rpm_active; member
/linux/drivers/tty/serial/8250/
H A D8250_port.c645 unsigned char rpm_active; in serial8250_rpm_get_tx() local
650 rpm_active = xchg(&p->rpm_tx_active, 1); in serial8250_rpm_get_tx()
651 if (rpm_active) in serial8250_rpm_get_tx()
658 unsigned char rpm_active; in serial8250_rpm_put_tx() local
663 rpm_active = xchg(&p->rpm_tx_active, 0); in serial8250_rpm_put_tx()
664 if (!rpm_active) in serial8250_rpm_put_tx()
/linux/drivers/base/
H A Dcore.c804 refcount_inc(&link->rpm_active); in device_link_add()
851 refcount_set(&link->rpm_active, 1); in device_link_add()
875 refcount_inc(&link->rpm_active); in device_link_add()
/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c5556 fep->rpm_active = !pm_runtime_status_suspended(dev); in fec_suspend()
5557 if (fep->rpm_active) { in fec_suspend()
5594 if (fep->rpm_active) in fec_resume()
/linux/drivers/pmdomain/
H A Dcore.c3622 [RPM_ACTIVE] = "active", in rtpm_status_str()