Searched refs:pdrs (Results 1 – 12 of 12) sorted by relevance
/openbmc/pldm/pldmd/ |
H A D | dbus_impl_pdr.cpp | 19 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 D | terminus_test.cpp | 90 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 D | platform_manager_test.cpp | 188 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 D | sensor_manager_test.cpp | 157 termini[tid]->pdrs.push_back(pdr1); in TEST_F() 158 termini[tid]->pdrs.push_back(pdr2); in TEST_F()
|
H A D | event_manager_test.cpp | 146 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 D | pldm.cpp | 109 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 D | pldm.cpp | 41 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 D | utils.cpp | 37 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 D | platform_manager.cpp | 216 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 D | terminus.hpp | 153 std::vector<std::vector<uint8_t>> pdrs{}; member in pldm::platform_mc::Terminus
|
H A D | terminus.cpp | 119 for (auto& pdr : pdrs) in parseTerminusPDRs()
|
/openbmc/pldm/tools/visualize-pdr/ |
H A D | README.md | 5 Host FRU pdrs coming in due to concurrent maintenance of the system,where the
|