Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 18 of 18) sorted by relevance

/openbmc/smbios-mdr/src/
H A Dcpuinfo_utils.cpp87 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 Danyof.cpp75 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 Dgpio.cpp87 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 Dtach.cpp130 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 Dfan.cpp38 void setPresence(const Fan& fan, bool newState) in setPresence() argument
49 {"Present"s, newState}, in setPresence()
H A Dfan.hpp28 void setPresence(const Fan& fan, bool newState);
/openbmc/dbus-sensors/src/leakdetector/
H A DLeakGPIODetector.cpp85 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 DTachSensor.cpp246 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 Duser_header.hpp201 uint32_t newState = state << 8; in setHMCTransmissionState() local
203 _states |= newState; in setHMCTransmissionState()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensorMain.cpp550 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 Ddbus_to_terminus_effecter_test.cpp120 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 Dfallbacktest.cpp18 void setPresence(const Fan&, bool newState) in setPresence() argument
20 if (newState) in setPresence()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dmocks.hpp76 void changeHostState(bool newState) in changeHostState() argument
78 setHostUp(newState); in changeHostState()
/openbmc/pldm/fw-update/
H A Ddevice_updater.hpp66 void updateState(state newState);
H A Ddevice_updater.cpp40 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 DHwmonTempMain.cpp584 PowerState type, bool newState, in powerStateChanged() argument
590 if (newState) in powerStateChanged()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensorMain.cpp1129 PowerState type, bool newState, in powerStateChanged() argument
1135 if (newState) in powerStateChanged()
/openbmc/fb-ipmi-oem/src/
H A Doemcommands.cpp2387 static ipmi_ret_t setDumpState(CrdState& currState, CrdState newState) in setDumpState() argument
2389 switch (newState) in setDumpState()
2404 currState = newState; in setDumpState()