Home
last modified time | relevance | path

Searched refs:pldm_pdr (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/libpldm/include/libpldm/
H A Dpdr.h16 typedef struct pldm_pdr pldm_pdr; typedef
36 pldm_pdr *pldm_pdr_init(void);
42 void pldm_pdr_destroy(pldm_pdr *repo);
52 uint32_t pldm_pdr_get_record_count(const pldm_pdr *repo);
62 uint32_t pldm_pdr_get_repo_size(const pldm_pdr *repo);
79 int pldm_pdr_add(pldm_pdr *repo, const uint8_t *data, uint32_t size,
94 uint32_t pldm_pdr_get_record_handle(const pldm_pdr *repo,
107 uint16_t pldm_pdr_get_terminus_handle(const pldm_pdr *repo,
123 const pldm_pdr_record *pldm_pdr_find_record(const pldm_pdr *repo,
142 pldm_pdr_get_next_record(const pldm_pdr *repo,
[all …]
/openbmc/libpldm/src/dsp/
H A Dpdr.c30 typedef struct pldm_pdr { struct
35 } pldm_pdr; argument
38 static pldm_pdr_record *pldm_pdr_get_prev_record(pldm_pdr *repo,
42 static int pldm_pdr_remove_record(pldm_pdr *repo, pldm_pdr_record *record,
46 static inline uint32_t get_next_record_handle(const pldm_pdr *repo, in get_next_record_handle()
56 int pldm_pdr_add(pldm_pdr *repo, const uint8_t *data, uint32_t size, in pldm_pdr_add()
130 pldm_pdr *pldm_pdr_init(void) in pldm_pdr_init()
132 pldm_pdr *repo = malloc(sizeof(pldm_pdr)); in pldm_pdr_init()
145 void pldm_pdr_destroy(pldm_pdr *repo) in pldm_pdr_destroy()
165 const pldm_pdr_record *pldm_pdr_find_record(const pldm_pdr *repo, in pldm_pdr_find_record()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dpdr_utils.hpp129 RepoInterface(pldm_pdr* repo) : repo(repo) {} in RepoInterface()
137 virtual pldm_pdr* getPdr() const = 0;
189 pldm_pdr* repo;
202 Repo(pldm_pdr* repo) : RepoInterface(repo) {} in Repo()
204 pldm_pdr* getPdr() const override;
H A Dfru.hpp67 const std::filesystem::path& fruMasterJsonPath, pldm_pdr* pdrRepo, in FruImpl()
231 pldm_pdr* pdrRepo;
263 const std::filesystem::path& fruMasterJsonPath, pldm_pdr* pdrRepo, in Handler()
H A Doem_handler.hpp105 virtual const pldm_pdr_record* fetchLastBMCRecord(const pldm_pdr* repo) = 0;
H A Dplatform_state_effecter.hpp50 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> stateEffecterPdrRepo( in setStateEffecterStatesHandler()
H A Dplatform_state_sensor.hpp93 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> stateSensorPdrRepo( in getStateSensorReadingsHandler()
H A Dplatform.hpp54 pldm_pdr* repo, HostPDRHandler* hostPDRHandler, in Handler()
354 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> in setStateEffecterStatesHandler()
H A Dplatform_numeric_effecter.hpp255 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> in setNumericEffecterValueHandler()
496 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> in getNumericEffecterData()
H A Dpdr_utils.cpp29 pldm_pdr* Repo::getPdr() const in getPdr()
/openbmc/pldm/pldmd/
H A Ddbus_impl_pdr.hpp41 Pdr(sdbusplus::bus_t& bus, const std::string& path, const pldm_pdr* repo) : in Pdr()
62 const pldm_pdr* pdrRepo;
H A Doem_ibm.hpp60 pldm_pdr* repo, pldm::InstanceIdDb& instanceIdDb, in OemIBM()
179 pldm_pdr* repo;
/openbmc/pldm/oem/ibm/host-bmc/
H A Dhost_lamp_test.hpp56 pldm_pdr* repo, in HostLampTest()
101 const pldm_pdr* pdrRepo;
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfru_oem_ibm.hpp38 Handler(pldm_pdr* repo) : pdrRepo(repo) {} in Handler()
64 const pldm_pdr* pdrRepo;
H A Dcollect_slot_vpd.hpp48 SlotHandler(const sdeventplus::Event& event, pldm_pdr* repo) : in SlotHandler()
166 const pldm_pdr* pdrRepo;
H A Doem_ibm_handler.hpp283 const pldm_pdr_record* fetchLastBMCRecord(const pldm_pdr* repo);
/openbmc/pldm/common/
H A Dutils.hpp431 uint8_t tid, uint16_t entityID, uint16_t stateSetId, const pldm_pdr* repo);
440 uint8_t tid, uint16_t entityID, uint16_t stateSetId, const pldm_pdr* repo);
453 uint16_t findStateSensorId(const pldm_pdr* pdrRepo, uint8_t tid,
468 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType,
H A Dutils.cpp32 uint16_t stateSetId, const pldm_pdr* repo) in findStateEffecterPDR()
84 const pldm_pdr* repo) in findStateSensorPDR()
467 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType, in findStateEffecterId()
531 uint16_t findStateSensorId(const pldm_pdr* pdrRepo, uint8_t tid, in findStateSensorId()
/openbmc/pldm/host-bmc/
H A Ddbus_to_terminus_effecters.hpp102 pldm::InstanceIdDb* instanceIdDb, int fd, const pldm_pdr* repo, in HostEffecterParser()
240 const pldm_pdr* pdrRepo; //!< Reference to PDR repo
H A Dhost_pdr_handler.hpp94 pldm_pdr* repo, const std::string& eventsJsonsDir,
282 pldm_pdr* repo;
H A Ddbus_to_event_handler.cpp189 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> sensorPdrRepo( in listenSensorEvent()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_fru_test.cpp86 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> pdrRepo( in TEST()
159 std::unique_ptr<pldm_pdr, decltype(&pldm_pdr_destroy)> pdrRepo( in TEST()
/openbmc/pldm/oem/ibm/test/
H A Dhost_bmc_lamp_test.cpp20 pldm_pdr* repo, in MockLampTest()
/openbmc/pldm/oem/ampere/
H A Doem_ampere.hpp51 pldm_pdr* /* repo */, pldm::InstanceIdDb& instanceIdDb, in OemAMPERE() argument
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp15 MockHostEffecterParser(int fd, const pldm_pdr* repo, in MockHostEffecterParser()

12