Home
last modified time | relevance | path

Searched refs:entityType (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/pldm/libpldmresponder/
H A Devent_parser.hpp27 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 Doem_handler.hpp37 pldm::pdr::EntityType entityType,
61 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
H A Dfru_parser.cpp85 for (auto [intf, entityType] : defIntfToEntityType) in setupDefaultDBusLookup()
87 intfToEntityType[intf] = entityType; in setupDefaultDBusLookup()
120 for (auto [intf, entityType] : intfToEntityType) in setupDefaultFruRecordMap()
H A Dplatform.cpp310 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 Devent_parser.cpp53 stateSensorEntry.entityType = in StateSensorHandler()
H A Dplatform.hpp568 uint16_t& entityType, uint16_t& entityInstance,
586 uint8_t compEffecterCnt, uint16_t& entityType,
H A Dfru.cpp429 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 Dhost_lamp_test.cpp85 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 Dsoftoff.cpp65 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 Dsoftoff.hpp113 bool getEffecterID(pldm::pdr::EntityType& entityType,
124 int getSensorInfo(pldm::pdr::EntityType& entityType,
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.cpp29 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 Dfru_oem_ibm.cpp114 uint16_t entityType{}; in updateDBusProperty() local
121 pdrRepo, fruRSI, &terminusHandle, &entityType, &entityInstanceNum, in updateDBusProperty()
129 entityType == value.entity_type && in updateDBusProperty()
H A Doem_ibm_handler.hpp231 pldm::pdr::EntityType entityType,
238 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
/openbmc/pldm/common/
H A Dutils.cpp514 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 Dutils.hpp513 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 Ddbus_to_terminus_effecter_test.cpp47 ASSERT_EQ(hostEffecterInfo[0].entityType, 33); in TEST()
63 ASSERT_EQ(hostEffecterInfo[1].entityType, 32903); in TEST()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_pdr_effecter_test.cpp206 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 Dpdr.cpp655 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 Ddbus_to_terminus_effecters.hpp69 uint16_t entityType; //!< Entity type for the host effecter member
H A Ddbus_to_terminus_effecters.cpp87 effecterInfo.entityType = jsonEffecterInfo.value("entityType", 0); in parseEffecterJson()
251 pdrRepo, hostEffecterInfo[effecterInfoIndex].entityType, in processHostEffecterChangeNotification()
263 hostEffecterInfo[effecterInfoIndex].entityType, "INSTANCE", in processHostEffecterChangeNotification()
H A Dnumeric_sensor.cpp32 const uint16_t entityType, const uint16_t entityInstanceNum, in createInventoryPath() argument
48 entityIntf->entityType(entityType); in createInventoryPath()
H A Dnumeric_sensor.hpp434 const uint16_t entityType, const uint16_t entityInstanceNum,
/openbmc/openbmc-test-automation/pldm/
H A Dtest_pldm_platform.robot82 # [entityType]: 33
/openbmc/phosphor-host-ipmid/scripts/
H A Dwritesensor.cpp.mako82 .entityType = ${entityID},
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dtypes.hpp163 EntityType entityType; member

12