Lines Matching +full:off +full:- +full:state

7 #include <xyz/openbmc_project/State/Host/server.hpp>
19 * If power is off:
20 * - A button press will power on as long as the BMC is
21 * in the ready state.
24 * - A button press less than 4s won't do anything.
25 * - At 4s, issue a host power off and start a 10s timer.
26 * - If the button is released within that 10s and not pressed
27 * again, continue with the host power off.
28 * - If the button is released within that 10s and also
30 * off.
31 * - If the button is pressed throughout that 10s
32 * issue a hard power off.
49 * @param[in] bus - The sdbusplus bus object
52 PowerButtonProfile(bus), state(PowerOpState::buttonNotPressed), in HostThenChassisPowerOff()
80 * @param[in] pressTimeMS - How long the button was pressed
87 * @brief Determines if the BMC is in the ready state.
88 * @return bool If the BMC is in the ready state
95 * @return bool - If power is on
100 * @brief Requests a host state transition
101 * @param[in] transition - The transition (like On or Off)
104 sdbusplus::xyz::openbmc_project::State::server::Host::Transition
113 * @brief Requests a host power off
118 * @brief Requests a chassis power off
124 * how to power off.
127 * a power off countdown if necessary.
132 * @brief Sets the time the host will be powered off if the
133 * button is still pressed - 4 seconds in the future.
141 * @brief Sets the time the chassis will be powered off if the
142 * button is still pressed or pressed again - 10 seconds
161 * @brief The time between a host power off and chassis power off.
166 * @brief The current state of the handler.
168 PowerOpState state; member in phosphor::button::HostThenChassisPowerOff
171 * @brief When the host will be powered off.
176 * @brief When the chassis will be powered off.