POWER_STYPE_COUNT
static bool acpi_supported_stypes[POWER_STYPE_COUNT];
if (stype < POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
if (stype <= POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
case POWER_STYPE_COUNT:
case POWER_STYPE_COUNT:
static const struct ufshci_power_entry power_map[POWER_STYPE_COUNT] = {
bool pm_supported[static POWER_STYPE_COUNT])
static bool power_pm_supported[POWER_STYPE_COUNT] = {0};
for (stype = 0; stype < POWER_STYPE_COUNT; stype++) {
if (stype < POWER_STYPE_AWAKE || stype >= POWER_STYPE_COUNT)
for (stype = 0; stype < POWER_STYPE_COUNT; stype++) {
static const char * const power_stype_names[POWER_STYPE_COUNT] = {
bool _pm_supported[static POWER_STYPE_COUNT]);