Home
last modified time | relevance | path

Searched refs:propMap (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-host-ipmid/
H A Dipmi_fru_info_area.cpp134 void appendChassisType(const PropertyMap& propMap, FruAreaData& data) in appendChassisType() argument
137 auto iter = propMap.find(type); in appendChassisType()
138 if (iter != propMap.end()) in appendChassisType()
163 void appendData(const Property& key, const PropertyMap& propMap, in appendData() argument
166 auto iter = propMap.find(key); in appendData()
167 if (iter != propMap.end()) in appendData()
228 void appendMfgDate(const PropertyMap& propMap, FruAreaData& data) in appendMfgDate() argument
231 auto iter = propMap.find(buildDate); in appendMfgDate()
232 if ((iter != propMap.end()) && (iter->second.size() > 0)) in appendMfgDate()
297 FruAreaData buildChassisInfoArea(const PropertyMap& propMap) in buildChassisInfoArea() argument
[all …]
/openbmc/phosphor-pid-control/dbus/
H A Ddbushelper.cpp85 PropertyMap propMap; in getProperties() local
90 valueResponseMsg.read(propMap); in getProperties()
107 auto findUnit = propMap.find("Unit"); in getProperties()
108 if (findUnit != propMap.end()) in getProperties()
112 auto findScale = propMap.find("Scale"); in getProperties()
113 auto findMax = propMap.find("MaxValue"); in getProperties()
114 auto findMin = propMap.find("MinValue"); in getProperties()
119 if (findScale != propMap.end()) in getProperties()
123 if (findMax != propMap.end()) in getProperties()
127 if (findMin != propMap.end()) in getProperties()
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dsnmp_trap.cpp34 auto& propMap = it->second; in trap() local
35 auto errorID = std::get<uint32_t>(propMap.at("Id")); in trap()
36 auto timestamp = std::get<uint64_t>(propMap.at("Timestamp")); in trap()
37 auto sev = std::get<Entry::Level>(propMap.at("Severity")); in trap()
39 auto message = std::get<std::string>(propMap.at("Message")); in trap()
41 propMap.at("AdditionalData")); in trap()
/openbmc/phosphor-pid-control/ipmi/
H A Ddbus_mode.cpp60 PropertyMap propMap; in getFanCtrlProperty() local
65 valueResponseMsg.read(propMap); in getFanCtrlProperty()
67 *value = std::get<bool>(propMap[property]); in getFanCtrlProperty()
/openbmc/phosphor-power/cold-redundancy/
H A Dcold_redundancy.cpp198 CR::PropertyMapType propMap) { in createPSU() argument
208 std::get_if<std::string>(&propMap["Name"]); in createPSU()
217 std::get_if<uint64_t>(&propMap["Bus"]); in createPSU()
219 std::get_if<uint64_t>(&propMap["Address"]); in createPSU()
/openbmc/intel-ipmi-oem/src/
H A Dappcommands.cpp164 PropertyMap propMap; in getActiveSoftwareVersionInfo() local
166 softwareVerIntf, propMap); in getActiveSoftwareVersionInfo()
177 std::get_if<std::string>(&propMap["Purpose"]); in getActiveSoftwareVersionInfo()
179 std::get_if<std::string>(&propMap["Version"]); in getActiveSoftwareVersionInfo()
H A Dmanufacturingcommands.cpp297 for (const auto& [intf, propMap] : objData) in findPwmName()
903 for (const auto& [intf, propMap] : fru) in findFruDevice()
907 auto findBus = propMap.find("FruBus"); in findFruDevice()
908 auto findAddress = propMap.find("FruAddress"); in findFruDevice()
909 auto findMacOffset = propMap.find("MacOffset"); in findFruDevice()
910 if (findBus == propMap.end() || findAddress == propMap.end() || in findFruDevice()
911 findMacOffset == propMap.end()) in findFruDevice()
H A Doemcommands.cpp3697 PropertyMapType propMap = in getPSUAddress() local
3708 auto psuBus = std::get_if<uint64_t>(&propMap["Bus"]); in getPSUAddress()
3710 std::get_if<std::vector<uint64_t>>(&propMap["Address"]); in getPSUAddress()