Home
last modified time | relevance | path

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

/openbmc/pldm/pldmtool/
H A Dpldm_fw_update_cmd.cpp447 ordered_json& descriptors, const DescriptorType& descriptorType,
453 ordered_json& descriptors, const DescriptorType& descriptorType, in updateDescriptor() argument
459 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in updateDescriptor()
473 if (descriptorName.contains(descriptorType)) in updateDescriptor()
478 if (descriptor["Type"] == descriptorName.at(descriptorType)) in updateDescriptor()
480 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in updateDescriptor()
497 {{"Type", descriptorName.at(descriptorType)}, in updateDescriptor()
499 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in updateDescriptor()
515 std::cerr << "Unknown descriptor type, type=" << descriptorType << "\n"; in updateDescriptor()
558 DescriptorType descriptorType = 0; in parseResponseMsg() local
[all …]
/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.cpp105 uint16_t descriptorType = 0; in queryDeviceIdentifiers() local
109 descriptorPtr, deviceIdentifiersLen, &descriptorType, in queryDeviceIdentifiers()
115 "TYPE", descriptorType, "LENGTH", deviceIdentifiersLen, "EID", in queryDeviceIdentifiers()
120 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in queryDeviceIdentifiers()
124 descriptors.emplace(descriptorType, std::move(descData)); in queryDeviceIdentifiers()
150 descriptors.emplace(descriptorType, in queryDeviceIdentifiers()
/openbmc/phosphor-bmc-code-mgmt/common/pldm/
H A Dpackage_parser.cpp74 uint16_t descriptorType = 0; in parseFDIdentificationArea() local
79 &descriptorType, &descriptorData); in parseFDIdentificationArea()
84 "TYPE", descriptorType, "LENGTH", recordDescriptors.length, in parseFDIdentificationArea()
89 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in parseFDIdentificationArea()
92 descriptorType, in parseFDIdentificationArea()
109 "TYPE", descriptorType, "LENGTH", in parseFDIdentificationArea()
115 descriptorType, in parseFDIdentificationArea()
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp252 uint16_t descriptorType = 0; in TEST() local
258 &descriptorType, &descriptorData); in TEST()
260 EXPECT_EQ(recordDescriptors.length, sizeof(descriptorType) + in TEST()
263 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
343 uint16_t descriptorType = 0; in TEST() local
349 &descriptorType, &descriptorData); in TEST()
351 EXPECT_EQ(recordDescriptors.length, sizeof(descriptorType) + in TEST()
354 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
516 uint16_t descriptorType = 0; in TEST() local
522 descriptorsRemainingLength, &descriptorType, &descriptorData); in TEST()
[all …]