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 Dplatform.cpp311 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 Dfru_parser.cpp74 for (auto [intf, entityType] : defIntfToEntityType) in setupDefaultDBusLookup()
76 intfToEntityType[intf] = entityType; in setupDefaultDBusLookup()
105 for (auto [intf, entityType] : intfToEntityType) in setupDefaultFruRecordMap()
H A Doem_handler.hpp37 pldm::pdr::EntityType entityType,
61 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
H A Dplatform.hpp545 * @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 Devent_parser.cpp53 stateSensorEntry.entityType = in StateSensorHandler()
/openbmc/bmcweb/http/
H A Dmutual_tls_meta.hpp34 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 Dsoftoff.cpp62 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 Dsoftoff.hpp113 bool getEffecterID(pldm::pdr::EntityType& entityType,
124 int getSensorInfo(pldm::pdr::EntityType& entityType,
/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/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.cpp28 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 Dfru_oem_ibm.cpp111 uint16_t entityType{}; in updateDBusProperty() local
118 pdrRepo, fruRSI, &terminusHandle, &entityType, &entityInstanceNum, in updateDBusProperty()
126 entityType == value.entity_type && in updateDBusProperty()
H A Doem_ibm_handler.hpp153 pldm::pdr::EntityType entityType,
160 uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
/openbmc/libpldm/tests/dsp/
H A Dpdr.cpp653 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 Dlibpldmresponder_pdr_effecter_test.cpp206 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 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/common/
H A Dutils.cpp484 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 Dutils.hpp475 uint16_t entityType, uint16_t entityInstance,
489 uint16_t findStateEffecterId(const pldm_pdr* pdrRepo, uint16_t entityType,
/openbmc/pldm/platform-mc/
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 Ddbus_to_terminus_effecters.hpp69 uint16_t entityType; //!< Entity type for the host effecter member
H A Dnumeric_sensor.cpp20 const uint16_t entityType, const uint16_t entityInstanceNum, in createInventoryPath() argument
36 entityIntf->entityType(entityType); in createInventoryPath()
H A Dnumeric_sensor.hpp239 const uint16_t entityType, const uint16_t entityInstanceNum,
/openbmc/openbmc-test-automation/pldm/
H A Dtest_pldm_platform.robot65 # [entityType]: 33
/openbmc/phosphor-host-ipmid/scripts/
H A Dwritesensor.cpp.mako82 .entityType = ${entityID},
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dtypes.hpp162 EntityType entityType; member

12