Home
last modified time | relevance | path

Searched refs:buttonPath (Results 1 – 2 of 2) sorted by relevance

/openbmc/intel-ipmi-oem/src/
H A Dchassiscommands.cpp333 static std::optional<bool> getButtonEnabled(const std::string& buttonPath) in getButtonEnabled() argument
339 auto service = ipmi::getService(*getSdBus(), buttonIntf, buttonPath); in getButtonEnabled()
341 *busp, service, buttonPath, buttonIntf, "ButtonMasked"); in getButtonEnabled()
347 entry("PATH=%s", buttonPath.c_str()), in getButtonEnabled()
354 static bool setButtonEnabled(const std::string& buttonPath, const bool disabled) in setButtonEnabled() argument
358 auto service = ipmi::getService(*getSdBus(), buttonIntf, buttonPath); in setButtonEnabled()
359 ipmi::setDbusProperty(*getSdBus(), service, buttonPath, buttonIntf, in setButtonEnabled()
/openbmc/phosphor-host-ipmid/
H A Dchassishandler.cpp1036 static std::optional<bool> getButtonEnabled(const std::string& buttonPath, in getButtonEnabled() argument
1043 auto service = ipmi::getService(*busp, buttonIntf, buttonPath); in getButtonEnabled()
1044 ipmi::Value enabled = ipmi::getDbusProperty(*busp, service, buttonPath, in getButtonEnabled()
1051 "PATH", buttonPath, "ERROR", e); in getButtonEnabled()
1058 const std::string& buttonPath, in setButtonEnabled() argument
1063 ec = ipmi::getService(ctx, buttonIntf, buttonPath, service); in setButtonEnabled()
1066 ec = ipmi::setDbusProperty(ctx, service, buttonPath, buttonIntf, in setButtonEnabled()
1073 "SERVICE", service, "PATH", buttonPath, "ERROR", ec.message()); in setButtonEnabled()