Home
last modified time | relevance | path

Searched refs:modeValue (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dsystems.hpp2115 computer_system::PowerMode modeValue = in afterGetPowerMode() local
2117 if (modeValue == computer_system::PowerMode::Invalid) in afterGetPowerMode()
2122 modeList.emplace_back(modeValue); in afterGetPowerMode()
2128 const computer_system::PowerMode modeValue = in afterGetPowerMode() local
2130 if (modeValue == computer_system::PowerMode::Invalid) in afterGetPowerMode()
2135 asyncResp->res.jsonValue["PowerMode"] = modeValue; in afterGetPowerMode()
2217 const nlohmann::json& modeValue) in validatePowerMode() argument
2222 if (modeValue == PowerMode::Static) in validatePowerMode()
2226 else if (modeValue == PowerMode::MaximumPerformance) in validatePowerMode()
2231 else if (modeValue == PowerMode::PowerSaving) in validatePowerMode()
[all …]
/openbmc/openpower-occ-control/
H A Dpowermode.cpp1378 SysPwrMode modeValue = in getSupportedModes() local
1380 if (VALID_POWER_MODE_SETTING(modeValue)) in getSupportedModes()
1393 customerModeList.insert(modeValue); in getSupportedModes()
1419 SysPwrMode modeValue = in getSupportedModes() local
1421 if (VALID_POWER_MODE_SETTING(modeValue) || in getSupportedModes()
1422 VALID_OEM_POWER_MODE_SETTING(modeValue)) in getSupportedModes()
1431 oemModeList.insert(modeValue); in getSupportedModes()