Lines Matching +full:bus +full:- +full:power

3 #include <systemd/sd-bus.h>
11 namespace phosphor::power::sequencer namespace
16 * This class provides the org.openbmc.control.Power D-Bus interface.
29 * Constructor to put object onto bus at a dbus path.
30 * @param bus D-Bus bus object
31 * @param path D-Bus object path
33 PowerInterface(sdbusplus::bus_t& bus, const char* path);
36 * Emit the power good signal
41 * Emit the power lost signal
52 * Returns the power good of the chassis
53 * @return power good
58 * Returns the power good timeout
59 * @return power good timeout
64 * Returns the value of the last requested power state
65 * @return power state. A power on request is value 1. Power off is 0.
70 * Sets the power good timeout
71 * @param timeout power good timeout
76 * Initiates a chassis power state change
77 * @param state power state. Request power on with a value of 1. Request
78 * power off with a value of 0. Other values will be rejected.
83 * Sets the power supply error.
84 * @param error power supply error. The value should be a message
85 * argument for a phosphor-logging Create call, e.g.
86 * "xyz.openbmc_project.Power.PowerSupply.Error.PSKillFault"
104 * Systemd bus callback for getting the pgood property
106 static int callbackGetPgood(sd_bus* bus, const char* path,
112 * Systemd bus callback for getting the pgood_timeout property
115 sd_bus* bus, const char* path, const char* interface,
120 * Systemd bus callback for the getPowerState method
126 * Systemd bus callback for getting the state property
128 static int callbackGetState(sd_bus* bus, const char* path,
134 * Systemd bus callback for setting the pgood_timeout property
137 sd_bus* bus, const char* path, const char* interface,
142 * Systemd bus callback for the setPowerSupplyError method
148 * Systemd bus callback for the setPowerState method
154 } // namespace phosphor::power::sequencer