Searched refs:buttonPath (Results 1 – 2 of 2) sorted by relevance
/openbmc/intel-ipmi-oem/src/ |
H A D | chassiscommands.cpp | 333 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 D | chassishandler.cpp | 1038 static std::optional<bool> getButtonEnabled(const std::string& buttonPath, in getButtonEnabled() argument 1045 auto service = ipmi::getService(*busp, buttonIntf, buttonPath); in getButtonEnabled() 1046 ipmi::Value enabled = ipmi::getDbusProperty(*busp, service, buttonPath, in getButtonEnabled() 1053 "PATH", buttonPath, "ERROR", e); in getButtonEnabled() 1060 const std::string& buttonPath, in setButtonEnabled() argument 1065 ec = ipmi::getService(ctx, buttonIntf, buttonPath, service); in setButtonEnabled() 1068 ec = ipmi::setDbusProperty(ctx, service, buttonPath, buttonIntf, in setButtonEnabled() 1075 "SERVICE", service, "PATH", buttonPath, "ERROR", ec.message()); in setButtonEnabled()
|