Lines Matching +full:power +full:- +full:button
11 namespace phosphor::button namespace
17 * A custom power button handler that will do the following:
19 * If power is off:
20 * - A button press will power on as long as the BMC is
23 * If power is on:
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
29 * pressed again in that 10s, do a hard power (chassis)
31 * - If the button is pressed throughout that 10s
32 * issue a hard power off.
49 * @param[in] bus - The sdbusplus bus object
73 * @brief Called when the power button is pressed.
78 * @brief Called when the power button is released.
80 * @param[in] pressTimeMS - How long the button was pressed
95 * @return bool - If power is on
101 * @param[in] transition - The transition (like On or Off)
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.
133 * button is still pressed - 4 seconds in the future.
142 * button is still pressed or pressed again - 10 seconds
156 * @brief Default button hold down interval constant
161 * @brief The time between a host power off and chassis power off.
185 } // namespace phosphor::button