| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | user_data_json.cpp | 44 uint8_t creatorID, const orderedJSON& json) in prettyJSON() argument 49 output[pv::createdBy] = getComponentName(componentID, creatorID); in prettyJSON() 100 uint8_t creatorID, const std::vector<uint8_t>& data) in getCBORJSON() argument 123 return prettyJSON(componentID, subType, version, creatorID, json); in getCBORJSON() 142 uint8_t creatorID, const std::vector<uint8_t>& data) in getTextJSON() argument 176 return prettyJSON(componentID, subType, version, creatorID, json); in getTextJSON() 193 const std::vector<uint8_t>& data, uint8_t creatorID) in getBuiltinFormatJSON() argument 203 return prettyJSON(componentID, subType, version, creatorID, json); in getBuiltinFormatJSON() 207 return getCBORJSON(componentID, subType, version, creatorID, data); in getBuiltinFormatJSON() 211 return getTextJSON(componentID, subType, version, creatorID, data); in getBuiltinFormatJSON() [all …]
|
| H A D | json_utils.cpp | 244 char creatorID) in lookupComponentName() argument 250 std::string{creatorID} + "_component_ids.json"}; in lookupComponentName() 253 auto jsonIt = jsonCache.find(creatorID); in lookupComponentName() 278 jsonCache.emplace(creatorID, jsonData); in lookupComponentName() 315 std::string getComponentName(uint16_t compID, uint8_t creatorID) in getComponentName() argument 318 auto name = lookupComponentName(compID, creatorID); in getComponentName() 321 if (!name && ('H' == creatorID)) in getComponentName()
|
| H A D | extended_user_data.hpp | 55 uint8_t creatorID, const std::vector<uint8_t>& data); 80 uint8_t creatorID() const in creatorID() function in openpower::pels::ExtendedUserData 148 uint8_t creatorID,
|
| H A D | failing_mtms.cpp | 79 std::optional<std::string> FailingMTMS::getJSON(uint8_t creatorID) const in getJSON() 85 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
| H A D | private_header.hpp | 110 uint8_t creatorID() const in creatorID() function in openpower::pels::PrivateHeader 229 std::optional<std::string> getJSON(uint8_t creatorID) const override;
|
| H A D | user_data.cpp | 82 uint8_t creatorID [[maybe_unused]], in getJSON() argument 87 _header.version, _data, creatorID, plugins); in getJSON()
|
| H A D | extended_user_data.cpp | 56 uint8_t version, uint8_t creatorID, in ExtendedUserData() argument 64 _creatorID = creatorID; in ExtendedUserData()
|
| H A D | pel.cpp | 339 const std::vector<std::string>& plugins, uint8_t creatorID) const in printSectionInJSON() 363 json = section.getJSON(registry, plugins, creatorID); in printSectionInJSON() 367 json = section.getJSON(creatorID, plugins); in printSectionInJSON() 371 json = section.getJSON(creatorID); in printSectionInJSON() 447 _ph->creatorID()); in toJSON() 449 _ph->creatorID()); in toJSON() 453 _ph->creatorID()); in toJSON() 550 if (_ph->creatorID() == static_cast<uint8_t>(CreatorID::hostboot)) in updateSysInfoInExtendedUserDataSection() 567 if (extUserData->creatorID() == in updateSysInfoInExtendedUserDataSection() 587 auto creator = static_cast<CreatorID>(_ph->creatorID()); in getDeconfigFlag() [all …]
|
| H A D | user_data_json.hpp | 25 const std::vector<uint8_t>& data, uint8_t creatorID,
|
| H A D | failing_mtms.hpp | 91 std::optional<std::string> getJSON(uint8_t creatorID) const override;
|
| H A D | user_data.hpp | 91 uint8_t creatorID,
|
| H A D | private_header.cpp | 72 std::optional<std::string> PrivateHeader::getJSON(uint8_t creatorID) const in getJSON() 98 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
| H A D | extended_user_header.cpp | 169 std::optional<std::string> ExtendedUserHeader::getJSON(uint8_t creatorID) const in getJSON() 175 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
| H A D | json_utils.hpp | 107 std::string getComponentName(uint16_t compID, uint8_t creatorID);
|
| H A D | manager.cpp | 136 if ((pel->privateHeader()).creatorID() != in addPEL() 708 CreatorID creatorID{pel->privateHeader().creatorID()}; in checkPelAndQuiesce() local 710 if ((creatorID != CreatorID::openBMC) && in checkPelAndQuiesce() 711 (creatorID != CreatorID::hostboot) && in checkPelAndQuiesce() 712 (creatorID != CreatorID::ioDrawer) && (creatorID != CreatorID::occ) && in checkPelAndQuiesce() 713 (creatorID != CreatorID::phyp)) in checkPelAndQuiesce()
|
| H A D | user_header.hpp | 227 std::optional<std::string> getJSON(uint8_t creatorID) const override;
|
| H A D | user_header.cpp | 237 std::optional<std::string> UserHeader::getJSON(uint8_t creatorID) const in getJSON() 270 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
| H A D | extended_user_header.hpp | 164 std::optional<std::string> getJSON(uint8_t creatorID) const override;
|
| H A D | src.cpp | 114 uint8_t creatorID) in getPythonJSON() argument 118 std::string module = getNumberString("%c", tolower(creatorID)) + "src"; in getPythonJSON() 706 uint8_t creatorID) const in getJSON() 713 getComponentName(_header.componentID, creatorID), 1); in getJSON() 796 std::string subsystem = getNumberString("%c", tolower(creatorID)); in getJSON() 802 auto pyJson = getPythonJSON(hexwords, creatorID); in getJSON()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/pel_registry/ |
| H A D | __init__.py | 8 def get_comp_id_file_path(creatorID: str) -> str: 10 os.path.dirname(__file__), creatorID + "_component_ids.json"
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | extended_user_data_test.cpp | 23 EXPECT_EQ(eud.creatorID(), 'O'); in TEST() 84 EXPECT_EQ(eud.creatorID(), 'B'); in TEST()
|
| H A D | private_header_test.cpp | 53 EXPECT_EQ(ph.creatorID(), 0x4F); in TEST_F() 171 EXPECT_EQ(ph.creatorID(), 'O'); in TEST_F()
|
| H A D | pel_utils.hpp | 106 std::vector<uint8_t> pelFactory(uint32_t id, char creatorID, uint8_t severity,
|
| H A D | pel_utils.cpp | 230 std::vector<uint8_t> pelFactory(uint32_t id, char creatorID, uint8_t severity, in pelFactory() argument 242 data.at(creatorPHOffset) = creatorID; in pelFactory()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/tools/ |
| H A D | peltool.cpp | 381 std::string creatorID = in genPELJSON() local 382 getNumberString("%c", pel.privateHeader().creatorID()); in genPELJSON() 383 val = pv::creatorIDs.count(creatorID) ? pv::creatorIDs.at(creatorID) in genPELJSON() 413 pel.privateHeader().creatorID()), in genPELJSON()
|