/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 | platform.cpp | 311 uint16_t entityType{}; in setStateEffecterStates() local 315 if (isOemStateEffecter(*this, effecterId, compEffecterCnt, entityType, in setStateEffecterStates() 321 entityType, entityInstance, stateSetId, compEffecterCnt, stateField, in setStateEffecterStates() 504 const auto& [containerId, entityType, entityInstance] = entityInfo; in sensorEvent() 507 entityType, in sensorEvent() 794 uint16_t entityType{}; in getStateSensorReadings() local 800 entityType, entityInstance, stateSetId, containerId) && in getStateSensorReadings() 804 entityType, entityInstance, containerId, stateSetId, comSensorCnt, in getStateSensorReadings() 844 uint16_t& entityType, uint16_t& entityInstance, in isOemStateSensor() argument 899 entityType in isOemStateSensor() 915 isOemStateEffecter(Handler & handler,uint16_t effecterId,uint8_t compEffecterCnt,uint16_t & entityType,uint16_t & entityInstance,uint16_t & stateSetId) isOemStateEffecter() argument [all...] |
H A D | fru_parser.cpp | 74 for (auto [intf, entityType] : defIntfToEntityType) in setupDefaultDBusLookup() 76 intfToEntityType[intf] = entityType; in setupDefaultDBusLookup() 105 for (auto [intf, entityType] : intfToEntityType) in setupDefaultFruRecordMap()
|
H A D | oem_handler.hpp | 37 pldm::pdr::EntityType entityType, 61 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
|
H A D | platform.hpp | 545 * @param[out] entityType - entity type 555 uint16_t& entityType, uint16_t& entityInstance, 565 * @param[out] entityType - entity type 573 uint8_t compEffecterCnt, uint16_t& entityType,
|
H A D | event_parser.cpp | 53 stateSensorEntry.entityType = in StateSensorHandler()
|
/openbmc/bmcweb/http/ |
H A D | mutual_tls_meta.hpp | 34 std::string_view entityType = sslUser.substr(0, colonIndex); in mtlsMetaParseSslUser() local 36 if (entityType != "user") in mtlsMetaParseSslUser() 40 entityType, sslUser); in mtlsMetaParseSslUser()
|
/openbmc/pldm/softoff/ |
H A D | softoff.cpp | 62 pldm::pdr::EntityType entityType = entry.value("entityType", 0); in SoftPowerOff() local 65 bool effecterFound = getEffecterID(entityType, stateSetId); in SoftPowerOff() 68 auto rc = getSensorInfo(entityType, stateSetId); in SoftPowerOff() 171 bool SoftPowerOff::getEffecterID(pldm::pdr::EntityType& entityType, in getEffecterID() argument 181 method.append(TID, entityType, stateSetId); in getEffecterID() 206 int SoftPowerOff::getSensorInfo(pldm::pdr::EntityType& entityType, in getSensorInfo() argument 216 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/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/oem/ibm/libpldmresponder/ |
H A D | oem_ibm_handler.cpp | 28 pldm::pdr::EntityType entityType, EntityInstance entityInstance, in getOemStateSensorReadingsHandler() argument 40 if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in getOemStateSensorReadingsHandler() 45 else if (entityType == PLDM_ENTITY_SLOT && in getOemStateSensorReadingsHandler() 50 if (value.entity_type == entityType && in getOemStateSensorReadingsHandler() 72 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId, in oemSetStateEffecterStatesHandler() argument 83 if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in oemSetStateEffecterStatesHandler() 89 else if (entityType == PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE && in oemSetStateEffecterStatesHandler() 149 else if (entityType == PLDM_ENTITY_SYSTEM_CHASSIS && in oemSetStateEffecterStatesHandler() 181 uint16_t entityType, uint16_t entityInstance, in buildAllCodeUpdateEffecterPDR() argument 205 pdr->entity_type = entityType; in buildAllCodeUpdateEffecterPDR() [all …]
|
H A D | fru_oem_ibm.cpp | 111 uint16_t entityType{}; in updateDBusProperty() local 118 pdrRepo, fruRSI, &terminusHandle, &entityType, &entityInstanceNum, in updateDBusProperty() 126 entityType == value.entity_type && in updateDBusProperty()
|
H A D | oem_ibm_handler.hpp | 153 pldm::pdr::EntityType entityType, 160 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
|
/openbmc/libpldm/tests/dsp/ |
H A D | pdr.cpp | 653 uint16_t entityType{}; in TEST() 664 repo, 1, &terminusHdl, &entityType, in TEST() 668 repo, 2, &terminusHdl, &entityType, in TEST() 672 repo, 3, &terminusHdl, &entityType, in TEST() 675 EXPECT_EQ(entityType, 1u); in TEST() 679 repo, 4, &terminusHdl, &entityType, in TEST() 1861 uint16_t entityType{}; in TEST() 1881 repo, 1, &terminusHdl, &entityType, in TEST() 1883 EXPECT_EQ(entityType, 2); in TEST() 1898 repo, 2, &terminusHdl, &entityType, in TEST() 576 uint16_t entityType{}; TEST() local 1687 uint16_t entityType{}; TEST() local 2163 uint16_t entityType{}; TEST() local [all...] |
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_pdr_effecter_test.cpp | 206 uint16_t entityType = 33; in TEST() 210 auto effecterId = findStateEffecterId(inPDRRepo, entityType, entityInstance, in TEST() 214 effecterId = findStateEffecterId(inPDRRepo, entityType, entityInstance, in TEST() 208 uint16_t entityType = 33; TEST() local
|
/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/common/ |
H A D | utils.cpp | 484 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType, in jsonEntryToDbusVal() 509 if (entityType == pdr->entity_type && in findStateEffecterId() 569 uint16_t entityType, uint16_t entityInstance, in recoverMctpEndpoint() 572 auto pdrs = findStateSensorPDR(tid, entityType, stateSetId, pdrRepo); in findStateSensorId() argument 585 if (entityType == sensorPdr->entity_type && in findStateSensorId() 486 findStateEffecterId(const pldm_pdr * pdrRepo,uint16_t entityType,uint16_t entityInstance,uint16_t containerId,uint16_t stateSetId,bool localOrRemote) findStateEffecterId() argument
|
H A D | utils.hpp | 475 uint16_t entityType, uint16_t entityInstance, 489 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType,
|
/openbmc/pldm/platform-mc/ |
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 | dbus_to_terminus_effecters.hpp | 69 uint16_t entityType; //!< Entity type for the host effecter member
|
H A D | numeric_sensor.cpp | 20 const uint16_t entityType, const uint16_t entityInstanceNum, in createInventoryPath() argument 36 entityIntf->entityType(entityType); in createInventoryPath()
|
H A D | numeric_sensor.hpp | 239 const uint16_t entityType, const uint16_t entityInstanceNum,
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_platform.robot | 65 # [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 | 162 EntityType entityType; member
|