/openbmc/pldm/pldmd/ |
H A D | dbus_impl_pdr.cpp | 17 uint8_t tid, uint16_t entityID, uint16_t stateSetId) in findStateEffecterPDR() argument 20 pldm::utils::findStateEffecterPDR(tid, entityID, stateSetId, pdrRepo); in findStateEffecterPDR() 31 Pdr::findStateSensorPDR(uint8_t tid, uint16_t entityID, uint16_t stateSetId) in findStateSensorPDR() argument 34 pldm::utils::findStateSensorPDR(tid, entityID, stateSetId, pdrRepo); in findStateSensorPDR()
|
H A D | dbus_impl_pdr.hpp | 50 uint8_t tid, uint16_t entityID, uint16_t stateSetId) override; 58 uint8_t tid, uint16_t entityID, uint16_t stateSetId) override;
|
/openbmc/pldm/common/test/ |
H A D | pldm_utils_test.cpp | 144 uint16_t stateSetId = 196; in TEST() local 178 uint16_t stateSetId = 196; in TEST() local 212 uint16_t stateSetId = 196; in TEST() local 572 uint16_t stateSetId = 1; in TEST() local 606 uint16_t stateSetId = 1; in TEST() local 640 uint16_t stateSetId = 1; in TEST() local 717 uint16_t stateSetId = 1; in TEST() local 774 uint16_t stateSetId = 1; in TEST() local 832 uint16_t stateSetId = 1; in TEST() local 907 uint16_t stateSetId = 1; in TEST() local [all …]
|
/openbmc/pldm/softoff/ |
H A D | softoff.cpp | 63 pldm::pdr::StateSetId stateSetId = entry.value("stateSetId", 0); in SoftPowerOff() local 65 bool effecterFound = getEffecterID(entityType, stateSetId); in SoftPowerOff() 68 auto rc = getSensorInfo(entityType, stateSetId); in SoftPowerOff() 172 pldm::pdr::StateSetId& stateSetId) in getEffecterID() argument 181 method.append(TID, entityType, stateSetId); in getEffecterID() 208 pldm::pdr::StateSetId& stateSetId) in getSensorInfo() argument 217 method.append(TID, entityType, stateSetId); in getSensorInfo()
|
H A D | softoff.hpp | 114 pldm::pdr::StateSetId& stateSetId); 125 pldm::pdr::StateSetId& stateSetId);
|
/openbmc/openpower-hw-diags/util/ |
H A D | pldm.cpp | 104 bool fetchSensorInfo(uint16_t stateSetId, in fetchSensorInfo() argument 110 if (!util::dbus::getStateSensorPdrs(pdrs, stateSetId)) in fetchSensorInfo() 135 if (possibleStates->state_set_id == stateSetId) in fetchSensorInfo() 182 bool fetchEffecterInfo(uint16_t stateSetId, in fetchEffecterInfo() argument 188 if (!util::dbus::getStateEffecterPdrs(pdrs, stateSetId)) in fetchEffecterInfo() 213 if (possibleStates->state_set_id == stateSetId) in fetchEffecterInfo()
|
H A D | dbus.hpp | 188 uint16_t stateSetId); 198 uint16_t stateSetId);
|
H A D | dbus.cpp | 469 uint16_t stateSetId) in getStateEffecterPdrs() argument 486 method.append(terminusIdZero, PLDM_ENTITY_PROC, stateSetId); in getStateEffecterPdrs() 504 uint16_t stateSetId) in getStateSensorPdrs() argument 521 method.append(terminusIdZero, PLDM_ENTITY_PROC, stateSetId); in getStateSensorPdrs()
|
/openbmc/pldm/common/ |
H A D | utils.cpp | 32 uint16_t stateSetId, const pldm_pdr* repo) in findStateEffecterPDR() argument 60 if (pdr->entity_type == entityID && setId == stateSetId) in findStateEffecterPDR() 83 findStateSensorPDR(uint8_t /*tid*/, uint16_t entityID, uint16_t stateSetId, in findStateSensorPDR() argument 112 if (pdr->entity_type == entityID && setId == stateSetId) in findStateSensorPDR() 469 uint16_t stateSetId, bool localOrRemote) in findStateEffecterId() argument 495 containerId == pdr->container_id && stateSetId == setId) in findStateEffecterId() 533 uint16_t containerId, uint16_t stateSetId) in findStateSensorId() argument 535 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() 551 stateSetId == setId && containerId == sensorPdr->container_id) in findStateSensorId()
|
H A D | utils.hpp | 431 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); 455 uint16_t containerId, uint16_t stateSetId); 470 uint16_t stateSetId, bool localOrRemote);
|
/openbmc/pldm/libpldmresponder/ |
H A D | oem_handler.hpp | 40 pldm::pdr::StateSetId stateSetId, 61 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
|
H A D | platform.cpp | 313 uint16_t stateSetId{}; in setStateEffecterStates() local 316 entityInstance, stateSetId) && in setStateEffecterStates() 321 entityType, entityInstance, stateSetId, compEffecterCnt, stateField, in setStateEffecterStates() 796 uint16_t stateSetId{}; in getStateSensorReadings() local 800 entityType, entityInstance, stateSetId, containerId) && in getStateSensorReadings() 804 entityType, entityInstance, containerId, stateSetId, comSensorCnt, in getStateSensorReadings() 845 uint16_t& stateSetId, uint16_t& containerId) in isOemStateSensor() argument 901 stateSetId = tmpStateSetId; in isOemStateSensor() 916 uint16_t& entityInstance, uint16_t& stateSetId) in isOemStateEffecter() argument 972 stateSetId = tmpStateSetId; in isOemStateEffecter()
|
H A D | platform.hpp | 556 uint16_t& stateSetId, uint16_t& containerId); 574 uint16_t& entityInstance, uint16_t& stateSetId);
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_pdr_effecter_test.cpp | 211 uint16_t stateSetId = 196; in TEST() local 213 containerId, stateSetId, true); in TEST() 215 stateSetId = 300; in TEST() 217 containerId, stateSetId, true); in TEST()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | oem_ibm_handler.cpp | 29 ContainerID containerId, StateSetId stateSetId, in getOemStateSensorReadingsHandler() argument 41 stateSetId == PLDM_OEM_IBM_BOOT_STATE) in getOemStateSensorReadingsHandler() 46 stateSetId == PLDM_OEM_IBM_PCIE_SLOT_SENSOR_STATE) in getOemStateSensorReadingsHandler() 72 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId, in oemSetStateEffecterStatesHandler() argument 84 stateSetId == PLDM_OEM_IBM_BOOT_STATE) in oemSetStateEffecterStatesHandler() 90 stateSetId == PLDM_OEM_IBM_FIRMWARE_UPDATE_STATE) in oemSetStateEffecterStatesHandler() 150 stateSetId == PLDM_OEM_IBM_SYSTEM_POWER_STATE) in oemSetStateEffecterStatesHandler() 162 else if (stateSetId == PLDM_OEM_IBM_PCIE_SLOT_EFFECTER_STATE) in oemSetStateEffecterStatesHandler()
|
H A D | oem_ibm_handler.hpp | 155 pldm::pdr::ContainerID containerId, pldm::pdr::StateSetId stateSetId, 160 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
|
/openbmc/openpower-occ-control/ |
H A D | pldm.cpp | 37 void Interface::fetchSensorInfo(uint16_t stateSetId, in fetchSensorInfo() argument 50 method.append(tid, static_cast<uint16_t>(PLDM_ENTITY_PROC), stateSetId); in fetchSensorInfo() 61 "ID", stateSetId, "ERR", e.what()); in fetchSensorInfo() 71 "ID", stateSetId); in fetchSensorInfo() 95 if (possibleStates->state_set_id == stateSetId) in fetchSensorInfo() 311 uint16_t stateSetId, InstanceToEffecter& instanceToEffecterMap, in fetchEffecterInfo() argument 322 method.append(tid, static_cast<uint16_t>(PLDM_ENTITY_PROC), stateSetId); in fetchEffecterInfo() 350 if (possibleStates->state_set_id == stateSetId) in fetchEffecterInfo()
|
H A D | pldm.hpp | 125 void fetchSensorInfo(uint16_t stateSetId, 137 void fetchEffecterInfo(uint16_t stateSetId,
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_terminus_effecters.hpp | 31 uint16_t stateSetId; //!< State set id member
|
H A D | dbus_to_terminus_effecters.cpp | 161 dbusInfo.state.stateSetId = state.value("id", 0); in parseEffecterJson() 255 .state.stateSetId, in processHostEffecterChangeNotification()
|
H A D | host_pdr_handler.cpp | 890 auto stateSetId = stateSetIds[sensorOffset]; in setHostSensorState() local 894 stateSetId, false}; in setHostSensorState()
|