Home
last modified time | relevance | path

Searched refs:currentState (Results 1 – 10 of 10) sorted by relevance

/openbmc/phosphor-fan-presence/presence/
H A Dgpio.cpp44 currentState(false), evdevfd(open(device.c_str(), O_RDONLY | O_NONBLOCK)), in Gpio()
52 currentState = present(); in start()
53 return currentState; in start()
89 if (currentState != newState) in ioCallback()
92 currentState = newState; in ioCallback()
H A Dtach.cpp42 Tach::Tach(const std::vector<std::string>& sensors) : currentState(false) in Tach()
83 currentState = std::any_of(state.begin(), state.end(), [](const auto& s) { in start()
87 return currentState; in start()
136 if (currentState != newState) in propertiesChanged()
139 currentState = newState; in propertiesChanged()
H A Dtach.hpp110 bool currentState; member in phosphor::fan::presence::Tach
H A Dgpio.hpp97 bool currentState; member in phosphor::fan::presence::Gpio
/openbmc/intel-ipmi-oem/include/
H A Dmanufacturingcommands.hpp206 std::string currentState; member in ipmi::LedProperty
231 currentState = state; in setCurrState()
235 return currentState; in getCurrState()
/openbmc/phosphor-state-manager/
H A Dbmc_state_manager.cpp49 std::variant<std::string> currentState; in getUnitState() local
82 result.read(currentState); in getUnitState()
89 return (std::get<std::string>(currentState)); in getUnitState()
H A Dhost_state_manager.cpp157 std::variant<std::string> currentState; in stateActive() local
186 result.read(currentState); in stateActive()
194 const auto& currentStateStr = std::get<std::string>(currentState); in stateActive()
H A Dchassis_state_manager.cpp494 std::variant<std::string> currentState; in stateActive() local
523 result.read(currentState); in stateActive()
531 const auto& currentStateStr = std::get<std::string>(currentState); in stateActive()
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp4020 uint8_t currentState = 0; in TEST() local
4030 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4035 EXPECT_EQ(currentState, PLDM_FD_STATE_IDLE); in TEST()
4056 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4061 EXPECT_EQ(currentState, PLDM_FD_STATE_VERIFY); in TEST()
4075 .current_state = currentState, in TEST()
4100 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4109 uint8_t currentState = 0; in TEST() local
4124 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
4130 &currentState, &previousState, &auxState, &auxStateStatus, in TEST()
[all …]
/openbmc/pldm/pldmtool/
H A Dpldm_fw_update_cmd.cpp100 uint8_t currentState = 0; in parseResponseMsg() local
109 responsePtr, payloadLength, &completionCode, &currentState, in parseResponseMsg()
120 data["CurrentState"] = fdStateMachine.at(currentState); in parseResponseMsg()