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/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()
81 if (dbusValue == in toRedfishTriggerAction()
123 inline resource::Health toRedfishSeverity(std::string_view dbusValue) in toRedfishSeverity() argument
125 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Severity.OK") in toRedfishSeverity()
129 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Severity.Warning") in toRedfishSeverity()
133 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Severity.Critical") in toRedfishSeverity()
140 inline std::string toRedfishThresholdName(std::string_view dbusValue) in toRedfishThresholdName() argument
142 if (dbusValue == "xyz.openbmc_project.Telemetry.Trigger.Type.UpperCritical") 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.hpp868 for (const auto& [name, dbusValue] : values) in storeInventoryItemData()
872 const bool* value = std::get_if<bool>(&dbusValue); in storeInventoryItemData()
890 for (const auto& [name, dbusValue] : values) in storeInventoryItemData()
895 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
904 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
913 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
922 std::get_if<std::string>(&dbusValue); in storeInventoryItemData()
934 for (const auto& [name, dbusValue] : values) in storeInventoryItemData()
938 const bool* value = std::get_if<bool>(&dbusValue); in storeInventoryItemData()
/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.cpp3773 Value dbusValue = 0; in getMultiNodeInfoPresence() local
3787 multiNodeIntf, name, dbusValue); in getMultiNodeInfoPresence()
3795 auto multiNodeVal = std::get_if<uint8_t>(&dbusValue); in getMultiNodeInfoPresence()
/openbmc/entity-manager/src/
H A Dutils.cpp408 bool operator()(const T& dbusValue) const in operator ()()
410 return MatchProbe<T>::match(probeRef, dbusValue); in operator ()()
414 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue) in matchProbe() argument
416 return std::visit(MatchProbeForwarder(probe), dbusValue); in matchProbe()
H A Dutils.hpp163 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue);
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_platform_test.cpp433 pldm::utils::PropertyValue dbusValue; in TEST() local
448 effecterDataSize, propertyType, dbusValue); in TEST()
462 propertyType, dbusValue, effecterDataSize, responsePtr, in TEST()
509 pldm::utils::PropertyValue dbusValue; in TEST() local
514 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.cpp660 pldm::utils::PropertyValue dbusValue; in getNumericEffecterValue() local
667 dBusIntf, *this, effecterId, effecterDataSize, propertyType, dbusValue); in getNumericEffecterValue()
690 propertyType, dbusValue, effecterDataSize, responsePtr, in getNumericEffecterValue()