/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | user_data_json.cpp | 57 uint8_t creatorID, const orderedJSON& json) in prettyJSON() argument 62 output[pv::createdBy] = getComponentName(componentID, creatorID); in prettyJSON() 113 uint8_t creatorID, const std::vector<uint8_t>& data) in getCBORJSON() argument 136 return prettyJSON(componentID, subType, version, creatorID, json); in getCBORJSON() 155 uint8_t creatorID, const std::vector<uint8_t>& data) in getTextJSON() argument 189 return prettyJSON(componentID, subType, version, creatorID, json); in getTextJSON() 206 const std::vector<uint8_t>& data, uint8_t creatorID) in getBuiltinFormatJSON() argument 216 return prettyJSON(componentID, subType, version, creatorID, json); in getBuiltinFormatJSON() 220 return getCBORJSON(componentID, subType, version, creatorID, data); in getBuiltinFormatJSON() 224 return getTextJSON(componentID, subType, version, creatorID, data); in getBuiltinFormatJSON() [all …]
|
H A D | json_utils.cpp | 256 char creatorID) in lookupComponentName() argument 262 std::string{creatorID} + "_component_ids.json"}; in lookupComponentName() 265 auto jsonIt = jsonCache.find(creatorID); in lookupComponentName() 290 jsonCache.emplace(creatorID, jsonData); in lookupComponentName() 327 std::string getComponentName(uint16_t compID, uint8_t creatorID) in getComponentName() argument 330 auto name = lookupComponentName(compID, creatorID); in getComponentName() 333 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 | pel.cpp | 351 const std::vector<std::string>& plugins, uint8_t creatorID) const in printSectionInJSON() 375 json = section.getJSON(registry, plugins, creatorID); in printSectionInJSON() 379 json = section.getJSON(creatorID, plugins); in printSectionInJSON() 383 json = section.getJSON(creatorID); in printSectionInJSON() 459 _ph->creatorID()); in toJSON() 461 _ph->creatorID()); in toJSON() 465 _ph->creatorID()); in toJSON() 562 if (_ph->creatorID() == static_cast<uint8_t>(CreatorID::hostboot)) in updateSysInfoInExtendedUserDataSection() 579 if (extUserData->creatorID() == in updateSysInfoInExtendedUserDataSection() 599 auto creator = static_cast<CreatorID>(_ph->creatorID()); in getDeconfigFlag() [all …]
|
H A D | failing_mtms.cpp | 93 std::optional<std::string> FailingMTMS::getJSON(uint8_t creatorID) const in getJSON() 99 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 | 98 uint8_t creatorID [[maybe_unused]], in getJSON() argument 103 _header.version, _data, creatorID, plugins); in getJSON()
|
H A D | extended_user_data.cpp | 68 uint8_t version, uint8_t creatorID, in ExtendedUserData() argument 76 _creatorID = creatorID; in ExtendedUserData()
|
H A D | manager.cpp | 148 if ((pel->privateHeader()).creatorID() != in addPEL() 716 CreatorID creatorID{pel->privateHeader().creatorID()}; in checkPelAndQuiesce() local 718 if ((creatorID != CreatorID::openBMC) && in checkPelAndQuiesce() 719 (creatorID != CreatorID::hostboot) && in checkPelAndQuiesce() 720 (creatorID != CreatorID::ioDrawer) && (creatorID != CreatorID::occ) && in checkPelAndQuiesce() 721 (creatorID != CreatorID::phyp)) in checkPelAndQuiesce()
|
H A D | private_header.cpp | 86 std::optional<std::string> PrivateHeader::getJSON(uint8_t creatorID) const in getJSON() 112 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
H A D | user_data_json.hpp | 25 const std::vector<uint8_t>& data, uint8_t creatorID,
|
H A D | extended_user_header.cpp | 183 std::optional<std::string> ExtendedUserHeader::getJSON(uint8_t creatorID) const in getJSON() 189 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
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 | json_utils.hpp | 111 std::string getComponentName(uint16_t compID, uint8_t creatorID);
|
H A D | user_header.cpp | 252 std::optional<std::string> UserHeader::getJSON(uint8_t creatorID) const in getJSON() 285 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
H A D | user_header.hpp | 228 std::optional<std::string> getJSON(uint8_t creatorID) const override;
|
H A D | src.cpp | 122 * @param[in] creatorID - The creatorID from the Private Header section 127 uint8_t creatorID) in getPythonJSON() argument 131 std::string module = getNumberString("%c", tolower(creatorID)) + "src"; in getPythonJSON() 713 uint8_t creatorID) const in getJSON() 720 getComponentName(_header.componentID, creatorID), 1); in getJSON() 803 std::string subsystem = getNumberString("%c", tolower(creatorID)); in getJSON() 809 auto pyJson = getPythonJSON(hexwords, creatorID); in getJSON()
|
H A D | extended_user_header.hpp | 165 std::optional<std::string> getJSON(uint8_t creatorID) const override;
|
/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 | 35 EXPECT_EQ(eud.creatorID(), 'O'); in TEST() 96 EXPECT_EQ(eud.creatorID(), 'B'); in TEST()
|
H A D | private_header_test.cpp | 65 EXPECT_EQ(ph.creatorID(), 0x4F); in TEST_F() 183 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 | 242 std::vector<uint8_t> pelFactory(uint32_t id, char creatorID, uint8_t severity, in pelFactory() argument 254 data.at(creatorPHOffset) = creatorID; in pelFactory()
|
/openbmc/phosphor-logging/extensions/openpower-pels/tools/ |
H A D | peltool.cpp | 409 std::string creatorID = in genPELJSON() local 410 getNumberString("%c", pel.privateHeader().creatorID()); in genPELJSON() 411 val = pv::creatorIDs.count(creatorID) ? pv::creatorIDs.at(creatorID) in genPELJSON() 441 pel.privateHeader().creatorID()), in genPELJSON()
|