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.cpp44 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 Djson_utils.cpp244 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 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 Dfailing_mtms.cpp79 std::optional<std::string> FailingMTMS::getJSON(uint8_t creatorID) const in getJSON()
85 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.cpp82 uint8_t creatorID [[maybe_unused]], in getJSON() argument
87 _header.version, _data, creatorID, plugins); in getJSON()
H A Dextended_user_data.cpp56 uint8_t version, uint8_t creatorID, in ExtendedUserData() argument
64 _creatorID = creatorID; in ExtendedUserData()
H A Dpel.cpp339 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 Duser_data_json.hpp25 const std::vector<uint8_t>& data, uint8_t creatorID,
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 Dprivate_header.cpp72 std::optional<std::string> PrivateHeader::getJSON(uint8_t creatorID) const in getJSON()
98 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dextended_user_header.cpp169 std::optional<std::string> ExtendedUserHeader::getJSON(uint8_t creatorID) const in getJSON()
175 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Djson_utils.hpp107 std::string getComponentName(uint16_t compID, uint8_t creatorID);
H A Dmanager.cpp136 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 Duser_header.hpp227 std::optional<std::string> getJSON(uint8_t creatorID) const override;
H A Duser_header.cpp237 std::optional<std::string> UserHeader::getJSON(uint8_t creatorID) const in getJSON()
270 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dextended_user_header.hpp164 std::optional<std::string> getJSON(uint8_t creatorID) const override;
H A Dsrc.cpp114 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__.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.cpp23 EXPECT_EQ(eud.creatorID(), 'O'); in TEST()
84 EXPECT_EQ(eud.creatorID(), 'B'); in TEST()
H A Dprivate_header_test.cpp53 EXPECT_EQ(ph.creatorID(), 0x4F); in TEST_F()
171 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.cpp230 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 Dpeltool.cpp381 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()

12