Home
last modified time | relevance | path

Searched refs:dbusValue (Results 1 – 11 of 11) sorted by relevance

/openbmc/bmcweb/redfish-core/include/utils/
H A Dtelemetry_utils.hpp123 toRedfishCollectionFunction(std::string_view dbusValue) in toRedfishCollectionFunction() argument
125 if (dbusValue == in toRedfishCollectionFunction()
130 if (dbusValue == in toRedfishCollectionFunction()
135 if (dbusValue == in toRedfishCollectionFunction()
140 if (dbusValue == in toRedfishCollectionFunction()
175 for (const auto& dbusValue : dbusEnums) in toRedfishCollectionFunctions() local
178 toRedfishCollectionFunction(dbusValue); in toRedfishCollectionFunctions()
/openbmc/intel-ipmi-oem/src/
H A Dmultinodecommands.cpp38 Value dbusValue = getDbusProperty(*pdbus, service, multiNodeObjPath, in getMultiNodeInfo() local
40 return std::get<uint8_t>(dbusValue); in getMultiNodeInfo()
58 Value dbusValue = getDbusProperty(*pdbus, service, multiNodeObjPath, in getMultiNodeRole() local
60 std::string valueStr = std::get<std::string>(dbusValue); in getMultiNodeRole()
H A Doemcommands.cpp3774 Value dbusValue = 0; in getMultiNodeInfoPresence() local
3788 multiNodeIntf, name, dbusValue); in getMultiNodeInfoPresence()
3796 auto multiNodeVal = std::get_if<uint8_t>(&dbusValue); in getMultiNodeInfoPresence()
/openbmc/bmcweb/redfish-core/lib/
H A Dtrigger.hpp69 std::string_view dbusValue) in toRedfishTriggerAction() argument
71 if (dbusValue == in toRedfishTriggerAction()
76 if (dbusValue == in toRedfishTriggerAction()
114 inline resource::Health toRedfishSeverity(std::string_view dbusValue) in toRedfishSeverity() argument
116 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Severity.OK") in toRedfishSeverity()
120 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Severity.Warning") in toRedfishSeverity()
124 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Severity.Critical") in toRedfishSeverity()
131 inline std::string toRedfishThresholdName(std::string_view dbusValue) in toRedfishThresholdName() argument
133 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Type.UpperCritical") in toRedfishThresholdName()
138 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Type.LowerCritical") in toRedfishThresholdName()
[all …]
H A Dmetric_report_definition.hpp100 std::string_view dbusValue) in toRedfishReportAction() argument
102 if (dbusValue == in toRedfishReportAction()
107 if (dbusValue == in toRedfishReportAction()
130 toRedfishReportingType(std::string_view dbusValue) in toRedfishReportingType() argument
132 if (dbusValue == in toRedfishReportingType()
137 if (dbusValue == in toRedfishReportingType()
142 if (dbusValue == in toRedfishReportingType()
168 toRedfishCollectionTimeScope(std::string_view dbusValue) in toRedfishCollectionTimeScope() argument
170 if (dbusValue == in toRedfishCollectionTimeScope()
175 if (dbusValue == in toRedfishCollectionTimeScope()
[all …]
H A Dsensors.hpp898 for (const auto& [name, dbusValue] : values) in storeInventoryItemData()
902 const bool* value = std::get_if<bool>(&dbusValue); in storeInventoryItemData()
920 for (const auto& [name, dbusValue] : values) in storeInventoryItemData()
925 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
934 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
943 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
952 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
964 for (const auto& [name, dbusValue] : values) in storeInventoryItemData()
968 const bool* value = std::get_if<bool>(&dbusValue); in storeInventoryItemData()
/openbmc/entity-manager/src/
H A Dutils.cpp170 bool operator()(const T& dbusValue) const in operator ()()
172 return MatchProbe<T>::match(probeRef, dbusValue); in operator ()()
176 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue) in matchProbe() argument
178 return std::visit(MatchProbeForwarder(probe), dbusValue); in matchProbe()
H A Dutils.hpp77 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue);
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_platform_test.cpp426 pldm::utils::PropertyValue dbusValue; in TEST() local
441 effecterDataSize, propertyType, dbusValue); in TEST()
455 propertyType, dbusValue, effecterDataSize, responsePtr, in TEST()
501 pldm::utils::PropertyValue dbusValue; in TEST() local
506 effecterDataSize, propertyType, dbusValue); in TEST()
/openbmc/pldm/libpldmresponder/
H A Dplatform_numeric_effecter.hpp310 auto [rc, dbusValue] = convertToDbusValue( in setNumericEffecterValueHandler()
318 dBusIntf.setDbusProperty(dbusMapping, dbusValue.value()); in setNumericEffecterValueHandler()
H A Dplatform.cpp662 pldm::utils::PropertyValue dbusValue; in getNumericEffecterValue() local
669 dBusIntf, *this, effecterId, effecterDataSize, propertyType, dbusValue); in getNumericEffecterValue()
692 propertyType, dbusValue, effecterDataSize, responsePtr, in getNumericEffecterValue()