/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/common/ |
H A D | pldm_utils.cpp | 64 pldm_instance_id_t instanceID = 0; in getPLDMInstanceID() local 66 auto rc = pldm_instance_id_alloc(pldmInstanceIdDb, tid, &instanceID); in getPLDMInstanceID() 70 rc = pldm_instance_id_alloc(pldmInstanceIdDb, tid, &instanceID); in getPLDMInstanceID() 81 "INSTANCE_ID", instanceID, "EID", tid); in getPLDMInstanceID() 83 return instanceID; in getPLDMInstanceID() 86 void freePLDMInstanceID(pldm_instance_id_t instanceID, uint8_t tid) in freePLDMInstanceID() argument 88 auto rc = pldm_instance_id_free(pldmInstanceIdDb, tid, instanceID); in freePLDMInstanceID() 93 "ID", instanceID, "TID", tid, "RC", rc); in freePLDMInstanceID()
|
H A D | pldm_utils.hpp | 78 void freePLDMInstanceID(pldm_instance_id_t instanceID, uint8_t tid);
|
/openbmc/openpower-occ-control/ |
H A D | pldm.hpp | 36 using InstanceToEffecter = std::map<open_power::occ::instanceID, EffecterID>; 40 using SensorToInstance = std::map<SensorID, open_power::occ::instanceID>; 44 constexpr open_power::occ::instanceID start = 0; 76 std::function<bool(open_power::occ::instanceID, bool)> in Interface() argument 78 std::function<void(open_power::occ::instanceID, bool)> sbeCallBack, in Interface() argument 160 void resetOCC(open_power::occ::instanceID occInstanceId); 166 void sendHRESET(open_power::occ::instanceID sbeInstanceId); 194 std::function<bool(open_power::occ::instanceID, bool)> occActiveCallBack = 200 std::function<void(open_power::occ::instanceID, bool)> sbeCallBack = 292 static open_power::occ::instanceID resetInstance;
|
H A D | occ_status.hpp | 43 using instanceID = unsigned int; typedef 92 std::function<void(instanceID, bool)> callBack = nullptr in Status() argument 95 std::function<void(instanceID)> resetCallBack = nullptr in Status() 270 std::function<void(instanceID, bool)> managerCallBack; 291 static const std::map<instanceID, sensorDefs> sensorMap; 387 std::function<void(instanceID)> resetCallBack = nullptr;
|
H A D | occ_manager.hpp | 191 void statusCallBack(instanceID instance, bool status); 195 void resetOccRequest(instanceID instance); 198 void initiateOccRequest(instanceID instance); 286 bool updateOCCActive(instanceID instance, bool status); 299 void sbeHRESETResult(instanceID instance, bool success);
|
H A D | occ_sensor.mako.hpp | 17 using instanceID = unsigned int; typedef 21 const std::map<instanceID, sensorDefs> Status::sensorMap = {
|
H A D | occ_manager.cpp | 412 void Manager::resetOccRequest(instanceID instance) in resetOccRequest() 431 void Manager::initiateOccRequest(instanceID instance) in initiateOccRequest() 453 void Manager::statusCallBack(instanceID instance, bool status) in statusCallBack() 635 bool Manager::updateOCCActive(instanceID instance, bool status) in updateOCCActive() 716 void Manager::sbeHRESETResult(instanceID instance, bool success) in sbeHRESETResult() 997 uint16_t instanceID = labelValue & 0x0000FFFF; in readTempSensors() 1017 "dimm" + std::to_string(instanceID) + iter->second); in readTempSensors() 1029 uint16_t coreNum = instanceID / 2; in readTempSensors() 1030 uint16_t tempNum = instanceID % 2; in readTempSensors() 975 uint16_t instanceID = labelValue & 0x0000FFFF; readTempSensors() local
|
H A D | pldm.cpp | 35 open_power::occ::instanceID Interface::resetInstance = 0; 124 open_power::occ::instanceID count = start; in fetchSensorInfo() 376 open_power::occ::instanceID position = start; in fetchEffecterInfo() 424 void Interface::resetOCC(open_power::occ::instanceID occInstanceId) in resetOCC() 470 void Interface::sendHRESET(open_power::occ::instanceID sbeInstanceId) in sendHRESET()
|
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/ |
H A D | pldm_oem_cmds.cpp | 115 auto instanceID = getPLDMInstanceID(eid); in requestOffload() local 118 instanceID, effecterId, PLDM_EFFECTER_DATA_SIZE_UINT32, in requestOffload() 124 freePLDMInstanceID(instanceID, eid); in requestOffload() 133 freePLDMInstanceID(instanceID, eid); in requestOffload() 147 freePLDMInstanceID(instanceID, eid); in requestOffload() 155 freePLDMInstanceID(instanceID, eid); in requestOffload()
|
/openbmc/pldm/softoff/ |
H A D | softoff.cpp | 276 uint8_t instanceID; in hostSoftOff() local 290 instanceID = instanceIdDb.next(pldmTID); in hostSoftOff() 292 instanceID, effecterID, effecterCount, &stateField, request); in hostSoftOff() 295 instanceIdDb.free(pldmTID, instanceID); in hostSoftOff() 307 instanceIdDb.free(pldmTID, instanceID); in hostSoftOff() 360 instanceIdDb.free(pldmTID, instanceID); in hostSoftOff() 398 instanceIdDb.free(pldmTID, instanceID); in hostSoftOff() 414 instanceIdDb.free(pldmTID, instanceID); in hostSoftOff()
|