| /openbmc/pldm/libpldmresponder/ |
| H A D | event_parser.hpp | 27 pdr::EntityType entityType; member 38 (entityType == e.entityType) && in operator ==() 45 return ((entityType == e.entityType) && in operator ==() 56 return std::tie(entityType, entityInstance, containerId, in operator <() 58 std::tie(e.entityType, e.entityInstance, e.containerId, in operator <() 63 return std::tie(entityType, entityInstance, sensorOffset, in operator <() 65 std::tie(e.entityType, e.entityInstance, e.sensorOffset, in operator <()
|
| H A D | oem_handler.hpp | 37 pldm::pdr::EntityType entityType, 61 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
|
| H A D | fru_parser.cpp | 85 for (auto [intf, entityType] : defIntfToEntityType) in setupDefaultDBusLookup() 87 intfToEntityType[intf] = entityType; in setupDefaultDBusLookup() 120 for (auto [intf, entityType] : intfToEntityType) in setupDefaultFruRecordMap()
|
| H A D | platform.cpp | 310 uint16_t entityType{}; in setStateEffecterStates() local 314 if (isOemStateEffecter(*this, effecterId, compEffecterCnt, entityType, in setStateEffecterStates() 320 entityType, entityInstance, stateSetId, compEffecterCnt, stateField, in setStateEffecterStates() 503 const auto& [containerId, entityType, entityInstance] = entityInfo; in sensorEvent() 506 entityType, in sensorEvent() 796 uint16_t entityType{}; in getStateSensorReadings() local 802 entityType, entityInstance, stateSetId, containerId) && in getStateSensorReadings() 806 entityType, entityInstance, containerId, stateSetId, comSensorCnt, in getStateSensorReadings() 846 uint16_t& entityType, uint16_t& entityInstance, in isOemStateSensor() argument 901 entityType = tmpEntityType; in isOemStateSensor() [all …]
|
| H A D | event_parser.cpp | 53 stateSensorEntry.entityType = in StateSensorHandler()
|
| H A D | platform.hpp | 568 uint16_t& entityType, uint16_t& entityInstance, 586 uint8_t compEffecterCnt, uint16_t& entityType,
|
| H A D | fru.cpp | 429 uint16_t entityType{}; in removeIndividualFRU() local 438 pdrRepo, rsi, &terminusHdl, &entityType, &entityInsNum, &containerId); in removeIndividualFRU() 447 removeEntity = {entityType, entityInsNum, containerId}; in removeIndividualFRU()
|
| /openbmc/pldm/oem/ibm/host-bmc/ |
| H A D | host_lamp_test.cpp | 85 pdr::EntityType entityType = PLDM_ENTITY_INDICATOR | 0x8000; in getEffecterID() local 88 mctp_eid, entityType, in getEffecterID() 95 "ENTITY_TYP", entityType); in getEffecterID()
|
| /openbmc/pldm/softoff/ |
| H A D | softoff.cpp | 65 pldm::pdr::EntityType entityType = entry.value("entityType", 0); in SoftPowerOff() local 68 bool effecterFound = getEffecterID(entityType, stateSetId); in SoftPowerOff() 71 auto rc = getSensorInfo(entityType, stateSetId); in SoftPowerOff() 175 bool SoftPowerOff::getEffecterID(pldm::pdr::EntityType& entityType, in getEffecterID() argument 185 method.append(TID, entityType, stateSetId); in getEffecterID() 210 int SoftPowerOff::getSensorInfo(pldm::pdr::EntityType& entityType, in getSensorInfo() argument 220 method.append(TID, entityType, stateSetId); in getSensorInfo()
|
| H A D | softoff.hpp | 113 bool getEffecterID(pldm::pdr::EntityType& entityType, 124 int getSensorInfo(pldm::pdr::EntityType& entityType,
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | oem_ibm_handler.cpp | 29 pldm::pdr::EntityType entityType, EntityInstance entityInstance, in getOemStateSensorReadingsHandler() argument 42 if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in getOemStateSensorReadingsHandler() 47 else if (entityType == PLDM_ENTITY_SLOT && in getOemStateSensorReadingsHandler() 52 if (value.entity_type == entityType && in getOemStateSensorReadingsHandler() 61 else if (entityType == PLDM_OEM_IBM_ENTITY_REAL_SAI && in getOemStateSensorReadingsHandler() 80 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId, in oemSetStateEffecterStatesHandler() argument 91 if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in oemSetStateEffecterStatesHandler() 97 else if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in oemSetStateEffecterStatesHandler() 157 else if (entityType == PLDM_ENTITY_SYSTEM_CHASSIS && in oemSetStateEffecterStatesHandler() 175 else if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in oemSetStateEffecterStatesHandler() [all …]
|
| H A D | fru_oem_ibm.cpp | 114 uint16_t entityType{}; in updateDBusProperty() local 121 pdrRepo, fruRSI, &terminusHandle, &entityType, &entityInstanceNum, in updateDBusProperty() 129 entityType == value.entity_type && in updateDBusProperty()
|
| H A D | oem_ibm_handler.hpp | 231 pldm::pdr::EntityType entityType, 238 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
|
| /openbmc/pldm/common/ |
| H A D | utils.cpp | 514 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType, in findStateEffecterId() argument 539 if (entityType == pdr->entity_type && in findStateEffecterId() 599 uint16_t entityType, uint16_t entityInstance, in findStateSensorId() argument 602 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() 615 if (entityType == sensorPdr->entity_type && in findStateSensorId() 831 SensorPDRs getStateSensorPDRsByType(uint16_t entityType, const pldm_pdr* repo) in getStateSensorPDRsByType() argument 844 if (pdr && pdr->entity_type == entityType) in getStateSensorPDRsByType() 855 const pldm_pdr* pdrRepo, uint16_t entityType, uint16_t entityInstance, in findSensorIds() argument 859 auto pdrs = getStateSensorPDRsByType(entityType, pdrRepo); in findSensorIds() 866 if (sensorPdr && sensorPdr->entity_type == entityType && in findSensorIds() [all …]
|
| H A D | utils.hpp | 513 uint16_t entityType, uint16_t entityInstance, 527 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType, 538 SensorPDRs getStateSensorPDRsByType(uint16_t entityType, const pldm_pdr* repo); 550 const pldm_pdr* pdrRepo, uint16_t entityType, uint16_t entityInstance, 560 EffecterPDRs getStateEffecterPDRsByType(uint16_t entityType, 573 const pldm_pdr* pdrRepo, uint16_t entityType, uint16_t entityInstance,
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | dbus_to_terminus_effecter_test.cpp | 47 ASSERT_EQ(hostEffecterInfo[0].entityType, 33); in TEST() 63 ASSERT_EQ(hostEffecterInfo[1].entityType, 32903); in TEST()
|
| /openbmc/pldm/libpldmresponder/test/ |
| H A D | libpldmresponder_pdr_effecter_test.cpp | 206 uint16_t entityType = 33; in TEST() local 210 auto effecterId = findStateEffecterId(inPDRRepo, entityType, entityInstance, in TEST() 214 effecterId = findStateEffecterId(inPDRRepo, entityType, entityInstance, in TEST()
|
| /openbmc/libpldm/tests/dsp/ |
| H A D | pdr.cpp | 655 uint16_t entityType{}; in TEST() local 666 repo, 1, &terminusHdl, &entityType, in TEST() 670 repo, 2, &terminusHdl, &entityType, in TEST() 674 repo, 3, &terminusHdl, &entityType, in TEST() 677 EXPECT_EQ(entityType, 1u); in TEST() 681 repo, 4, &terminusHdl, &entityType, in TEST() 2068 uint16_t entityType{}; in TEST() local 2088 repo, 1, &terminusHdl, &entityType, in TEST() 2090 EXPECT_EQ(entityType, 2); in TEST() 2105 repo, 2, &terminusHdl, &entityType, in TEST() [all …]
|
| /openbmc/pldm/platform-mc/ |
| H A D | dbus_to_terminus_effecters.hpp | 69 uint16_t entityType; //!< Entity type for the host effecter member
|
| H A D | dbus_to_terminus_effecters.cpp | 87 effecterInfo.entityType = jsonEffecterInfo.value("entityType", 0); in parseEffecterJson() 251 pdrRepo, hostEffecterInfo[effecterInfoIndex].entityType, in processHostEffecterChangeNotification() 263 hostEffecterInfo[effecterInfoIndex].entityType, "INSTANCE", in processHostEffecterChangeNotification()
|
| H A D | numeric_sensor.cpp | 32 const uint16_t entityType, const uint16_t entityInstanceNum, in createInventoryPath() argument 48 entityIntf->entityType(entityType); in createInventoryPath()
|
| H A D | numeric_sensor.hpp | 434 const uint16_t entityType, const uint16_t entityInstanceNum,
|
| /openbmc/openbmc-test-automation/pldm/ |
| H A D | test_pldm_platform.robot | 82 # [entityType]: 33
|
| /openbmc/phosphor-host-ipmid/scripts/ |
| H A D | writesensor.cpp.mako | 82 .entityType = ${entityID},
|
| /openbmc/phosphor-host-ipmid/include/ipmid/ |
| H A D | types.hpp | 163 EntityType entityType; member
|