Searched refs:PowerOpState (Results 1 – 2 of 2) sorted by relevance
55 state = PowerOpState::powerOnPress; in pressed()69 if (state == PowerOpState::buttonNotPressed) in pressed()72 state = PowerOpState::buttonPressed; in pressed()82 state = PowerOpState::chassisOffStarted; in pressed()95 if (state == PowerOpState::buttonPressedHostOffStarted) in released()97 state = PowerOpState::buttonReleasedHostToChassisOffWindow; in released()101 state = PowerOpState::buttonNotPressed; in released()109 if ((state == PowerOpState::buttonPressed) && (now >= hostOffTime)) in timerHandler()113 state = PowerOpState::buttonPressedHostOffStarted; in timerHandler()117 else if ((state == PowerOpState::buttonPressedHostOffStarted) && in timerHandler()[all …]
37 enum class PowerOpState enum in phosphor::button::HostThenChassisPowerOff52 PowerButtonProfile(bus), state(PowerOpState::buttonNotPressed), in HostThenChassisPowerOff()168 PowerOpState state;