POWER_STYPE_AWAKE
if (stype < POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
if (rebooting || sc->acpi_next_stype != POWER_STYPE_AWAKE ||
if (sc->acpi_next_stype == POWER_STYPE_AWAKE) {
sc->acpi_next_stype = POWER_STYPE_AWAKE;
if (stype <= POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
case POWER_STYPE_AWAKE:
sc->acpi_stype = POWER_STYPE_AWAKE;
sc->acpi_next_stype = POWER_STYPE_AWAKE;
acpi_supported_stypes[POWER_STYPE_AWAKE] = true;
sc->acpi_stype = POWER_STYPE_AWAKE;
case POWER_STYPE_AWAKE:
return (POWER_STYPE_AWAKE);
error = ufshci_ctrlr_resume(ctrlr, POWER_STYPE_AWAKE);
return (ufshci_ctrlr_resume(ctrlr, POWER_STYPE_AWAKE));
[POWER_STYPE_AWAKE] = { UFSHCI_DEV_PWR_ACTIVE, SSS_PC_ACTIVE,
if (stype < POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
[POWER_STYPE_AWAKE] = "awake",
if (acpi_sc->acpi_next_stype != POWER_STYPE_AWAKE &&
if (acpi_sc->acpi_next_stype == POWER_STYPE_AWAKE) {
if (acpi_sc->acpi_next_stype == POWER_STYPE_AWAKE) {
if (acpi_sc->acpi_next_stype != POWER_STYPE_AWAKE &&
if (clone->acpi_sc->acpi_next_stype != POWER_STYPE_AWAKE)
sleeping = clone->acpi_sc->acpi_next_stype != POWER_STYPE_AWAKE;