Home
last modified time | relevance | path

Searched refs:newMode (Results 1 – 5 of 5) sorted by relevance

/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp136 SysPwrMode newMode = SysPwrMode(mode); in setMode() local
148 "MODE", newMode, "DATA", modeData); in setMode()
152 if (((newMode == SysPwrMode::FFO) || (newMode == SysPwrMode::SFP)) && in setMode()
157 "MODE", newMode); in setMode()
162 "MODE", uint8_t(newMode), "DATA", modeData); in setMode()
163 return pmode->setMode(newMode, modeData); in setMode()
H A Dpowermode.cpp187 bool PowerMode::setMode(const SysPwrMode newMode, const uint16_t oemModeData) in setMode() argument
195 if (updateDbusMode(newMode) == false) in setMode()
202 persistedData.updateMode(newMode, oemModeData); in setMode()
251 SysPwrMode newMode = SysPwrMode::NO_CHANGE; in convertStringToMode() local
256 newMode = getInternalMode(newPMode); in convertStringToMode()
270 newMode = SysPwrMode::FFO; in convertStringToMode()
274 newMode = SysPwrMode::SFP; in convertStringToMode()
278 newMode = SysPwrMode::MAX_FREQ; in convertStringToMode()
282 newMode = SysPwrMode::NON_DETERMINISTIC; in convertStringToMode()
291 return newMode; in convertStringToMode()
[all …]
H A Dpowermode.hpp114 void updateMode(const SysPwrMode newMode, const uint16_t oemModeData) in updateMode() argument
116 modeData.mode = newMode; in updateMode()
285 bool setMode(const SysPwrMode newMode, const uint16_t oemModeData);
424 bool updateDbusMode(const SysPwrMode newMode);
/openbmc/phosphor-time-manager/
H A Dmanager.cpp157 auto newMode = utils::strToMode(mode); in setCurrentTimeMode() local
158 if (newMode != timeMode) in setCurrentTimeMode()
160 info("Time mode has been changed to {MODE}", "MODE", newMode); in setCurrentTimeMode()
161 timeMode = newMode; in setCurrentTimeMode()
/openbmc/docs/
H A Danti-patterns.md581 info("Time mode has been changed to {MODE}", "MODE", newMode);