Home
last modified time | relevance | path

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

/openbmc/phosphor-bmc-code-mgmt/ubi/
H A Dflash.cpp35 std::string newStateUnit{}; in onStateChanges() local
39 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in onStateChanges()
47 if (newStateUnit == rwServiceFile && newStateResult == "done") in onStateChanges()
53 if (newStateUnit == roServiceFile && newStateResult == "done") in onStateChanges()
59 if (newStateUnit == ubootVarsServiceFile && newStateResult == "done") in onStateChanges()
64 if (newStateUnit == rwServiceFile || newStateUnit == roServiceFile || in onStateChanges()
65 newStateUnit == ubootVarsServiceFile) in onStateChanges()
/openbmc/phosphor-bmc-code-mgmt/mmc/
H A Dflash.cpp30 std::string newStateUnit{}; in onStateChanges() local
34 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in onStateChanges()
40 if (newStateUnit == mmcServiceFile && newStateResult == "done") in onStateChanges()
46 if (newStateUnit == mmcSetPrimary && newStateResult == "done") in onStateChanges()
51 if (newStateUnit == mmcServiceFile || newStateUnit == mmcSetPrimary) in onStateChanges()
/openbmc/phosphor-state-manager/
H A Dhost_state_manager.cpp286 std::string newStateUnit{}; in sysStateChangeJobRemoved() local
290 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in sysStateChangeJobRemoved()
292 if ((newStateUnit == getTarget(server::Host::HostState::Off)) && in sysStateChangeJobRemoved()
301 else if ((newStateUnit == getTarget(server::Host::HostState::Running)) && in sysStateChangeJobRemoved()
319 else if ((newStateUnit == getTarget(server::Host::HostState::Quiesced)) && in sysStateChangeJobRemoved()
340 std::string newStateUnit{}; in sysStateChangeJobNew() local
343 msg.read(newStateID, newStateObjPath, newStateUnit); in sysStateChangeJobNew()
345 if (newStateUnit == getTarget(server::Host::HostState::DiagnosticMode)) in sysStateChangeJobNew()
350 else if ((newStateUnit == hostCrashTarget) && in sysStateChangeJobNew()
H A Dbmc_state_manager.cpp179 std::string newStateUnit{}; in bmcStateChange() local
183 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in bmcStateChange()
185 if ((newStateUnit == obmcQuiesceTarget) && (newStateResult == signalDone)) in bmcStateChange()
212 if ((newStateUnit == obmcStandbyTarget) && (newStateResult == signalDone)) in bmcStateChange()
H A Dchassis_state_manager.cpp539 std::string newStateUnit{}; in sysStateChange() local
548 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in sysStateChange()
557 if ((newStateUnit == std::format(CHASSIS_STATE_POWEROFF_TGT_FMT, id)) && in sysStateChange()
565 else if ((newStateUnit == systemdTargetTable[Transition::On]) && in sysStateChange()
/openbmc/phosphor-bmc-code-mgmt/static/
H A Dflash.cpp68 std::string newStateUnit{}; in onStateChanges() local
70 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in onStateChanges()
72 if (newStateUnit != serviceFile) in onStateChanges()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dactivation_ubi.cpp135 std::string newStateUnit{}; in unitStateChange() local
139 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in unitStateChange()
144 if (newStateUnit == ubimountServiceFile && newStateResult == "done") in unitStateChange()
155 if ((newStateUnit == ubimountServiceFile) && in unitStateChange()
/openbmc/openpower-pnor-code-mgmt/static/
H A Dactivation_static.cpp115 std::string newStateUnit{}; in unitStateChange() local
119 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in unitStateChange()
121 if (newStateUnit == pnorUpdateUnit) in unitStateChange()
/openbmc/phosphor-psu-code-mgmt/src/
H A Dactivation.cpp68 std::string newStateUnit{}; in unitStateChange() local
72 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in unitStateChange()
74 if (newStateUnit == psuUpdateUnit) in unitStateChange()
/openbmc/phosphor-bmc-code-mgmt/
H A Dactivation.cpp425 std::string newStateUnit{}; in onStateChangesBios() local
429 msg.read(newStateID, newStateObjPath, newStateUnit, newStateResult); in onStateChangesBios()
433 if (newStateUnit == biosServiceFile) in onStateChangesBios()