Lines Matching +full:bus +full:- +full:powered
4 #include <sdbusplus/bus/match.hpp>
20 * - A button press will power on as long as the BMC is
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
28 * - If the button is released within that 10s and also
31 * - If the button is pressed throughout that 10s
49 * @param[in] bus - The sdbusplus bus object
51 explicit HostThenChassisPowerOff(sdbusplus::bus_t& bus) : in HostThenChassisPowerOff() argument
52 PowerButtonProfile(bus), state(PowerOpState::buttonNotPressed), in HostThenChassisPowerOff()
53 timer(bus.get_event(), in HostThenChassisPowerOff()
80 * @param[in] pressTimeMS - How long the button was pressed
93 * @brief Determines if system (chassis) is powered on.
95 * @return bool - If power is on
101 * @param[in] transition - The transition (like On or Off)
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
171 * @brief When the host will be powered off.
176 * @brief When the chassis will be powered off.