Home
last modified time | relevance | path

Searched refs:powerState (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/phosphor-fan-presence/presence/
H A Dget_power_state.cpp6 std::shared_ptr<PowerState> powerState; variable
10 if (!powerState) in getPowerStateObject()
12 powerState = std::make_shared<PGoodState>(); in getPowerStateObject()
14 return powerState; in getPowerStateObject()
H A Derror_reporter.cpp198 void ErrorReporter::powerStateChanged(bool powerState) in powerStateChanged() argument
200 if (powerState) in powerStateChanged()
H A Derror_reporter.hpp69 void powerStateChanged(bool powerState);
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dmain.cpp32 std::shared_ptr<phosphor::fan::PowerState> powerState = in main() local
35 std::shared_ptr<phosphor::fan::PowerState> powerState = in main() local
39 ShutdownAlarmMonitor shutdownMonitor{bus, event, powerState}; in main()
41 ThresholdAlarmLogger logger{bus, event, powerState}; in main()
H A Dshutdown_alarm_monitor.hpp74 std::shared_ptr<phosphor::fan::PowerState> powerState);
H A Dthreshold_alarm_logger.hpp71 std::shared_ptr<phosphor::fan::PowerState> powerState);
/openbmc/webui-vue/src/store/modules/Settings/
H A DPowerPolicyStore.js36 (powerState) => {
38 `pagePowerRestorePolicy.policies.${powerState}`,
40 PowerRestorePolicyTypes.enumDescriptions[powerState]
43 state: powerState,
/openbmc/phosphor-fan-presence/
H A Dpower_state.hpp306 for (const auto& powerState : hostPowerStates) in setHostPowerState() local
308 if (powerState == HostState::Standby || in setHostPowerState()
309 powerState == HostState::Running || in setHostPowerState()
310 powerState == HostState::TransitioningToRunning || in setHostPowerState()
311 powerState == HostState::Quiesced || in setHostPowerState()
312 powerState == HostState::DiagnosticMode) in setHostPowerState()
/openbmc/openpower-proc-control/
H A Dutil.cpp96 std::string powerState{}; in getChassisPowerState() local
111 powerState = *pVal; in getChassisPowerState()
123 log<level::DEBUG>(std::format("Power state is: {} ", powerState).c_str()); in getChassisPowerState()
125 return powerState; in getChassisPowerState()
/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.cpp45 const PowerState& powerState, EventPathList& eventPathList, in PSUCombineEvent()
73 eventInterface, path, conn, io, powerState, eventName, in PSUCombineEvent()
95 eventInterface, path, conn, io, powerState, groupEventName, in PSUCombineEvent()
142 boost::asio::io_context& io, const PowerState& powerState, in PSUSubEvent()
149 path(path), eventName(eventName), readState(powerState), waitTimer(io), in PSUSubEvent()
46 PSUCombineEvent(sdbusplus::asio::object_server & objectServer,std::shared_ptr<sdbusplus::asio::connection> & conn,boost::asio::io_context & io,const std::string & psuName,const PowerState & powerState,EventPathList & eventPathList,GroupEventPathList & groupEventPathList,const std::string & combineEventName,double pollRate) PSUCombineEvent() argument
143 PSUSubEvent(std::shared_ptr<sdbusplus::asio::dbus_interface> eventInterface,const std::string & path,std::shared_ptr<sdbusplus::asio::connection> & conn,boost::asio::io_context & io,const PowerState & powerState,const std::string & groupEventName,const std::string & eventName,std::shared_ptr<std::set<std::string>> asserts,std::shared_ptr<std::set<std::string>> combineEvent,std::shared_ptr<bool> state,const std::string & psuName,double pollRate) PSUSubEvent() argument
H A DPSUEvent.hpp46 boost::asio::io_context& io, const PowerState& powerState,
91 const PowerState& powerState, EventPathList& eventPathList,
H A DPSUSensor.cpp53 const std::string& sensorConfiguration, const PowerState& powerState, in PSUSensor() argument
58 objectType, false, false, max, min, conn, powerState), in PSUSensor()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dpcie_card_floors.cpp78 PropertyVariantType powerState; in execute() local
82 powerState = Manager::getObjValueVariant( in execute()
93 if (std::get<std::string>(powerState) != in execute()
/openbmc/smbios-mdr/src/
H A Dcpuinfo_utils.cpp36 static PowerState powerState = PowerState::Off; variable
51 if (powerState == PowerState::Off) in updateHostState()
89 powerState = state::Host::convertHostStateFromString(newState); in updatePowerState()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp280 static PowerState powerState; variable
490 std::function<void(const Event)> handler = getPowerStateHandler(powerState); in sendPowerControlEvent()
494 static_cast<int>(powerState)); in sendPowerControlEvent()
612 powerState = state; in setPowerState()
616 std::string(getHostState(powerState))); in setPowerState()
619 std::string(getChassisState(powerState))); in setPowerState()
1139 savePowerState(powerState); in invoke()
1536 if (getHostState(powerState) != in pohCounterTimerStart()
1582 if (getHostState(powerState) == in currentHostStateMonitor()
2246 getHostState(powerState) != in nmiButtonHandler()
[all …]
/openbmc/dbus-sensors/src/
H A DDeviceMgmt.hpp107 PowerState powerState = getPowerState(cfg); in instantiateDevices() local
108 if (!readingStateGood(powerState)) in instantiateDevices()
H A DUtils.hpp102 bool readingStateGood(const PowerState& powerState);
212 std::string powerState = in getPowerState() local
214 setReadState(powerState, state); in getPowerState()
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-cmd/
H A Dkudo-ras.sh7 powerState=$(i2cget -f -y "${I2C_S0_SMPRO[0]}" 0x"${I2C_S0_SMPRO[1]}" 0xe0 b)
248 if [ -z "${powerState}" ]
252 echo "System is currently in ${powerState} "
/openbmc/dbus-sensors/src/external/
H A DExternalSensor.cpp30 double minReading, double timeoutSecs, const PowerState& powerState) : in ExternalSensor() argument
32 objectType, true, true, maxReading, minReading, conn, powerState), in ExternalSensor()
H A DExternalSensor.hpp28 double minReading, double timeoutSecs, const PowerState& powerState);
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.cpp59 const std::string& sensorConfiguration, const PowerState powerState, in HwmonTempSensor() argument
64 conn, powerState), in HwmonTempSensor()
H A DHwmonTempSensor.hpp42 PowerState powerState,
/openbmc/dbus-sensors/src/fan/
H A DTachSensor.cpp55 const std::pair<double, double>& limits, const PowerState& powerState, in TachSensor() argument
59 powerState), in TachSensor()
/openbmc/webui-vue/src/store/modules/HardwareStatus/
H A DChassisStore.js39 powerState: PowerState,
H A DSystemStore.js28 system.powerState = data.PowerState;

12