Home
last modified time | relevance | path

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

/openbmc/openpower-occ-control/
H A Dpowermode.cpp80 SysPwrMode currentMode; local
83 if (getMode(currentMode, oemModeData))
86 if (isValidMode(currentMode))
89 updateDbusMode(currentMode);
333 SysPwrMode currentMode; in initPersistentData() local
334 if (!getDefaultMode(currentMode)) in initPersistentData()
340 "MODE", currentMode); in initPersistentData()
343 persistedData.updateMode(currentMode, 0); in initPersistentData()
346 updateDbusMode(currentMode); in initPersistentData()
361 currentMode = SysPwrMode::NO_CHANGE; in getMode()
[all …]
H A Dpowermode.hpp416 bool getMode(SysPwrMode& currentMode, uint16_t& oemModeData);