/openbmc/libpldm/tests/dsp/ |
H A D | pdr.cpp | 806 EXPECT_EQ(parentL2a.entity_type, nodeL1.entity_type); in TEST() 809 EXPECT_EQ(parentL2b.entity_type, nodeL1.entity_type); in TEST() 812 EXPECT_EQ(parentL2c.entity_type, nodeL1.entity_type); in TEST() 823 EXPECT_EQ(parentL3a.entity_type, nodeL2a.entity_type); in TEST() 826 EXPECT_EQ(parentL3b.entity_type, nodeL2a.entity_type); in TEST() 829 EXPECT_EQ(parentL3c.entity_type, nodeL2a.entity_type); in TEST() 836 EXPECT_EQ(parentL4a.entity_type, nodeL3a.entity_type); in TEST() 843 EXPECT_EQ(parentL4b.entity_type, nodeL3b.entity_type); in TEST() 1646 et1.entity_type = 2; in TEST() 1651 et2.entity_type = 2; 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 | 300 fru->entity_type = htole16(entity_type); in pldm_pdr_add_fru_record_set_check() 329 *entity_type = le16toh(fru->entity_type); in pldm_pdr_fru_record_set_find_by_rsi() 539 node.entity_type = entity->entity_type; in pldm_entity_association_tree_add_entity() 558 node->entity.entity_type = entity->entity_type; in pldm_entity_association_tree_add_entity() 611 if (prev->entity.entity_type == entity->entity_type) { in pldm_entity_association_tree_add_entity() 655 entity->entity_type = node->entity.entity_type; in entity_association_tree_visit() 772 if (node->entity_type == curr->entity.entity_type && in pldm_is_current_parent_child() 806 entity->entity_type = htole16(curr->entity.entity_type); in entity_association_pdr_add_children() 818 entity->entity_type = htole16(node->entity.entity_type); in entity_association_pdr_add_children() 884 if ((*entities + i)->entity_type == entity.entity_type) { in is_present() [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() 186 paths.push_back(entityMaps.at(parent.entity_type) + in updateEntityAssociation() 193 "ENTITY_TYPE", (int)parent.entity_type, "NUM", in updateEntityAssociation()
|
H A D | host_pdr_handler.cpp | 78 pldm_entity entity{t->entity_type, t->entity_instance, t->container_id}; in updateContainerId() 1070 if (fruPdr->entity_type == entity.entity_type && in getRSI() 1124 switch (node.entity_type) in createDbusObjects()
|
/openbmc/pldm/common/test/ |
H A D | pldm_utils_test.cpp | 157 rec->entity_type = 33; in TEST() 192 rec->entity_type = 33; in TEST() 243 rec->entity_type = 31; in TEST() 305 rec->entity_type = 34; in TEST() 363 rec->entity_type = 32; in TEST() 422 rec->entity_type = 32; in TEST() 499 rec->entity_type = 67; in TEST() 593 rec->entity_type = 5; in TEST() 679 rec->entity_type = 5; in TEST() 858 rec->entity_type = 6; 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 | 57 ASSERT_EQ(pdr->entity_type, 33); in TEST() 89 ASSERT_EQ(pdr->entity_type, 100); in TEST()
|
/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()
|
H A D | pdr_utils.cpp | 204 static_cast<EntityType>(pdr->entity_type), in parseStateSensorPDR()
|
/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/libpldm/include/libpldm/ |
H A D | pdr.h | 220 const pldm_pdr *repo, uint16_t entity_type, uint16_t entity_instance, 246 uint16_t fru_rsi, uint16_t entity_type, 268 uint16_t *entity_type, uint16_t *entity_instance_num, 276 uint16_t entity_type; member
|
H A D | platform.h | 544 uint16_t entity_type; member 560 uint16_t entity_type; member 587 uint16_t entity_type; member 605 uint16_t entity_type; member 684 uint16_t entity_type; member 755 uint16_t entity_type; member
|
/openbmc/bmcweb/scripts/ |
H A D | generate_schema_collections.py | 81 for entity_type in schema.findall(EDM + "EntityType"): 82 name = entity_type.get("Name") 85 for nav_prop in entity_type.findall(EDM + "NavigationProperty"):
|
/openbmc/pldm/oem/ibm/test/ |
H A D | libpldmresponder_oem_platform_test.cpp | 219 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 246 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 273 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 324 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 350 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST() 376 ASSERT_EQ(pdr->entity_type, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE); in TEST()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib_common.h | 36 u32 entity_type; member
|
H A D | cxgb4_cudbg.c | 118 entity_hdr->entity_type = e->entity; in cxgb4_cudbg_collect_entity()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_platform_cmd.cpp | 614 bool isLogicalBitSet(const uint16_t entity_type) in isLogicalBitSet() argument 616 return entity_type & 0x8000; in isLogicalBitSet() 763 output["entityType"] = getEntityName(pdr->entity_type); in printStateSensorPDR() 816 output["entityType"] = getEntityName(pdr->entity_type); in printPDRFruRecordSet() 854 getEntityName(pdr->container.entity_type); in printPDREntityAssociation() 866 getEntityName(child->entity_type)); in printPDREntityAssociation() 950 output["entityType"] = int(pdr->entity_type); in printNumericEffecterPDR() 1071 output["entityType"] = getEntityName(pdr->entity_type); in printStateEffecterPDR() 1232 output["entityType"] = getEntityName(pdr.entity_type); in printNumericSensorPDR() 1400 output["entityType"] = getEntityName(pdr->entity_type); in printCompactNumericSensorPDR()
|
/openbmc/pldm/common/ |
H A D | utils.cpp | 61 if (pdr->entity_type == entityID && setId == stateSetId) in findStateEffecterPDR() 114 if (pdr->entity_type == entityID && setId == stateSetId) in findStateSensorPDR() 497 if (entityType == pdr->entity_type && in findStateEffecterId() 553 if (entityType == sensorPdr->entity_type && in findStateSensorId()
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | vpu_jsm_api.h | 753 u32 entity_type; member 770 u32 entity_type; member
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | fru_oem_ibm.cpp | 126 entityType == value.entity_type && in updateDBusProperty()
|
H A D | oem_ibm_handler.cpp | 182 pdr->entity_type = entityType; in buildAllCodeUpdateEffecterPDR() 233 pdr->entity_type = entityType; in buildAllCodeUpdateSensorPDR()
|