Searched refs:modeValue (Results 1 – 2 of 2) sorted by relevance
2115 computer_system::PowerMode modeValue = in afterGetPowerMode() local2117 if (modeValue == computer_system::PowerMode::Invalid) in afterGetPowerMode()2122 modeList.emplace_back(modeValue); in afterGetPowerMode()2128 const computer_system::PowerMode modeValue = in afterGetPowerMode() local2130 if (modeValue == computer_system::PowerMode::Invalid) in afterGetPowerMode()2135 asyncResp->res.jsonValue["PowerMode"] = modeValue; in afterGetPowerMode()2217 const nlohmann::json& modeValue) in validatePowerMode() argument2222 if (modeValue == PowerMode::Static) in validatePowerMode()2226 else if (modeValue == PowerMode::MaximumPerformance) in validatePowerMode()2231 else if (modeValue == PowerMode::PowerSaving) in validatePowerMode()[all …]
1378 SysPwrMode modeValue = in getSupportedModes() local1380 if (VALID_POWER_MODE_SETTING(modeValue)) in getSupportedModes()1393 customerModeList.insert(modeValue); in getSupportedModes()1419 SysPwrMode modeValue = in getSupportedModes() local1421 if (VALID_POWER_MODE_SETTING(modeValue) || in getSupportedModes()1422 VALID_OEM_POWER_MODE_SETTING(modeValue)) in getSupportedModes()1431 oemModeList.insert(modeValue); in getSupportedModes()