/openbmc/pldm/pldmtool/ |
H A D | pldm_bios_cmd.cpp | 242 const std::string& name, const Table& attrTable, in findAttrEntryByName() argument 255 for (auto attr : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable.data(), in findAttrEntryByName() 256 attrTable.size())) in findAttrEntryByName() 269 const Table& attrTable, in findAttrHandleByName() argument 272 auto attribute = findAttrEntryByName(name, attrTable, stringTable); in findAttrHandleByName() 320 const std::optional<Table>& attrTable, in displayEnumValueByIndex() argument 324 if (!attrTable) in displayEnumValueByIndex() 330 attrTable->data(), attrTable->size(), attrHandle); in displayEnumValueByIndex() 351 const std::optional<Table>& attrTable, in displayAttributeValueEntry() argument 395 attrTable, stringTable); in displayAttributeValueEntry() [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_systemspecific_bios_test.cpp | 101 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local 105 EXPECT_TRUE(attrTable); in TEST_F() 140 for (auto entry : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable->data(), in TEST_F() 141 attrTable->size())) in TEST_F() 218 table::attribute::findByHandle(*attrTable, header.attrHandle); in TEST_F() 276 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local 280 EXPECT_TRUE(attrTable); in TEST_F() 285 for (auto entry : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable->data(), in TEST_F() 286 attrTable->size())) in TEST_F() 369 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local [all …]
|
H A D | libpldmresponder_bios_config_test.cpp | 94 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local 98 EXPECT_TRUE(attrTable); in TEST_F() 133 for (auto entry : BIOSTableIter<PLDM_BIOS_ATTR_TABLE>(attrTable->data(), in TEST_F() 134 attrTable->size())) in TEST_F() 211 table::attribute::findByHandle(*attrTable, header.attrHandle); in TEST_F() 289 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local 293 EXPECT_FALSE(attrTable); in TEST_F() 330 auto attrTable = biosConfig.getBIOSTable(PLDM_BIOS_ATTR_TABLE); in TEST_F() local 333 BIOSTableIter<PLDM_BIOS_ATTR_TABLE> attrTableIter(attrTable->data(), in TEST_F() 334 attrTable->size()); in TEST_F() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_config.cpp | 276 auto attrTable = getBIOSTable(PLDM_BIOS_ATTR_TABLE); in checkAttributeValueTable() local 302 attrTable->data(), attrTable->size(), attrValueHandle); in checkAttributeValueTable() 591 Table attrTable, attrValueTable; in buildAndStoreAttrTables() local 600 attr->constructEntry(biosStringTable, attrTable, attrValueTable, in buildAndStoreAttrTables() 606 biosStringTable, attrTable, attrValueTable, in buildAndStoreAttrTables() 619 table::appendPadAndChecksum(attrTable); in buildAndStoreAttrTables() 621 setBIOSTable(PLDM_BIOS_ATTR_TABLE, attrTable); in buildAndStoreAttrTables() 725 uint16_t handle, uint8_t index, const std::optional<Table>& attrTable, in displayStringHandle() argument 729 attrTable->data(), attrTable->size(), handle); in displayStringHandle() 761 auto attrTable = getBIOSTable(PLDM_BIOS_ATTR_TABLE); in traceBIOSUpdate() local [all …]
|
H A D | bios_string_attribute.cpp | 101 const BIOSStringTable& stringTable, Table& attrTable, Table& attrValueTable, in constructEntry() argument 112 table::attribute::constructStringEntry(attrTable, &info); in constructEntry()
|
H A D | bios_integer_attribute.cpp | 106 const BIOSStringTable& stringTable, Table& attrTable, Table& attrValueTable, in constructEntry() argument 116 table::attribute::constructIntegerEntry(attrTable, &info); in constructEntry()
|
H A D | bios_integer_attribute.hpp | 49 void constructEntry(const BIOSStringTable& stringTable, Table& attrTable,
|
H A D | bios_string_attribute.hpp | 72 void constructEntry(const BIOSStringTable& stringTable, Table& attrTable,
|
H A D | bios_attribute.hpp | 64 const BIOSStringTable& stringTable, Table& attrTable,
|
H A D | bios_enum_attribute.cpp | 206 const BIOSStringTable& stringTable, Table& attrTable, Table& attrValueTable, in constructEntry() argument 220 table::attribute::constructEnumEntry(attrTable, &info); in constructEntry()
|
H A D | bios_enum_attribute.hpp | 53 void constructEntry(const BIOSStringTable& stringTable, Table& attrTable,
|
H A D | bios_config.hpp | 323 const std::optional<Table>& attrTable,
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io.cpp | 589 auto attrTable = table(); in getFileTable() local 590 response.resize(response.size() + attrTable.size()); in getFileTable() 593 if (attrTable.empty()) in getFileTable() 603 PLDM_START_AND_END, attrTable.data(), in getFileTable() 604 attrTable.size(), responsePtr); in getFileTable()
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_fileio_test.cpp | 83 Table attrTable = { member in TestFileTable 524 std::equal(attrTable.begin(), attrTable.end(), table.begin())); in TEST_F() 563 ASSERT_EQ(0, memcmp(responsePtr->payload + offsetSize, attrTable.data(), in TEST_F() 564 attrTable.size())); in TEST_F()
|