Home
last modified time | relevance | path

Searched refs:descriptorType (Results 1 – 4 of 4) sorted by relevance

/openbmc/pldm/fw-update/
H A Dpackage_parser.cpp54 uint16_t descriptorType = 0; in parseFDIdentificationArea() local
59 &descriptorType, &descriptorData); in parseFDIdentificationArea()
64 "TYPE", descriptorType, "LENGTH", recordDescriptors.length, in parseFDIdentificationArea()
69 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in parseFDIdentificationArea()
72 descriptorType, in parseFDIdentificationArea()
89 "TYPE", descriptorType, "LENGTH", in parseFDIdentificationArea()
95 descriptorType, in parseFDIdentificationArea()
H A Dinventory_manager.cpp121 uint16_t descriptorType = 0; in queryDeviceIdentifiers() local
125 descriptorPtr, deviceIdentifiersLen, &descriptorType, in queryDeviceIdentifiers()
131 "TYPE", descriptorType, "LENGTH", deviceIdentifiersLen, "EID", in queryDeviceIdentifiers()
136 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in queryDeviceIdentifiers()
140 descriptors.emplace(descriptorType, std::move(descData)); in queryDeviceIdentifiers()
166 descriptors.emplace(descriptorType, in queryDeviceIdentifiers()
722 for (const auto& [descriptorType, descriptorData] : descriptors) in obtainDeviceNameFromDescriptors()
724 if (descriptorType == PLDM_FWUP_VENDOR_DEFINED) in obtainDeviceNameFromDescriptors()
/openbmc/phosphor-bmc-code-mgmt/common/pldm/
H A Dpackage_parser.cpp72 uint16_t descriptorType = 0; in parseFDIdentificationArea() local
77 &descriptorType, &descriptorData); in parseFDIdentificationArea()
82 "TYPE", descriptorType, "LENGTH", recordDescriptors.length, in parseFDIdentificationArea()
87 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in parseFDIdentificationArea()
90 descriptorType, in parseFDIdentificationArea()
107 "TYPE", descriptorType, "LENGTH", in parseFDIdentificationArea()
113 descriptorType, in parseFDIdentificationArea()
/openbmc/pldm/pldmtool/
H A Dpldm_fw_update_cmd.cpp491 ordered_json& descriptors, const DescriptorType& descriptorType,
497 ordered_json& descriptors, const DescriptorType& descriptorType, in updateDescriptor() argument
503 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in updateDescriptor()
517 if (descriptorName.contains(descriptorType)) in updateDescriptor()
522 if (descriptor["Type"] == descriptorName.at(descriptorType)) in updateDescriptor()
524 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in updateDescriptor()
541 {{"Type", descriptorName.at(descriptorType)}, in updateDescriptor()
543 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in updateDescriptor()
559 std::cerr << "Unknown descriptor type, type=" << descriptorType << "\n"; in updateDescriptor()
602 DescriptorType descriptorType = 0; in parseResponseMsg() local
[all …]