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()
/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 …]
/openbmc/libpldm/tests/dsp/
H A Dfirmware_update.cpp413 uint16_t descriptorType = 0; in TEST() local
419 &descriptorType, &descriptorData); in TEST()
421 EXPECT_EQ(recordDescriptors.length, sizeof(descriptorType) + in TEST()
424 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
504 uint16_t descriptorType = 0; in TEST() local
510 &descriptorType, &descriptorData); in TEST()
512 EXPECT_EQ(recordDescriptors.length, sizeof(descriptorType) + in TEST()
515 EXPECT_EQ(descriptorType, PLDM_FWUP_UUID); in TEST()
721 uint16_t descriptorType = 0; in TEST() local
727 descriptorsRemainingLength, &descriptorType, &descriptorData); in TEST()
[all …]