Lines Matching +full:long +full:- +full:press +full:- +full:mode
7 #include <phosphor-logging/lg2.hpp>
27 {"chassis-on", Chassis::Transition::On},
28 {"chassis-off", Chassis::Transition::Off},
29 {"chassis-cycle", Chassis::Transition::PowerCycle}};
54 /* So far, there are two modes for multi-host power control in Handler()
55 - host select button mode, e.g.: Yosemite V2 in Handler()
59 - multi power button mode, e.g.: Greatlakes in Handler()
72 if (gpioConfig.contains("multi-action")) in Handler()
75 const auto& multiActCfg = gpioConfig["multi-action"]; in Handler()
82 mapEntry[duration] = chassisPwrCtl->second; in Handler()
101 lg2::debug("hostSelectButtonMode: {MODE}", "MODE", hostSelectButtonMode); in Handler()
230 return objectData.begin()->first; in getService()
297 lg2::info("Multi-host system detected : {POSITION}", "POSITION", in handlePowerEvent()
308 …"handlePowerEvent : BMC selected on multi-host system. ignoring power and reset button events..."); in handlePowerEvent()
317 for (const auto& iter : multiPwrBtnActConf[stoi(hostNumStr) - 1]) in handlePowerEvent()
341 lg2::info("handlePowerEvent : Handle power button press "); in handlePowerEvent()
352 hosts (1 to N) - host shutdown in handlePowerEvent()
353 bmc (0) - sled cycle in handlePowerEvent()
355 host(0) - host shutdown in handlePowerEvent()
369 "Power is off so ignoring long power button press"); in handlePowerEvent()
372 lg2::info("handlePowerEvent : handle long power button press"); in handlePowerEvent()
384 lg2::info("Power is off so ignoring reset button press"); in handlePowerEvent()
388 lg2::info("Handling reset button press"); in handlePowerEvent()
422 lg2::error("Failed power state change on a power button press: {ERROR}", in powerReleased()
437 lg2::error("Failed power state change on a reset button press: {ERROR}", in resetReleased()
451 lg2::info("No found {GROUP} during ID button press:", "GROUP", in idReleased()
468 "Changing ID LED group state on ID LED press, GROUP = {GROUP}, STATE = {STATE}", in idReleased()
479 lg2::error("Error toggling ID LED group on ID button press: {ERROR}", in idReleased()
533 "Failed power process debug host selector button press : {ERROR}", in debugHostSelectorReleased()