/openbmc/libpldm/tests/dsp/ |
H A D | pdr.cpp | 36 uint16_t entity_type; in TEST() 42 return (entity_type == entity.entity_type) && in TEST() 50 pldm_msgbuf_extract_uint16(buf, entity.entity_type); in TEST() 594 EXPECT_EQ(fru->entity_type, htole16(1)); in TEST() 620 EXPECT_EQ(fru->entity_type, htole16(2)); in TEST() 640 EXPECT_EQ(fru->entity_type, htole16(1)); in TEST() 794 entities[0].entity_type = 1; in TEST() 795 entities[1].entity_type = 2; in TEST() 796 entities[2].entity_type in TEST() [all...] |
/openbmc/pldm/host-bmc/test/ |
H A D | utils_test.cpp | 25 entities[0].entity_type = 45; in TEST() 28 entities[1].entity_type = 64; in TEST() 31 entities[2].entity_type = 67; in TEST() 33 entities[3].entity_type = 67; in TEST() 36 entities[4].entity_type = 135; in TEST() 38 entities[5].entity_type = 135; in TEST() 40 entities[6].entity_type = 135; in TEST() 42 entities[7].entity_type = 135; in TEST() 106 EXPECT_EQ(entity.entity_type, retEntity.entity_type); in TEST()
|
/openbmc/libpldm/src/dsp/ |
H A D | pdr.c | 296 uint16_t fru_rsi, uint16_t entity_type, in pldm_pdr_add_fru_record_set() argument 319 fru->entity_type = htole16(entity_type); in pldm_pdr_add_fru_record_set() 330 uint16_t *entity_type, uint16_t *entity_instance_num, in pldm_pdr_fru_record_set_find_by_rsi() argument 333 if (!repo || !terminus_handle || !entity_type || !entity_instance_num || in pldm_pdr_fru_record_set_find_by_rsi() 348 *entity_type = le16toh(fru->entity_type); in pldm_pdr_fru_record_set_find_by_rsi() 361 *entity_type = 0; in pldm_pdr_fru_record_set_find_by_rsi() 408 const pldm_pdr *repo, uint16_t entity_type, uint16_t entity_instance, in pldm_pdr_find_child_container_id_index_range_exclude() argument 446 is_container_entity_type = pdr->container.entity_type in pldm_pdr_find_child_container_id_index_range_exclude() 506 find_insertion_at(pldm_entity_node * start,uint16_t entity_type) find_insertion_at() argument [all...] |
/openbmc/pldm/host-bmc/ |
H A D | utils.cpp | 41 if (node_entity.entity_type == parent_entity.entity_type && in getParentEntites() 71 if (!entityMaps.contains(node_entity.entity_type)) in addObjectPathEntityAssociations() 79 std::string entityName = entityMaps.at(node_entity.entity_type); in addObjectPathEntityAssociations() 84 ev_entity.entity_type == node_entity.entity_type) in addObjectPathEntityAssociations() 189 paths.push_back(entityMaps.at(parent.entity_type) + in updateEntityAssociation() 196 "ENTITY_TYPE", (int)parent.entity_type, "NUM", in updateEntityAssociation()
|
/openbmc/pldm/common/test/ |
H A D | pldm_utils_test.cpp | 156 rec->entity_type = 33; in TEST() 189 rec->entity_type = 33; in TEST() 238 rec->entity_type = 31; in TEST() 258 rec_second->entity_type = 31; in TEST() 297 rec->entity_type = 34; in TEST() 317 rec_second->entity_type = 39; in TEST() 352 rec->entity_type = 32; in TEST() 372 rec_second->entity_type = 67; in TEST() 408 rec->entity_type = 32; in TEST() 428 rec_second->entity_type in TEST() [all...] |
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_fru_test.cpp | 144 EXPECT_TRUE((test_node->parent).entity_type == systemEntity.entity_type); in TEST() 150 EXPECT_TRUE((test_node->parent).entity_type == chassisEntity.entity_type); in TEST() 178 EXPECT_TRUE(entity.entity_type == 45); in TEST()
|
H A D | libpldmresponder_pdr_effecter_test.cpp | 56 ASSERT_EQ(pdr->entity_type, 33); in TEST() 88 ASSERT_EQ(pdr->entity_type, 100); in TEST()
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_oem_platform_test.cpp | 263 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 290 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 317 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 371 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 397 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 423 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 467 entities[0].entity_type = 45; in TEST() 470 entities[1].entity_type = 64; in TEST() 473 entities[2].entity_type = 67; in TEST() 475 entities[3].entity_type = 67; in TEST() [all …]
|
/openbmc/u-boot/drivers/dfu/ |
H A D | dfu_mmc.c | 295 const char *entity_type; in dfu_fill_entity_mmc() local 314 entity_type = argv[0]; in dfu_fill_entity_mmc() 335 if (!strcmp(entity_type, "raw")) { in dfu_fill_entity_mmc() 350 } else if (!strcmp(entity_type, "part")) { in dfu_fill_entity_mmc() 366 } else if (!strcmp(entity_type, "fat")) { in dfu_fill_entity_mmc() 368 } else if (!strcmp(entity_type, "ext4")) { in dfu_fill_entity_mmc() 371 pr_err("Memory layout (%s) not supported!\n", entity_type); in dfu_fill_entity_mmc() 376 if (strcmp(entity_type, "raw")) { in dfu_fill_entity_mmc()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | collect_slot_vpd.cpp | 19 static_cast<unsigned>(currentOnGoingSlotEntity.entity_type), in timeOutHandler() 52 entity.entity_type == value.entity_type && in enableSlot() 55 this->currentOnGoingSlotEntity.entity_type = value.entity_type; in enableSlot() 248 parentFruEntity.entity_type = pdr->entity_type; in getEntityIDfromEffecterID()
|
H A D | utils.cpp | 217 if (parent.entity_type == PLDM_ENTITY_PROC) in setCoreCount() 223 if (child.entity_type == (PLDM_ENTITY_PROC | 0x8000)) in setCoreCount() 233 "{}{}/{}{}", entityMaps.at(grand_parent.entity_type), in setCoreCount() 235 entityMaps.at(parent.entity_type), in setCoreCount()
|
H A D | oem_ibm_handler.cpp | 50 if (value.entity_type == entityType && in getOemStateSensorReadingsHandler() 205 pdr->entity_type = entityType; in buildAllCodeUpdateEffecterPDR() 264 pdr->entity_type = associatedEntityMap.at(entity_path).entity_type; in buildAllSlotEnableEffecterPDR() 321 pdr->entity_type = entityType; in buildAllCodeUpdateSensorPDR() 375 pdr->entity_type = associatedEntityMap.at(entity_path).entity_type; in buildAllSlotEnableSensorPDR()
|
H A D | collect_slot_vpd.hpp | 54 currentOnGoingSlotEntity.entity_type = 0; in SlotHandler()
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_state_sensor.hpp | 82 pdr->entity_type = in generateStateSensorPDR() 83 associatedEntityMap.at(entity_path).entity_type; in generateStateSensorPDR() 91 pdr->entity_type = e.value("type", 0); in generateStateSensorPDR() 97 if (!pdr->entity_type) in generateStateSensorPDR() 105 pdr->entity_type = e.value("type", 0); in generateStateSensorPDR() 119 HTOLE16(pdr->entity_type); in generateStateSensorPDR()
|
H A D | pdr_state_effecter.hpp | 79 pdr->entity_type = in generateStateEffecterPDR() 80 associatedEntityMap.at(entity_path).entity_type; in generateStateEffecterPDR() 88 pdr->entity_type = e.value("type", 0); in generateStateEffecterPDR() 94 if (!pdr->entity_type) in generateStateEffecterPDR() 102 pdr->entity_type = e.value("type", 0); in generateStateEffecterPDR()
|
H A D | pdr_numeric_effecter.hpp | 62 pdr->entity_type = in generateNumericEffecterPDR() 63 associatedEntityMap.at(entity_path).entity_type; in generateNumericEffecterPDR() 71 pdr->entity_type = e.value("type", 0); in generateNumericEffecterPDR() 77 if (!pdr->entity_type) in generateNumericEffecterPDR() 85 pdr->entity_type = e.value("type", 0); in generateNumericEffecterPDR()
|
H A D | fru.cpp | 33 entity.entity_type = parser.getEntityType(intfMap.first); in getEntityByObjectPath() 106 if (node.entity_type == entity.entity_type) in updateAssociationTree() 327 entity.entity_type, entity.entity_instance_num, in populateRecords()
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 233 const pldm_pdr *repo, uint16_t entity_type, uint16_t entity_instance, 259 uint16_t fru_rsi, uint16_t entity_type, 281 uint16_t *entity_type, uint16_t *entity_instance_num, 289 uint16_t entity_type; member
|
H A D | platform.h | 614 uint16_t entity_type; member 630 uint16_t entity_type; member 657 uint16_t entity_type; member 675 uint16_t entity_type; member 754 uint16_t entity_type; member 825 uint16_t entity_type; member
|
/openbmc/bmcweb/scripts/ |
H A D | generate_schema_collections.py | 82 for entity_type in schema.findall(EDM + "EntityType"): 83 name = entity_type.get("Name") 86 for nav_prop in entity_type.findall(EDM + "NavigationProperty"):
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib_common.h | 36 u32 entity_type; member
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 664 bool isLogicalBitSet(const uint16_t entity_type) in isLogicalBitSet() argument 666 return entity_type & 0x8000; in isLogicalBitSet() 812 output["entityType"] = getEntityName(pdr->entity_type); in printStateSensorPDR() 864 output["entityType"] = getEntityName(pdr->entity_type); in printPDRFruRecordSet() 902 getEntityName(pdr->container.entity_type); in printPDREntityAssociation() 914 getEntityName(child->entity_type)); in printPDREntityAssociation() 998 output["entityType"] = int(pdr->entity_type); in printNumericEffecterPDR() 1119 output["entityType"] = getEntityName(pdr->entity_type); in printStateEffecterPDR() 1280 output["entityType"] = getEntityName(pdr.entity_type); in printNumericSensorPDR() 1448 output["entityType"] = getEntityName(pdr->entity_type); in printCompactNumericSensorPDR()
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | vpu_jsm_api.h | 753 u32 entity_type; member 770 u32 entity_type; member
|
/openbmc/pldm/common/ |
H A D | utils.cpp | 64 if (pdr->entity_type == entityID && setId == stateSetId) in findStateEffecterPDR() 115 if (pdr->entity_type == entityID && setId == stateSetId) in findStateSensorPDR() 509 if (entityType == pdr->entity_type && in findStateEffecterId() 585 if (entityType == sensorPdr->entity_type && in findStateSensorId()
|
/openbmc/pldm/platform-mc/ |
H A D | terminus.cpp | 400 EntityKey key{decodedPdr->container.entity_type, in parseEntityAuxiliaryNamesPDR() 509 parsedPdr->entity_type = pdr->entity_type; in parseCompactNumericSensorPDR()
|