Home
last modified time | relevance | path

Searched refs:creatorID (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_data_json.cpp57 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 Djson_utils.cpp256 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 Dextended_user_data.hpp55 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 Dpel.cpp351 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 Dfailing_mtms.cpp93 std::optional<std::string> FailingMTMS::getJSON(uint8_t creatorID) const in getJSON()
99 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dprivate_header.hpp110 uint8_t creatorID() const in creatorID() function in openpower::pels::PrivateHeader
229 std::optional<std::string> getJSON(uint8_t creatorID) const override;
H A Duser_data.cpp98 uint8_t creatorID [[maybe_unused]], in getJSON() argument
103 _header.version, _data, creatorID, plugins); in getJSON()
H A Dextended_user_data.cpp68 uint8_t version, uint8_t creatorID, in ExtendedUserData() argument
76 _creatorID = creatorID; in ExtendedUserData()
H A Dmanager.cpp148 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 Dprivate_header.cpp86 std::optional<std::string> PrivateHeader::getJSON(uint8_t creatorID) const in getJSON()
112 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Duser_data_json.hpp25 const std::vector<uint8_t>& data, uint8_t creatorID,
H A Dextended_user_header.cpp183 std::optional<std::string> ExtendedUserHeader::getJSON(uint8_t creatorID) const in getJSON()
189 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dfailing_mtms.hpp91 std::optional<std::string> getJSON(uint8_t creatorID) const override;
H A Duser_data.hpp91 uint8_t creatorID,
H A Djson_utils.hpp111 std::string getComponentName(uint16_t compID, uint8_t creatorID);
H A Duser_header.cpp252 std::optional<std::string> UserHeader::getJSON(uint8_t creatorID) const in getJSON()
285 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Duser_header.hpp228 std::optional<std::string> getJSON(uint8_t creatorID) const override;
H A Dsrc.cpp122 * @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 Dextended_user_header.hpp165 std::optional<std::string> getJSON(uint8_t creatorID) const override;
/openbmc/phosphor-logging/extensions/openpower-pels/pel_registry/
H A D__init__.py8 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 Dextended_user_data_test.cpp35 EXPECT_EQ(eud.creatorID(), 'O'); in TEST()
96 EXPECT_EQ(eud.creatorID(), 'B'); in TEST()
H A Dprivate_header_test.cpp65 EXPECT_EQ(ph.creatorID(), 0x4F); in TEST_F()
183 EXPECT_EQ(ph.creatorID(), 'O'); in TEST_F()
H A Dpel_utils.hpp106 std::vector<uint8_t> pelFactory(uint32_t id, char creatorID, uint8_t severity,
H A Dpel_utils.cpp242 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 Dpeltool.cpp409 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()

12