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()
80 if (dBusMap->propertyType == "uint8_t") in buildValMap()
96 else if (dBusMap->propertyType == "int16_t") in buildValMap()
108 else if (dBusMap->propertyType == "bool") in buildValMap()
112 else if (dBusMap->propertyType == "double") in buildValMap()
116 else if (dBusMap->propertyType == "string") in buildValMap()
123 dBusMap->propertyType); in buildValMap()
133 if (!dBusMap.has_value()) in getAttrValueIndex()
141 dBusMap->objectPath.c_str(), dBusMap->propertyName.c_str(), in getAttrValueIndex()
142 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.hpp227 auto dBusMap = biosAttributes[biosAttrIndex]->getDBusMap(); in constructAttribute() local
229 if (dBusMap.has_value()) in constructAttribute()
235 propertiesChanged(dBusMap->objectPath, in constructAttribute()
236 dBusMap->interface), in constructAttribute()
247 interfacesAdded() + argNpath(0, dBusMap->objectPath), in constructAttribute()
248 [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.cpp982 const auto& dBusMap = biosAttributes[biosAttrIndex]->getDBusMap(); in processBiosAttrChangeNotification() local
983 const auto& propertyName = dBusMap->propertyName; in processBiosAttrChangeNotification()
/openbmc/pldm/common/
H A Dutils.cpp323 method.append(dBusMap.interface.c_str(), dBusMap.propertyName.c_str(), in setDbusProperty()
328 if (dBusMap.propertyType == "uint8_t") in setDbusProperty()
333 else if (dBusMap.propertyType == "bool") in setDbusProperty()
338 else if (dBusMap.propertyType == "int16_t") in setDbusProperty()
343 else if (dBusMap.propertyType == "uint16_t") in setDbusProperty()
348 else if (dBusMap.propertyType == "int32_t") in setDbusProperty()
353 else if (dBusMap.propertyType == "uint32_t") in setDbusProperty()
358 else if (dBusMap.propertyType == "int64_t") in setDbusProperty()
368 else if (dBusMap.propertyType == "double") in setDbusProperty()
373 else if (dBusMap.propertyType == "string") in setDbusProperty()
[all …]
H A Dutils.hpp195 virtual void setDbusProperty(const DBusMapping& dBusMap,
328 void setDbusProperty(const DBusMapping& dBusMap,
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_attribute_test.cpp29 return dBusMap; in getDbusMap()