/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | registry_test.cpp | 512 EXPECT_EQ(callouts.size(), 4); in TEST_F() 538 EXPECT_EQ(callouts.size(), 2); in TEST_F() 847 EXPECT_EQ(callouts.size(), 4); in TEST_F() 874 EXPECT_EQ(callouts.size(), 2); in TEST_F() 942 EXPECT_EQ(callouts.size(), 4); in TEST_F() 969 EXPECT_EQ(callouts.size(), 2); in TEST_F() 985 EXPECT_EQ(callouts.size(), 2); in TEST_F() 1039 EXPECT_EQ(callouts.size(), 4); in TEST_F() 1066 EXPECT_EQ(callouts.size(), 2); in TEST_F() 1112 EXPECT_EQ(callouts.size(), 2); in TEST_F() [all …]
|
H A D | src_callouts_test.cpp | 49 EXPECT_EQ(callouts.callouts().size(), 2); in TEST() 52 EXPECT_TRUE(callouts.callouts().front()->fruIdentity()); in TEST() 54 EXPECT_FALSE(callouts.callouts().front()->mru()); in TEST() 56 EXPECT_TRUE(callouts.callouts().back()->fruIdentity()); in TEST() 57 EXPECT_TRUE(callouts.callouts().back()->pceIdentity()); in TEST() 58 EXPECT_TRUE(callouts.callouts().back()->mru()); in TEST() 115 EXPECT_EQ(callouts.callouts().size(), i + 1); in TEST() 184 const auto& calloutObjects = callouts.callouts(); in TEST() 220 EXPECT_EQ(callouts.callouts().size(), 1); in TEST() 236 EXPECT_EQ(callouts.callouts().size(), 2); in TEST() [all …]
|
H A D | service_indicators_test.cpp | 96 callouts.push_back( in TEST() 127 callouts.push_back( in TEST() 147 callouts.push_back( in TEST() 150 callouts.push_back( in TEST() 153 callouts.push_back( in TEST() 158 callouts.push_back( in TEST() 169 callouts.push_back( in TEST() 172 callouts.push_back( in TEST() 191 callouts.push_back( in TEST() 210 callouts.push_back( in TEST() [all …]
|
H A D | src_test.cpp | 166 const auto& callouts = calloutsSection->callouts(); in TEST_F() local 344 EXPECT_EQ(src.callouts()->callouts().size(), 1); in TEST_F() 366 EXPECT_EQ(src.callouts()->callouts().size(), 1); in TEST_F() 535 auto& callouts = src.callouts()->callouts(); in TEST_F() local 572 auto& callouts = src.callouts()->callouts(); in TEST_F() local 643 auto& callouts = src.callouts()->callouts(); in TEST_F() local 711 auto& callouts = src.callouts()->callouts(); in TEST_F() local 757 auto& callouts = src.callouts()->callouts(); in TEST_F() local 878 auto& callouts = src.callouts()->callouts(); in TEST_F() local 1081 const auto& callouts = src.callouts()->callouts(); in TEST_F() local [all …]
|
H A D | device_callouts_test.cpp | 481 auto callouts = getCallouts( in TEST_F() local 491 EXPECT_EQ(callouts, expected); in TEST_F() 494 callouts = getI2CCallouts(14, 0x72, systemTypes); in TEST_F() 495 EXPECT_EQ(callouts, expected); in TEST_F() 516 auto callouts = getCallouts( in TEST_F() local 526 EXPECT_EQ(callouts, expected); in TEST_F() 540 auto callouts = getCallouts( in TEST_F() local 552 EXPECT_EQ(callouts, expected); in TEST_F() 566 auto callouts = in TEST_F() local 576 EXPECT_EQ(callouts, expected); in TEST_F()
|
H A D | pel_test.cpp | 879 auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() local 880 ASSERT_EQ(callouts.size(), 1); in TEST_F() 886 auto& fru = callouts[0]->fruIdentity(); in TEST_F() 1025 const auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() local 1026 ASSERT_EQ(callouts.size(), 2); in TEST_F() 1033 auto& fru = callouts[0]->fruIdentity(); in TEST_F() 1092 const auto& callouts = pel.primarySRC().value()->callouts()->callouts(); in TEST_F() local 1093 ASSERT_EQ(callouts.size(), 1); in TEST_F() 1334 entry.callouts = R"( in TEST_F() 1409 entry.callouts = R"( in TEST_F() [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_path_callouts.pl | 252 my @callouts; 257 printJSON(\@callouts); 422 my @callouts; 459 return @callouts; 806 my @callouts = @_; 821 $callouts[$i]->{Priority}, $callouts[$j]->{Priority}); 826 $callouts[$i]->{MRU} = $callouts[$j]->{MRU}; 835 @callouts = grep {defined ($_)} @callouts; 838 @callouts = sort { 840 } @callouts; [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | device_callouts.cpp | 220 std::vector<Callout> callouts; in extractCallouts() local 261 callouts.push_back(c); in extractCallouts() 264 return callouts; in extractCallouts() 284 const auto& callouts = in calloutI2C() local 296 return extractCallouts(callouts, msg); in calloutI2C() 344 return extractCallouts(callouts, msg); in calloutFSI() 390 return extractCallouts(callouts, msg); in calloutFSII2C() 417 auto& callouts = in calloutFSISPI() local 429 return extractCallouts(callouts, msg); in calloutFSISPI() 451 std::vector<Callout> callouts; in findCallouts() local [all …]
|
H A D | service_indicators.cpp | 65 const auto& calloutsObj = (*src)->callouts(); in activate() 67 if (calloutsObj && !calloutsObj->callouts().empty()) in activate() 69 const auto& callouts = calloutsObj->callouts(); in activate() local 73 auto locCodes = getLocationCodes(callouts); in activate() 102 const std::vector<std::unique_ptr<src::Callout>>& callouts) const in getLocationCodes() 116 for (const auto& callout : callouts) in getLocationCodes()
|
H A D | registry.cpp | 397 for (const auto& callouts : json) in findCalloutList() local 399 if (callouts.contains("System")) in findCalloutList() 407 callouts["CalloutList"].end()); in findCalloutList() 413 if (callouts.contains("Systems")) in findCalloutList() 435 callouts["CalloutList"].begin(), in findCalloutList() 436 callouts["CalloutList"].end()); in findCalloutList() 628 const auto& callouts = json["CalloutsWithTheirADValues"]; in getCalloutsUsingAD() local 632 callouts.begin(), callouts.end(), [adValue](const nlohmann::json& j) { in getCalloutsUsingAD() 636 if (it == callouts.end()) in getCalloutsUsingAD() 835 entry.callouts = (*e)["Callouts"]; in lookup() [all …]
|
H A D | pel.cpp | 98 nlohmann::json callouts; in PEL() local 110 callouts = getCalloutJSON(ffdcFiles); in PEL() 120 std::make_unique<SRC>(regEntry, additionalData, callouts, dataIface); in PEL() 183 openpower::pels::phal::createServiceActions(callouts, dataIface, plid()); in PEL() 503 nlohmann::json callouts; in getCalloutJSON() local 519 callouts = nlohmann::json::parse(jsonString); in getCalloutJSON() 524 return callouts; in getCalloutJSON() 536 if ((*pSRC)->callouts()) in isHwCalloutPresent() 538 for (auto& i : (*pSRC)->callouts()->callouts()) in isHwCalloutPresent() 739 if (!src->callouts()) in addAdDetailsForDIMMsCallout() [all …]
|
H A D | README.md | 12 - [Callouts](#callouts) 109 [here for details](#passing-callouts-in-with-the-additionaldata-property) 126 This is used to pass in a device path to create callouts from. See 127 [here for details](#passing-callouts-in-with-the-additionaldata-property) 131 This is used to pass in an I2C bus and address to create callouts from. See 132 [here for details](#passing-callouts-in-with-the-additionaldata-property) 239 ### Passing callouts in with the AdditionalData property 281 will use data tables generated by the MRW to create the callouts. 293 ### Defining callouts in the message registry 313 followed by the callouts from the message registry. [all …]
|
H A D | manager.cpp | 787 const auto& callouts = (*src)->callouts(); in getResolution() local 790 if (callouts) in getResolution() 792 const auto& entries = callouts->callouts(); in getResolution() 847 std::string callouts = getResolution(pel); in updateResolution() local 851 entryN->second->resolution(callouts, true); in updateResolution() 1067 const auto& callouts = (*src)->callouts(); in clearPowerThermalDeconfigFlag() local 1068 if (!callouts) in clearPowerThermalDeconfigFlag() 1073 for (const auto& callout : callouts->callouts()) in clearPowerThermalDeconfigFlag()
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | ucd90160.hpp | 229 return std::find(callouts.begin(), callouts.end(), callout) != in isPartCalledOut() 230 callouts.end(); in isPartCalledOut() 250 callouts.push_back(callout); in setPartCallout() 268 std::vector<PartCallout> callouts; member in witherspoon::power::UCD90160
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | ucd90160.hpp | 229 return std::find(callouts.begin(), callouts.end(), callout) != in isPartCalledOut() 230 callouts.end(); in isPartCalledOut() 250 callouts.push_back(callout); in setPartCallout() 268 std::vector<PartCallout> callouts; member in phosphor::power::UCD90160
|
/openbmc/phosphor-logging/ |
H A D | meson.build | 69 # Generate callouts-gen.hpp. 70 callouts_gen = custom_target('callouts-gen.hpp'.underscorify(), 72 'callouts/callouts.py', 73 'callouts/callouts-gen.mako.hpp', 76 output: 'callouts-gen.hpp', 166 'callouts/callout_test.cpp',
|
H A D | elog_meta.cpp | 29 auto callout = std::lower_bound(callouts.begin(), callouts.end(), in build() 31 if ((callouts.end() != callout) && in build()
|
H A D | elog_meta.hpp | 103 auto callout = std::lower_bound(callouts.begin(), callouts.end(), in build() 105 if ((callouts.end() != callout) && in build()
|
H A D | meson.options | 14 value: 'callouts/callouts-example.yaml',
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/logging/ |
H A D | romulus-phosphor-logging-callouts-native.bb | 9 SRC_URI += "file://callouts.yaml" 11 PROVIDES += "virtual/phosphor-logging-callouts" 18 install callouts.yaml ${DEST}
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/logging/ |
H A D | phosphor-logging-callouts-example-native.bb | 4 PROVIDES += "virtual/phosphor-logging-callouts" 7 SRC_URI += "file://callouts.yaml" 17 install callouts.yaml ${DEST}
|
H A D | phosphor-logging-callouts-mrw-native.bb | 8 PROVIDES += "virtual/phosphor-logging-callouts" 23 -o ${DEST}/callouts.yaml
|
/openbmc/phosphor-logging/callouts/ |
H A D | callouts-gen.mako.hpp | 2 ## callouts-gen.hpp file 15 constexpr auto callouts = variable
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-mrw.inc | 15 PREFERRED_PROVIDER_virtual/phosphor-logging-callouts:df-mrw ?= "phosphor-logging-callouts-mrw-nativ…
|
/openbmc/phosphor-logging/extensions/openpower-pels/registry/ |
H A D | README.md | 144 severity or if there are any callouts. As such, this is an optional field and if 246 [passing in the callouts via JSON](../README.md#callouts). 323 These callouts can vary based on system type, as well as a user specified 327 callouts in the registry. 329 There is room for up to 10 callouts in a PEL. 331 The callouts based on system type can be added in two ways, by using either a 335 the callouts specific to that system under the `System`. 337 Suppose if multiple systems have same callouts, the `Systems` key can be used. 339 callouts common to those systems can be listed under the key. 483 This example shows that the callouts were selected based on the 'PROC_NUM' [all …]
|