Lines Matching refs:status

93 static void __update_runtime_status(struct device *dev, enum rpm_status status)
96 dev->power.runtime_status = status;
377 * The device's runtime PM status cannot change until this
378 * routine returns, so it is safe to read the status outside of
428 * Check if the device's runtime PM status allows it to be suspended. If
546 * Check if the device's runtime PM status allows it to be suspended.
753 * Check if the device's runtime PM status allows it to be resumed. Cancel
1154 * Otherwise, if the runtime PM status of @dev is %RPM_ACTIVE and either
1160 * the device when its runtime PM status is %RPM_ACTIVE.
1163 * suspending the device when both its runtime PM status is %RPM_ACTIVE and its
1193 * __pm_runtime_set_status - Set runtime PM status of a device.
1195 * @status: New runtime PM status of the device.
1198 * different from zero, the status may be changed either to RPM_ACTIVE, or to
1201 * parent's power.ignore_children flag is unset, the device's status cannot be
1206 * reflect the new status. If the new status is RPM_SUSPENDED, an idle
1209 * If @dev has any suppliers (as reflected by device links to them), and @status
1211 * of them fails, the status of @dev will be changed to RPM_SUSPENDED (instead
1212 * of the @status value) and the suppliers will be deacticated on exit. The
1216 int __pm_runtime_set_status(struct device *dev, unsigned int status)
1222 if (status != RPM_ACTIVE && status != RPM_SUSPENDED)
1242 * If the new status is RPM_ACTIVE, the suppliers can be activated
1243 * upfront regardless of the current status, because next time
1247 if (status == RPM_ACTIVE) {
1252 status = RPM_SUSPENDED;
1259 if (dev->power.runtime_status == status || !parent)
1262 if (status == RPM_SUSPENDED) {
1287 status = RPM_SUSPENDED;
1293 __update_runtime_status(dev, status);
1303 if (status == RPM_SUSPENDED) {
1825 * Disable runtime PM so we safely can check the device's runtime PM status and
1827 * change its runtime PM status field to RPM_SUSPENDED. Also, if the device's
1856 * its parent, but set its status to RPM_SUSPENDED anyway in case this
1896 * just update the status of the device.