| /openbmc/smbios-mdr/src/ |
| H A D | cpuinfo_utils.cpp | 87 void updatePowerState(const std::string& newState) in updatePowerState() argument 89 powerState = state::Host::convertHostStateFromString(newState); in updatePowerState() 93 void updateBiosDone(bool newState) in updateBiosDone() argument 95 biosDone = newState; in updateBiosDone() 99 void updateOsState(const std::string& newState) in updateOsState() argument 108 std::string full_path = newState; in updateOsState() 109 if (newState.find("xyz.") == std::string::npos) in updateOsState() 113 newState; in updateOsState()
|
| /openbmc/phosphor-fan-presence/presence/ |
| H A D | anyof.cpp | 75 auto newState = in stateChanged() local 78 setPresence(fan, newState); in stateChanged() 80 if (eepromDevice && (newState != origState)) in stateChanged() 82 if (newState) in stateChanged() 93 if (newState) in stateChanged()
|
| H A D | gpio.cpp | 87 bool newState = value != 0; in ioCallback() local 89 if (currentState != newState) in ioCallback() 91 getPolicy().stateChanged(newState, *this); in ioCallback() 92 currentState = newState; in ioCallback()
|
| H A D | tach.cpp | 130 auto newState = in propertiesChanged() local 134 if (currentState != newState) in propertiesChanged() 136 getPolicy().stateChanged(newState, *this); in propertiesChanged() 137 currentState = newState; in propertiesChanged()
|
| H A D | fan.cpp | 38 void setPresence(const Fan& fan, bool newState) in setPresence() argument 49 {"Present"s, newState}, in setPresence()
|
| H A D | fan.hpp | 28 void setPresence(const Fan& fan, bool newState);
|
| /openbmc/dbus-sensors/src/leakdetector/ |
| H A D | LeakGPIODetector.cpp | 85 auto newState = gpioState ? DetectorIntf::DetectorState::Abnormal in updateGPIOStateAsync() local 89 config.name, "STATE", newState); in updateGPIOStateAsync() 91 if (newState != state_) in updateGPIOStateAsync() 93 state(newState); in updateGPIOStateAsync()
|
| /openbmc/dbus-sensors/src/fan/ |
| H A D | TachSensor.cpp | 246 std::string newState = redundancy::full; in update() local 255 newState = redundancy::failed; in update() 260 newState = redundancy::degraded; in update() 263 if (state != newState) in update() 269 else if (newState == redundancy::full) in update() 273 state = newState; in update()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | user_header.hpp | 201 uint32_t newState = state << 8; in setHMCTransmissionState() local 203 _states |= newState; in setHMCTransmissionState()
|
| /openbmc/dbus-sensors/src/intel-cpu/ |
| H A D | IntelCPUSensorMain.cpp | 550 State newState = State::OFF; in detectCpu() local 583 newState = State::READY; in detectCpu() 587 newState = State::ON; in detectCpu() 591 if (config.state != newState) in detectCpu() 593 if (newState != State::OFF) in detectCpu() 607 newState = State::OFF; in detectCpu() 612 newState = State::OFF; in detectCpu() 616 if (newState == State::ON) in detectCpu() 620 else if (newState == State::READY) in detectCpu() 628 config.state = newState; in detectCpu()
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | dbus_to_terminus_effecter_test.cpp | 120 auto newState = hostEffecterParser.findNewStateValue(0, 0, val1); in TEST() local 121 ASSERT_EQ(newState, 2); in TEST()
|
| /openbmc/phosphor-fan-presence/presence/test/ |
| H A D | fallbacktest.cpp | 18 void setPresence(const Fan&, bool newState) in setPresence() argument 20 if (newState) in setPresence()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | mocks.hpp | 76 void changeHostState(bool newState) in changeHostState() argument 78 setHostUp(newState); in changeHostState()
|
| /openbmc/pldm/fw-update/ |
| H A D | device_updater.hpp | 66 void updateState(state newState);
|
| H A D | device_updater.cpp | 40 void UpdateProgress::updateState(state newState) in updateState() argument 42 switch (newState) in updateState() 53 warning("Invalid state {STATE} provided", "STATE", newState); in updateState() 56 currentState = newState; in updateState()
|
| /openbmc/dbus-sensors/src/hwmon-temp/ |
| H A D | HwmonTempMain.cpp | 584 PowerState type, bool newState, in powerStateChanged() argument 590 if (newState) in powerStateChanged()
|
| /openbmc/dbus-sensors/src/psu/ |
| H A D | PSUSensorMain.cpp | 1129 PowerState type, bool newState, in powerStateChanged() argument 1135 if (newState) in powerStateChanged()
|
| /openbmc/fb-ipmi-oem/src/ |
| H A D | oemcommands.cpp | 2387 static ipmi_ret_t setDumpState(CrdState& currState, CrdState newState) in setDumpState() argument 2389 switch (newState) in setDumpState() 2404 currState = newState; in setDumpState()
|