Home
last modified time | relevance | path

Searched refs:dBusMap (Results 1 – 10 of 10) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Dbios_integer_attribute.cpp53 if (!dBusMap.has_value()) in setAttrValueOnDbus()
60 if (dBusMap->propertyType == "uint8_t") in setAttrValueOnDbus()
70 else if (dBusMap->propertyType == "int16_t") in setAttrValueOnDbus()
94 else if (dBusMap->propertyType == "double") in setAttrValueOnDbus()
101 dBusMap->propertyType); in setAttrValueOnDbus()
146 if (dBusMap->propertyType == "uint8_t") in getAttrValue()
181 dBusMap->propertyType); in getAttrValue()
189 if (!dBusMap.has_value()) in getAttrValue()
197 dBusMap->objectPath.c_str(), dBusMap->propertyName.c_str(), in getAttrValue()
198 dBusMap->interface.c_str()); in getAttrValue()
[all …]
H A Dbios_enum_attribute.cpp42 if (dBusMap.has_value()) in BIOSEnumAttribute()
81 if (dBusMap->propertyType == "uint8_t") in buildValMap()
97 else if (dBusMap->propertyType == "int16_t") in buildValMap()
109 else if (dBusMap->propertyType == "bool") in buildValMap()
113 else if (dBusMap->propertyType == "double") in buildValMap()
117 else if (dBusMap->propertyType == "string") in buildValMap()
124 dBusMap->propertyType); in buildValMap()
134 if (!dBusMap.has_value()) in getAttrValueIndex()
142 dBusMap->objectPath.c_str(), dBusMap->propertyName.c_str(), in getAttrValueIndex()
143 dBusMap->interface.c_str()); in getAttrValueIndex()
[all …]
H A Dbios_string_attribute.cpp68 if (!dBusMap.has_value()) in setAttrValueOnDbus()
75 dbusHandler->setDbusProperty(*dBusMap, value); in setAttrValueOnDbus()
80 if (!dBusMap.has_value()) in getAttrValue()
87 dBusMap->objectPath.c_str(), dBusMap->propertyName.c_str(), in getAttrValue()
88 dBusMap->interface.c_str()); in getAttrValue()
94 "ATTRIBUTE", name, "PATH", dBusMap->objectPath, "INTERFACE", in getAttrValue()
95 dBusMap->interface, "PROPERTY", dBusMap->propertyName, "ERROR", e); in getAttrValue()
H A Dbios_config.hpp224 auto dBusMap = biosAttributes[biosAttrIndex]->getDBusMap(); in constructAttribute() local
226 if (dBusMap.has_value()) in constructAttribute()
232 propertiesChanged(dBusMap->objectPath, in constructAttribute()
233 dBusMap->interface), in constructAttribute()
245 interfacesAdded() + argNpath(0, dBusMap->objectPath), in constructAttribute()
246 [this, biosAttrIndex, interface = dBusMap->interface]( in constructAttribute()
H A Dbios_attribute.cpp39 dBusMap = {objectPath, interface, propertyName, propertyType}; in BIOSAttribute()
49 return dBusMap; in getDBusMap()
H A Dbios_attribute.hpp110 std::optional<pldm::utils::DBusMapping> dBusMap; member in pldm::responder::bios::BIOSAttribute
H A Dbios_config.cpp977 const auto& dBusMap = biosAttributes[biosAttrIndex]->getDBusMap(); in processBiosAttrChangeNotification() local
978 const auto& propertyName = dBusMap->propertyName; in processBiosAttrChangeNotification()
/openbmc/pldm/common/
H A Dutils.cpp317 getService(dBusMap.objectPath.c_str(), dBusMap.interface.c_str()); in setDbusProperty()
320 method.append(dBusMap.interface.c_str(), dBusMap.propertyName.c_str(), in setDbusProperty()
325 if (dBusMap.propertyType == "uint8_t") in setDbusProperty()
330 else if (dBusMap.propertyType == "bool") in setDbusProperty()
335 else if (dBusMap.propertyType == "int16_t") in setDbusProperty()
340 else if (dBusMap.propertyType == "uint16_t") in setDbusProperty()
345 else if (dBusMap.propertyType == "int32_t") in setDbusProperty()
355 else if (dBusMap.propertyType == "int64_t") in setDbusProperty()
365 else if (dBusMap.propertyType == "double") in setDbusProperty()
370 else if (dBusMap.propertyType == "string") in setDbusProperty()
[all …]
H A Dutils.hpp219 virtual void setDbusProperty(const DBusMapping& dBusMap,
352 void setDbusProperty(const DBusMapping& dBusMap,
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_attribute_test.cpp29 return dBusMap; in getDbusMap()