| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | user_header_test.cpp | 41 EXPECT_EQ(uh.actionFlags(), 0x80C0); in TEST() 98 regEntry.actionFlags = 0xC000; in TEST() 122 EXPECT_EQ(uh.actionFlags(), 0xC000); in TEST() 128 regEntry.actionFlags = std::nullopt; in TEST() 132 EXPECT_EQ(uh.actionFlags(), 0xFFFF); in TEST() 188 regEntry.actionFlags = 0xC000; in TEST() 210 regEntry.actionFlags = 0xC000; in TEST() 232 regEntry.actionFlags = 0xC000; in TEST() 256 regEntry.actionFlags = 0xC000; in TEST() 277 regEntry.actionFlags = 0xC000; in TEST() [all …]
|
| H A D | pel_rules_test.cpp | 10 uint16_t actionFlags; member 66 auto [actionFlags, type] = pel_rules::check( in TEST() 67 entry.actionFlags, entry.eventType, entry.severity); in TEST() 69 EXPECT_EQ(actionFlags, entry.expectedActionFlags); in TEST()
|
| H A D | host_notifier_test.cpp | 177 std::bitset<16> actionFlags = pel->userHeader().actionFlags(); in TEST_F() local 178 EXPECT_TRUE(actionFlags.test(dontReportToHostFlagBit)); in TEST_F() 196 std::bitset<16> actionFlags = pel->userHeader().actionFlags(); in TEST_F() local 197 EXPECT_TRUE(actionFlags.test(hiddenFlagBit)); in TEST_F() 217 std::bitset<16> actionFlags = pel->userHeader().actionFlags(); in TEST_F() local 218 EXPECT_TRUE(actionFlags.test(hiddenFlagBit)); in TEST_F()
|
| H A D | pel_utils.cpp | 231 uint16_t actionFlags, size_t size) in pelFactory() argument 262 data.at(offset + actionFlagsUHOffset) = actionFlags >> 8; in pelFactory() 263 data.at(offset + actionFlagsUHOffset + 1) = actionFlags; in pelFactory()
|
| H A D | pel_utils.hpp | 107 uint16_t actionFlags, size_t size);
|
| H A D | pel_test.cpp | 58 EXPECT_EQ(pel->userHeader().actionFlags(), 0x80C0); in TEST_F() 149 regEntry.actionFlags = 0xC000; in TEST_F() 201 regEntry.actionFlags = std::nullopt; in TEST_F() 208 EXPECT_EQ(pel2.userHeader().actionFlags(), 0xA800); in TEST_F() 222 regEntry.actionFlags = 0xC000; in TEST_F() 737 regEntry.actionFlags = 0xC000; in TEST_F() 797 regEntry.actionFlags = 0xC000; in TEST_F() 1002 regEntry.actionFlags = 0xC000; in TEST_F() 1069 regEntry.actionFlags = 0xC000; in TEST_F() 1134 regEntry.actionFlags = 0xC000; in TEST_F()
|
| H A D | repository_test.cpp | 282 std::bitset<16> actionFlags; in TEST_F() local 293 actionFlags = pel->userHeader().actionFlags(); in TEST_F() 300 EXPECT_EQ((*a).get().actionFlags, actionFlags); in TEST_F() 316 EXPECT_EQ((*a).get().actionFlags, actionFlags); in TEST_F()
|
| H A D | registry_test.cpp | 230 EXPECT_EQ(*(entry->actionFlags), 0xA800); in TEST_F() 280 EXPECT_EQ(*(entry->actionFlags), 0x2820); in TEST_F() 297 EXPECT_FALSE(entry->actionFlags); in TEST_F()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | pel_rules.cpp | 14 std::tuple<uint16_t, uint8_t> check(uint16_t actionFlags, uint8_t eventType, in check() argument 17 std::bitset<16> newActionFlags{actionFlags}; in check()
|
| H A D | service_indicators.cpp | 30 std::bitset<16> actionFlags{pel.userHeader().actionFlags()}; in ignore() local 31 if (actionFlags.test(serviceActionFlagBit)) in ignore()
|
| H A D | user_header.cpp | 194 _actionFlags = entry.actionFlags.value_or(actionFlagsDefault); in UserHeader() 243 std::vector<std::string> actionFlags; in getJSON() local 248 actionFlags = in getJSON() 275 jsonInsertArray(uh, "Action Flags", actionFlags, 1); in getJSON()
|
| H A D | pel_rules.hpp | 27 std::tuple<uint16_t, uint8_t> check(uint16_t actionFlags, uint8_t eventType,
|
| H A D | host_notifier.cpp | 102 else if (a.actionFlags.test(hiddenFlagBit) && in enqueueRequired() 107 else if (a.actionFlags.test(dontReportToHostFlagBit)) in enqueueRequired() 137 else if (a.actionFlags.test(hiddenFlagBit)) in notifyRequired()
|
| H A D | user_header.hpp | 146 uint16_t actionFlags() const in actionFlags() function in openpower::pels::UserHeader
|
| H A D | registry.cpp | 97 uint16_t actionFlags = 0; in getActionFlags() local 114 actionFlags |= std::get<pv::fieldValuePos>(*s); in getActionFlags() 117 return actionFlags; in getActionFlags() 742 entry.actionFlags = helper::getActionFlags((*e)["ActionFlags"]); in lookup()
|
| H A D | repository.hpp | 34 std::bitset<16> actionFlags; member 50 severity(sev), actionFlags(flags), hostState(hostState), in PELAttributes()
|
| H A D | repository.cpp | 111 pel.userHeader().actionFlags(), in restore() 174 pel->userHeader().actionFlags(), in add() 497 !pel.actionFlags.test(hiddenFlagBit); in isServiceableSev()
|
| H A D | registry.hpp | 171 std::optional<uint16_t> actionFlags; member
|
| H A D | manager.cpp | 917 if (attr.actionFlags.test(callHomeFlagBit)) in setServiceProviderNotifyFlag() 944 attr.actionFlags.test(reportFlagBit) && in createPELEntry() 945 !attr.actionFlags.test(hiddenFlagBit)) || in createPELEntry() 947 attr.actionFlags.test(serviceActionFlagBit))) in createPELEntry()
|
| H A D | pel.cpp | 326 if (_uh->actionFlags() == actionFlagsDefault) in checkRulesAndFix() 328 auto [actionFlags, eventType] = in checkRulesAndFix() 331 _uh->setActionFlags(actionFlags); in checkRulesAndFix()
|
| /openbmc/openpower-hw-diags/attn/ |
| H A D | attn_logging.cpp | 268 auto actionFlags = pel::ActionFlags::service | pel::ActionFlags::report | in createPelCustom() local 275 actionFlags = actionFlags | pel::ActionFlags::hidden; in createPelCustom() 278 tiPel->setAction(static_cast<uint16_t>(actionFlags)); in createPelCustom()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/tools/ |
| H A D | peltool.cpp | 333 std::bitset<16> actionFlags{pel.userHeader().actionFlags()}; in genPELJSON() local 334 if (!hidden && actionFlags.test(hiddenFlagBit)) in genPELJSON() 726 std::bitset<16> actionFlags{pel.userHeader().actionFlags()}; in printPELCount() local 727 if (!hidden && actionFlags.test(hiddenFlagBit)) in printPELCount()
|