Home
last modified time | relevance | path

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

/openbmc/pldm/pldmtool/
H A Dpldm_fw_update_cmd.cpp453 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()
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()
558 DescriptorType descriptorType = 0; in parseResponseMsg() local
562 descriptorPtr, deviceIdentifiersLen, &descriptorType, in parseResponseMsg()
571 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in parseResponseMsg()
575 updateDescriptor(descriptors, descriptorType, descData); in parseResponseMsg()
[all …]
/openbmc/pldm/fw-update/
H A Dinventory_manager.cpp88 uint16_t descriptorType = 0; in queryDeviceIdentifiers() local
92 descriptorPtr, deviceIdentifiersLen, &descriptorType, in queryDeviceIdentifiers()
98 "TYPE", descriptorType, "LENGTH", deviceIdentifiersLen, "EID", in queryDeviceIdentifiers()
103 if (descriptorType != PLDM_FWUP_VENDOR_DEFINED) in queryDeviceIdentifiers()
107 descriptors.emplace(descriptorType, std::move(descData)); in queryDeviceIdentifiers()
133 descriptors.emplace(descriptorType, in queryDeviceIdentifiers()
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()
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp232 uint16_t descriptorType = 0; in TEST() local
240 EXPECT_EQ(recordDescriptors.length, sizeof(descriptorType) + in TEST()
243 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
323 uint16_t descriptorType = 0; in TEST() local
331 EXPECT_EQ(recordDescriptors.length, sizeof(descriptorType) + in TEST()
334 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
480 uint16_t descriptorType = 0; in TEST() local
501 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
540 descriptorsRemainingLength -= sizeof(descriptorType) + in TEST()
553 uint16_t descriptorType = 0; in TEST() local
[all …]