Home
last modified time | relevance | path

Searched refs:getChassisState (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-logging/test/openpower-pels/
H A Dmocks.hpp35 MOCK_METHOD(std::string, getChassisState, (), (const override));
H A Dpel_test.cpp392 EXPECT_CALL(dataIface, getChassisState()).WillOnce(Return("State.On")); in TEST_F()
/openbmc/bmcweb/redfish-core/lib/
H A Dchassis.hpp155 inline void getChassisState(std::shared_ptr<bmcweb::AsyncResp> asyncResp) in getChassisState() function
490 getChassisState(asyncResp); in handleDecoratorAssetProperties()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.hpp288 virtual std::string getChassisState() const in getChassisState() function in openpower::pels::DataInterfaceBase
H A Dpel.cpp885 json["ChassisState"] = lastSegment('.', dataIface.getChassisState()); in addStatesToJSON()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp543 static constexpr std::string_view getChassisState(const PowerState state) in getChassisState() function
613 std::string{getChassisState(state)}); in savePowerState()
625 std::string(getChassisState(powerState))); in setPowerState()
3215 std::string(getChassisState(powerState))); in main()
3251 "CurrentPowerState", std::string(getChassisState(powerState))); in main()