Searched refs:mrus (Results 1 – 9 of 9) sorted by relevance
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | mru_test.cpp | 43 EXPECT_EQ(mru.mrus().size(), 4); in TEST() 46 EXPECT_EQ(mru.mrus().at(0).priority, 'H'); in TEST() 47 EXPECT_EQ(mru.mrus().at(0).id, 0x01010101); in TEST() 48 EXPECT_EQ(mru.mrus().at(1).priority, 'M'); in TEST() 49 EXPECT_EQ(mru.mrus().at(1).id, 0x02020202); in TEST() 50 EXPECT_EQ(mru.mrus().at(2).priority, 'L'); in TEST() 51 EXPECT_EQ(mru.mrus().at(2).id, 0x03030303); in TEST() 52 EXPECT_EQ(mru.mrus().at(3).priority, 'H'); in TEST() 53 EXPECT_EQ(mru.mrus().at(3).id, 0x04040404); in TEST() 80 std::vector<MRU::MRUCallout> mrus{{'H', 1}, {'M', 2}, {'L', 3}}; in TEST() local [all …]
|
H A D | src_callout_test.cpp | 35 auto mrus = srcDataFactory(TestSRCType::mruStructure); in TEST() local 40 data.insert(data.end(), mrus.begin(), mrus.end()); in TEST() 60 EXPECT_EQ(callout.mru()->mrus().size(), 4); in TEST() 61 EXPECT_EQ(callout.mru()->mrus().at(3).id, 0x04040404); in TEST() 301 EXPECT_EQ(mruSection->mrus().size(), 2); in TEST() 302 EXPECT_EQ(mruSection->mrus().at(0).priority, 'H'); in TEST() 303 EXPECT_EQ(mruSection->mrus().at(0).id, 1); in TEST() 304 EXPECT_EQ(mruSection->mrus().at(1).priority, 'H'); in TEST() 305 EXPECT_EQ(mruSection->mrus().at(1).id, 2); in TEST()
|
H A D | src_test.cpp | 1110 auto& mrus = mruCallouts->mrus(); in TEST_F() local 1111 ASSERT_EQ(mrus.size(), 2); in TEST_F() 1112 EXPECT_EQ(mrus[0].id, 42); in TEST_F() 1113 EXPECT_EQ(mrus[0].priority, 'H'); in TEST_F() 1114 EXPECT_EQ(mrus[1].id, 43); in TEST_F() 1115 EXPECT_EQ(mrus[1].priority, 'M'); in TEST_F()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | mru.cpp | 58 MRU::MRU(const std::vector<MRUCallout>& mrus) in MRU() argument 60 if (mrus.empty()) in MRU() 66 _mrus = mrus; in MRU()
|
H A D | mru.hpp | 66 explicit MRU(const std::vector<MRUCallout>& mrus); 90 const std::vector<MRUCallout>& mrus() const in mrus() function in openpower::pels::src::MRU
|
H A D | callout.cpp | 91 const std::vector<MRU::MRUCallout>& mrus) in Callout() argument 102 if (!mrus.empty()) in Callout() 105 _mru = std::make_unique<MRU>(mrus); in Callout()
|
H A D | src.cpp | 687 const auto& mruCallouts = entry->mru()->mrus(); in getCallouts() 874 const std::vector<src::MRU::MRUCallout>& mrus) in addInventoryCallout() argument 902 std::make_unique<src::Callout>(p, locCode, fn, ccin, sn, mrus); in addInventoryCallout() 912 CalloutPriority::high, locCode, fn, ccin, sn, mrus); in addInventoryCallout() 1331 std::vector<src::MRU::MRUCallout> mrus; in addJSONCallout() local 1364 mrus = getMRUsFromJSON(jsonCallout.at("MRUs")); in addJSONCallout() 1375 addInventoryCallout(inventoryPath, priority, lc, dataIface, mrus); in addJSONCallout() 1430 std::vector<src::MRU::MRUCallout> mrus; in getMRUsFromJSON() local 1442 return mrus; in getMRUsFromJSON() 1453 mrus.push_back(std::move(mru)); in getMRUsFromJSON() [all …]
|
H A D | callout.hpp | 100 const std::vector<MRU::MRUCallout>& mrus);
|
H A D | src.hpp | 478 const std::vector<src::MRU::MRUCallout>& mrus = {});
|