Lines Matching +full:long +full:- +full:press

7 #include <phosphor-logging/lg2.hpp>
26 {"chassis-on", Chassis::Transition::On},
27 {"chassis-off", Chassis::Transition::Off},
28 {"chassis-cycle", Chassis::Transition::PowerCycle}};
53 /* So far, there are two modes for multi-host power control in Handler()
54 - host select button mode, e.g.: Yosemite V2 in Handler()
58 - multi power button mode, e.g.: Greatlakes in Handler()
75 if (gpioConfig.contains("multi-action")) in Handler()
78 const auto& multiActCfg = gpioConfig["multi-action"]; in Handler()
85 mapEntry[duration] = chassisPwrCtl->second; in Handler()
231 return objectData.begin()->first; in getService()
300 lg2::info("Multi-host system detected : {POSITION}", "POSITION", in handlePowerEvent()
311 …"handlePowerEvent : BMC selected on multi-host system. ignoring power and reset button events..."); in handlePowerEvent()
320 for (const auto& iter : multiPwrBtnActConf[stoi(hostNumStr) - 1]) in handlePowerEvent()
344 lg2::info("handlePowerEvent : Handle power button press "); in handlePowerEvent()
355 hosts (1 to N) - host shutdown in handlePowerEvent()
356 bmc (0) - sled cycle in handlePowerEvent()
358 host(0) - host shutdown in handlePowerEvent()
372 "Power is off so ignoring long power button press"); in handlePowerEvent()
375 lg2::info("handlePowerEvent : handle long power button press"); in handlePowerEvent()
387 lg2::info("Power is off so ignoring reset button press"); in handlePowerEvent()
391 lg2::info("Handling reset button press"); in handlePowerEvent()
426 lg2::error("Failed power state change on a power button press: {ERROR}", in powerReleased()
441 lg2::error("Failed power state change on a reset button press: {ERROR}", in resetReleased()
455 lg2::info("No found {GROUP} during ID button press:", "GROUP", in idReleased()
473 "Changing ID LED group state on ID LED press, GROUP = {GROUP}, STATE = {STATE}", in idReleased()
484 lg2::error("Error toggling ID LED group on ID button press: {ERROR}", in idReleased()
538 "Failed power process debug host selector button press : {ERROR}", in debugHostSelectorReleased()