Lines Matching +full:d +full:- +full:bus

3 #include <phosphor-logging/elog.hpp>
4 #include <phosphor-logging/log.hpp>
5 #include <sdbusplus/bus.hpp>
19 constexpr auto POWEROFF_TARGET = "obmc-chassis-hard-poweroff@0.target";
26 * @param[in] path - the D-Bus path name
27 * @param[in] interface - the D-Bus interface name
28 * @param[in] bus - the D-Bus object
33 sdbusplus::bus_t& bus);
36 * @brief Read a D-Bus property
38 * @param[in] interface - the interface the property is on
39 * @param[in] propertName - the name of the property
40 * @param[in] path - the D-Bus path
41 * @param[in] service - the D-Bus service
42 * @param[in] bus - the D-Bus object
43 * @param[out] value - filled in with the property value
48 sdbusplus::bus_t& bus, T& value) in getProperty() argument
52 auto method = bus.new_method_call(service.c_str(), path.c_str(), in getProperty()
57 auto reply = bus.call(method); in getProperty()
64 * @brief Write a D-Bus property
66 * @param[in] interface - the interface the property is on
67 * @param[in] propertName - the name of the property
68 * @param[in] path - the D-Bus path
69 * @param[in] service - the D-Bus service
70 * @param[in] bus - the D-Bus object
71 * @param[in] value - the value to set the property to
76 sdbusplus::bus_t& bus, T& value) in setProperty() argument
80 auto method = bus.new_method_call(service.c_str(), path.c_str(), in setProperty()
85 auto reply = bus.call(method); in setProperty()
91 * @tparam T - error that will be logged before the power off
92 * @param[in] bus - D-Bus object
95 void powerOff(sdbusplus::bus_t& bus) in powerOff() argument
99 auto method = bus.new_method_call(SYSTEMD_SERVICE, SYSTEMD_ROOT, in powerOff()
105 bus.call_noreply(method); in powerOff()