/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | telemetry_utils.hpp | 123 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 D | trigger.hpp | 69 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 D | metric_report_definition.hpp | 100 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 D | sensors.hpp | 868 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 D | multinodecommands.cpp | 38 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 D | oemcommands.cpp | 3773 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 D | utils.cpp | 408 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 D | utils.hpp | 163 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue);
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_platform_test.cpp | 433 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 D | platform_numeric_effecter.hpp | 310 auto [rc, dbusValue] = convertToDbusValue( in setNumericEffecterValueHandler() 318 dBusIntf.setDbusProperty(dbusMapping, dbusValue.value()); in setNumericEffecterValueHandler()
|
H A D | platform.cpp | 660 pldm::utils::PropertyValue dbusValue; in getNumericEffecterValue() local 667 dBusIntf, *this, effecterId, effecterDataSize, propertyType, dbusValue); in getNumericEffecterValue() 690 propertyType, dbusValue, effecterDataSize, responsePtr, in getNumericEffecterValue()
|