Home
last modified time | relevance | path

Searched refs:pdrs (Results 1 – 12 of 12) sorted by relevance

/openbmc/pldm/pldmd/
H A Ddbus_impl_pdr.cpp19 auto pdrs = in findStateEffecterPDR() local
22 if (pdrs.empty()) in findStateEffecterPDR()
27 return pdrs; in findStateEffecterPDR()
33 auto pdrs = in findStateSensorPDR() local
35 if (pdrs.empty()) in findStateSensorPDR()
39 return pdrs; in findStateSensorPDR()
/openbmc/pldm/platform-mc/test/
H A Dterminus_test.cpp90 t1.pdrs.emplace_back(pdr1); in TEST()
91 t1.pdrs.emplace_back(pdr2); in TEST()
107 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
205 t1.pdrs.emplace_back(pdr1); in TEST()
206 t1.pdrs.emplace_back(pdr2); in TEST()
226 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
325 t1.pdrs.emplace_back(pdr1); in TEST()
326 t1.pdrs.emplace_back(pdr2); in TEST()
347 EXPECT_EQ(2, t1.pdrs.size()); in TEST()
379 t1.pdrs.emplace_back(pdr1); in TEST()
H A Dplatform_manager_test.cpp188 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
347 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
466 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
480 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
512 EXPECT_EQ(0, terminus->pdrs.size()); in TEST_F()
H A Dsensor_manager_test.cpp157 termini[tid]->pdrs.push_back(pdr1); in TEST_F()
158 termini[tid]->pdrs.push_back(pdr2); in TEST_F()
H A Devent_manager_test.cpp146 termini[tid]->pdrs.emplace_back(pdr1); in TEST_F()
147 termini[tid]->pdrs.emplace_back(pdr2); in TEST_F()
377 EXPECT_EQ(2, terminus->pdrs.size()); in TEST_F()
/openbmc/openpower-hw-diags/util/
H A Dpldm.cpp109 std::vector<std::vector<uint8_t>> pdrs{}; in fetchSensorInfo() local
110 if (!util::dbus::getStateSensorPdrs(pdrs, stateSetId)) in fetchSensorInfo()
116 if (!pdrs.size()) in fetchSensorInfo()
125 reinterpret_cast<const pldm_state_sensor_pdr*>(pdrs.front().data()); in fetchSensorInfo()
154 for (auto& pdr : pdrs) in fetchSensorInfo()
187 std::vector<std::vector<uint8_t>> pdrs{}; in fetchEffecterInfo() local
188 if (!util::dbus::getStateEffecterPdrs(pdrs, stateSetId)) in fetchEffecterInfo()
194 if (!pdrs.size()) in fetchEffecterInfo()
203 reinterpret_cast<const pldm_state_effecter_pdr*>(pdrs.front().data()); in fetchEffecterInfo()
233 for (auto& pdr : pdrs) in fetchEffecterInfo()
/openbmc/openpower-occ-control/
H A Dpldm.cpp41 PdrList pdrs{}; in fetchSensorInfo() local
53 responseMsg.read(pdrs); in fetchSensorInfo()
66 if (pdrs.empty()) in fetchSensorInfo()
80 lg2::info("fetchSensorInfo: found {NUM} PDRs", "NUM", pdrs.size()); in fetchSensorInfo()
86 reinterpret_cast<const pldm_state_sensor_pdr*>(pdrs.front().data()); in fetchSensorInfo()
116 for (auto& pdr : pdrs) in fetchSensorInfo()
314 PdrList pdrs{}; in fetchEffecterInfo() local
325 responseMsg.read(pdrs); in fetchEffecterInfo()
333 if (!pdrs.size()) in fetchEffecterInfo()
341 reinterpret_cast<const pldm_state_effecter_pdr*>(pdrs.front().data()); in fetchEffecterInfo()
[all …]
/openbmc/pldm/common/
H A Dutils.cpp37 std::vector<std::vector<uint8_t>> pdrs; in findStateEffecterPDR() local
64 pdrs.emplace_back(std::move(effecter_pdr)); in findStateEffecterPDR()
79 return pdrs; in findStateEffecterPDR()
89 std::vector<std::vector<uint8_t>> pdrs; in findStateSensorPDR() local
116 pdrs.emplace_back(std::move(sensor_pdr)); in findStateSensorPDR()
133 return pdrs; in findStateSensorPDR()
535 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() local
536 for (auto pdr : pdrs) in findStateSensorId()
/openbmc/pldm/platform-mc/
H A Dplatform_manager.cpp216 terminus->pdrs.clear(); in getPDRs()
231 terminus->pdrs.clear(); in getPDRs()
238 terminus->pdrs.emplace_back(std::vector<uint8_t>( in getPDRs()
262 terminus->pdrs.clear(); in getPDRs()
272 terminus->pdrs.emplace_back(std::move(receivedPdr)); in getPDRs()
H A Dterminus.hpp153 std::vector<std::vector<uint8_t>> pdrs{}; member in pldm::platform_mc::Terminus
H A Dterminus.cpp119 for (auto& pdr : pdrs) in parseTerminusPDRs()
/openbmc/pldm/tools/visualize-pdr/
H A DREADME.md5 Host FRU pdrs coming in due to concurrent maintenance of the system,where the