Home
last modified time | relevance | path

Searched refs:restartCause (Results 1 – 2 of 2) sorted by relevance

/openbmc/intel-ipmi-oem/src/
H A Dchassiscommands.cpp372 static bool getRestartCause(ipmi::Context::ptr& ctx, std::string& restartCause) in getRestartCause() argument
387 restartCause); in getRestartCause()
403 std::string restartCause; in checkIPMIRestartCause() local
404 if (!getRestartCause(ctx, restartCause)) in checkIPMIRestartCause()
409 (restartCause == in checkIPMIRestartCause()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp708 std::string restartCause = in setRestartCause() local
712 restartCause = getRestartCause(RestartCause::watchdog); in setRestartCause()
716 restartCause = getRestartCause(RestartCause::command); in setRestartCause()
720 restartCause = getRestartCause(RestartCause::resetButton); in setRestartCause()
724 restartCause = getRestartCause(RestartCause::powerButton); in setRestartCause()
728 restartCause = getRestartCause(RestartCause::powerPolicyOn); in setRestartCause()
732 restartCause = getRestartCause(RestartCause::powerPolicyRestore); in setRestartCause()
743 restartCause = getRestartCause(RestartCause::softReset); in setRestartCause()
746 setRestartCauseProperty(restartCause); in setRestartCause()