| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | fru_identity.hpp | 36 class FRUIdentity class 68 FRUIdentity() = delete; 69 ~FRUIdentity() = default; 70 FRUIdentity(const FRUIdentity&) = default; 71 FRUIdentity& operator=(const FRUIdentity&) = default; 72 FRUIdentity(FRUIdentity&&) = default; 73 FRUIdentity& operator=(FRUIdentity&&) = default; 82 explicit FRUIdentity(Stream& pel); 94 FRUIdentity(const std::string& partNumber, const std::string& ccin, 105 explicit FRUIdentity(const std::string& procedureFromRegistry) : in FRUIdentity() function in openpower::pels::src::FRUIdentity [all …]
|
| H A D | fru_identity.cpp | 40 FRUIdentity::FRUIdentity(Stream& pel) in FRUIdentity() function in openpower::pels::src::FRUIdentity 60 size_t FRUIdentity::flattenedSize() const in flattenedSize() 82 FRUIdentity::FRUIdentity(const std::string& partNumber, const std::string& ccin, in FRUIdentity() function in openpower::pels::src::FRUIdentity 95 FRUIdentity::FRUIdentity(const std::string& procedure, CalloutValueType type) in FRUIdentity() function in openpower::pels::src::FRUIdentity 105 FRUIdentity::FRUIdentity(const std::string& fru, CalloutValueType type, in FRUIdentity() function in openpower::pels::src::FRUIdentity 116 std::optional<std::string> FRUIdentity::getPN() const in getPN() 128 std::optional<std::string> FRUIdentity::getMaintProc() const in getMaintProc() 140 std::optional<std::string> FRUIdentity::getCCIN() const in getCCIN() 157 std::optional<std::string> FRUIdentity::getSN() const in getSN() 174 void FRUIdentity::flatten(Stream& pel) const in flatten() [all …]
|
| H A D | callout.cpp | 42 case FRUIdentity::substructureType: in Callout() 44 _fruIdentity = std::make_unique<FRUIdentity>(pel); in Callout() 88 std::make_unique<FRUIdentity>(partNumber, ccin, serialNumber); in Callout() 108 _fruIdentity = std::make_unique<FRUIdentity>(procedure, type); in Callout() 124 std::make_unique<FRUIdentity>(symbolicFRU, type, trustedLocationCode); in Callout()
|
| H A D | callout.hpp | 243 const std::unique_ptr<FRUIdentity>& fruIdentity() const in fruIdentity() 329 std::unique_ptr<FRUIdentity> _fruIdentity;
|
| H A D | service_indicators.cpp | 171 src::FRUIdentity::hardwareFRU) || in isHardwareCallout() 173 src::FRUIdentity::symbolicFRUTrustedLocCode)); in isHardwareCallout()
|
| H A D | manager.cpp | 1090 src::FRUIdentity::hardwareFRU) && in clearPowerThermalDeconfigFlag() 1092 src::FRUIdentity::symbolicFRUTrustedLocCode)) in clearPowerThermalDeconfigFlag()
|
| H A D | pel.cpp | 532 src::FRUIdentity::hardwareFRU) in isHwCalloutPresent()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | fru_identity_test.cpp | 23 FRUIdentity fru{stream}; in TEST() 25 EXPECT_EQ(fru.failingComponentType(), FRUIdentity::hardwareFRU); in TEST() 52 FRUIdentity fru{stream}; in TEST() 54 EXPECT_EQ(fru.failingComponentType(), FRUIdentity::maintenanceProc); in TEST() 77 EXPECT_THROW(FRUIdentity fru{stream}, std::out_of_range); in TEST() 85 FRUIdentity fru{pn, ccin, sn}; in testHWCallout() 89 EXPECT_EQ(fru.failingComponentType(), FRUIdentity::hardwareFRU); in testHWCallout() 103 FRUIdentity newFRU{stream}; in testHWCallout() 151 FRUIdentity fru{"bmc_code"}; in TEST() 155 EXPECT_EQ(fru.failingComponentType(), FRUIdentity::maintenanceProc); in TEST() [all …]
|
| H A D | src_test.cpp | 543 EXPECT_EQ(fru1->failingComponentType(), src::FRUIdentity::symbolicFRU); in TEST_F() 551 src::FRUIdentity::maintenanceProc); in TEST_F() 581 src::FRUIdentity::symbolicFRUTrustedLocCode); in TEST_F() 590 EXPECT_EQ(fru2->failingComponentType(), src::FRUIdentity::symbolicFRU); in TEST_F() 719 src::FRUIdentity::symbolicFRUTrustedLocCode); in TEST_F() 728 src::FRUIdentity::symbolicFRUTrustedLocCode); in TEST_F() 762 EXPECT_EQ(fru1->failingComponentType(), src::FRUIdentity::symbolicFRU); in TEST_F() 875 EXPECT_EQ(fru->failingComponentType(), src::FRUIdentity::symbolicFRU); in TEST_F() 1296 EXPECT_EQ(fru->failingComponentType(), src::FRUIdentity::hardwareFRU); in TEST_F() 1317 EXPECT_EQ(fru->failingComponentType(), src::FRUIdentity::hardwareFRU); in TEST_F() [all …]
|
| H A D | src_callout_test.cpp | 365 EXPECT_EQ(fru->failingComponentType(), FRUIdentity::symbolicFRU); in TEST() 386 EXPECT_EQ(fru->failingComponentType(), FRUIdentity::symbolicFRU); in TEST() 407 FRUIdentity::symbolicFRUTrustedLocCode); in TEST()
|
| H A D | pel_test.cpp | 1023 EXPECT_EQ(fru->failingComponentType(), src::FRUIdentity::hardwareFRU); in TEST_F() 1032 src::FRUIdentity::maintenanceProc); in TEST_F()
|