Searched refs:newMode (Results 1 – 5 of 5) sorted by relevance
/openbmc/openpower-occ-control/ |
H A D | occ_pass_through.cpp | 136 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 D | powermode.cpp | 270 newMode = SysPwrMode::FFO; in convertStringToMode() 291 return newMode; in convertStringToMode() 381 if (!isValidMode(newMode)) in updateDbusMode() 385 "MODE", newMode); in updateDbusMode() 393 switch (newMode) in updateDbusMode() 420 if (IS_ECO_MODE(newMode)) in updateDbusMode() 439 SysPwrMode newMode; in sendModeChange() local 441 getMode(newMode, oemModeData); in sendModeChange() 443 if (isValidMode(newMode)) in sendModeChange() 445 if (IS_ECO_MODE(newMode)) in sendModeChange() [all …]
|
H A D | powermode.hpp | 114 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 D | manager.cpp | 157 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 D | anti-patterns.md | 581 info("Time mode has been changed to {MODE}", "MODE", newMode);
|