Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 25 of 477) sorted by relevance

12345678910>>...20

/openbmc/libpldm/src/dsp/
H A Dpdr.c654 pldm_entity entity; member
667 return node->entity; in pldm_entity_extract()
672 pldm_entity_node_get_remote_container_id(const pldm_entity_node *entity) in pldm_entity_node_get_remote_container_id() argument
674 assert(entity != NULL); in pldm_entity_node_get_remote_container_id()
676 return entity->remote_container_id; in pldm_entity_node_get_remote_container_id()
701 uint16_t this_type = start->entity.entity_type; in find_insertion_at()
704 (this_type != next->entity.entity_type)) { in find_insertion_at()
715 pldm_entity_association_tree *tree, pldm_entity *entity, in pldm_entity_association_tree_add() argument
719 return pldm_entity_association_tree_add_entity(tree, entity, in pldm_entity_association_tree_add()
727 pldm_entity_association_tree *tree, pldm_entity *entity, in pldm_entity_association_tree_add_entity() argument
[all …]
/openbmc/phosphor-host-ipmid/scripts/
H A Dentity-example.md3 If your platform requires the entity container map, you can provide a json file
35 # Container entity contains other entities
36 # Entity Id and entity Instance for the container entity
40 # two ranges of entity instances; this record has contained entities
44 # entities within a container entity; this record is not linked
66 # below record have the same container entity Id and container entity
84 # above record have the same container entity Id and container entity
103 # This record has contained entities as two ranges of entity instances
124 # This record has contained entities as two ranges of entity instances
127 # below record have the same container entity Id and container entity
[all …]
/openbmc/openbmc-tools/reboot-ping-pong/
H A Drpp73 def __init__(self, entity): argument
76 self.entity = entity
77 fargs = (entity.console.endpoint.host, entity.console.endpoint.port)
88 self.entity.console.credentials.username.encode()
92 self.entity.console.credentials.password.encode()
125 def __init__(self, entity, bmc): argument
129 self.entity = entity
135 self.entity.console.endpoint.port,
136 self.entity.console.credentials.username,
137 self.entity.console.endpoint.host,
[all …]
/openbmc/pldm/host-bmc/
H A Dutils.cpp60 const EntityAssociations& entityAssoc, pldm_entity_node* entity, in addObjectPathEntityAssociations() argument
64 if (entity == nullptr) in addObjectPathEntityAssociations()
70 pldm_entity node_entity = pldm_entity_extract(entity); in addObjectPathEntityAssociations()
89 pldm_entity_node_get_remote_container_id(entity); in addObjectPathEntityAssociations()
116 objPathMap[entity_path] = entity; in addObjectPathEntityAssociations()
121 objPathMap[entity_path] = entity; in addObjectPathEntityAssociations()
148 objPathMap[dbusPath] = entity; in addObjectPathEntityAssociations()
153 objPathMap[dbusPath] = entity; in addObjectPathEntityAssociations()
166 for (const auto& entity : parentsEntity) in updateEntityAssociation() local
170 pldm_entity node_entity = pldm_entity_extract(entity); in updateEntityAssociation()
[all …]
H A Dhost_pdr_handler.cpp78 pldm_entity entity{t->entity_type, t->entity_instance, t->container_id}; in updateContainerId() local
80 entityTree, &entity, true); in updateContainerId()
1103 const pldm_entity& entity) in getRSI() argument
1110 if (fruPdr->entity_type == entity.entity_type && in getRSI()
1111 fruPdr->entity_instance == entity.entity_instance_num && in getRSI()
1112 fruPdr->container_id == entity.entity_container_id) in getRSI()
1127 for (const auto& entity : objPathMap) in setFRUDataOnDBus() local
1129 pldm_entity node = pldm_entity_extract(entity.second); in setFRUDataOnDBus()
1147 entity.first, in setFRUDataOnDBus()
1173 for (const auto& entity : objPathMap) in createDbusObjects() local
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Configuration/
H A DREADME.md4 [entity-manager][entity-manager]. Entity-manager currently creates these style
10 It is hoped that in the future entity-manager will be refactored to closer align
13 [entity-manager]: https://github.com/openbmc/entity-manager
/openbmc/libpldm/tests/dsp/
H A Dpdr.cpp42 inline bool operator==(pldm_entity_test entity) const in operator ==()
44 return (entity_type == entity.entity_type) && in operator ==()
45 (entity_instance_num == entity.entity_instance_num) && in operator ==()
46 (entity_container_id == entity.entity_container_id); in operator ==()
50 static void getEntity(struct pldm_msgbuf_ro* buf, pldm_entity_test& entity) in getEntity() argument
52 pldm_msgbuf_extract_uint16(buf, entity.entity_type); in getEntity()
53 pldm_msgbuf_extract_uint16(buf, entity.entity_instance_num); in getEntity()
54 pldm_msgbuf_extract_uint16(buf, entity.entity_container_id); in getEntity()
1243 pldm_entity entity{}; in TEST() local
1244 entity.entity_type = 135; in TEST()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dcollect_slot_vpd.cpp47 const pldm_entity entity = getEntityIDfromEffecterID(effecterId); in enableSlot() local
51 if (entity.entity_instance_num == value.entity_instance_num && in enableSlot()
52 entity.entity_type == value.entity_type && in enableSlot()
53 entity.entity_container_id == value.entity_container_id) in enableSlot()
66 const pldm_entity& entity, in processSlotOperations() argument
89 createPresenceMatch(adapterObjPath, entity, stateFieldValue); in processSlotOperations()
157 const pldm_entity& entity, in createPresenceMatch() argument
165 entity](sdbusplus::message_t& msg) { in createPresenceMatch()
175 entity); in createPresenceMatch()
181 bool presentValue, uint8_t stateFiledvalue, const pldm_entity& entity) in processPresentPropertyChange() argument
[all …]
H A Dcollect_slot_vpd.hpp99 const pldm_entity& entity,
125 const pldm_entity& entity,
135 bool presentValue, uint8_t stateFieldvalue, const pldm_entity& entity);
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/
H A Dentity-manager_%.bbappend6 rm -f ${D}${datadir}/entity-manager/configurations/*.json
7 install -d ${D}${datadir}/entity-manager/configurations
8 … install -m 0444 ${UNPACKDIR}/ethanolx-baseboard.json ${D}${datadir}/entity-manager/configurations
9 install -m 0444 ${UNPACKDIR}/ethanolx-chassis.json ${D}${datadir}/entity-manager/configurations
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/
H A Dentity-manager_%.bbappend7 rm -f ${D}${datadir}/entity-manager/configurations/*.json
8 install -d ${D}${datadir}/entity-manager/configurations
9 … install -m 0444 ${UNPACKDIR}/daytonax-baseboard.json ${D}${datadir}/entity-manager/configurations
10 install -m 0444 ${UNPACKDIR}/daytonax-chassis.json ${D}${datadir}/entity-manager/configurations
/openbmc/libpldm/include/libpldm/
H A Dpdr.h371 pldm_entity_association_tree *tree, pldm_entity *entity,
399 pldm_entity_association_tree *tree, pldm_entity *entity,
438 pldm_entity_node_get_remote_container_id(const pldm_entity_node *entity);
509 pldm_pdr *repo, pldm_entity *entity, uint32_t pdr_record_handle);
527 pldm_entity *entity,
568 pldm_entity entity, pldm_entity_node **node);
607 pldm_entity *entity);
621 pldm_entity_association_tree *tree, pldm_entity *entity,
696 pldm_pdr *repo, pldm_entity *entity, bool is_remote,
709 const pldm_entity *entity);
/openbmc/ipmitool/lib/
H A Dipmi_sdr.c1383 sensor->entity.id, in print_csv_discrete()
1384 sensor->entity.instance); in print_csv_discrete()
1394 sensor->entity.id, in print_csv_discrete()
1395 sensor->entity.instance); in print_csv_discrete()
1585 sensor->entity.id, sensor->entity.instance, in ipmi_sdr_print_sensor_fc()
1586 val2str(sensor->entity.id, entity_id_vals), in ipmi_sdr_print_sensor_fc()
1683 sensor->entity.id, sensor->entity.instance); in ipmi_sdr_print_sensor_fc()
1689 sensor->entity.id, sensor->entity.instance); in ipmi_sdr_print_sensor_fc()
1730 sensor->entity.id, sensor->entity.instance, in ipmi_sdr_print_sensor_fc()
1731 val2str(sensor->entity.id, entity_id_vals)); in ipmi_sdr_print_sensor_fc()
[all …]
/openbmc/entity-manager/schemas/
H A DREADME.md5 of an entity manager configuration file.
7 An entity manager configuration file consists of one or more entity manager
14 entity manager configuration file and schema file names must be
17 ## A single entity manager configuration
19 At its core entity manager simply exports objects onto DBus when a specific
20 event occurs. As such, an entity manager configuration provides a syntax for
42 The probe property describes the event which will cause entity manager to export
52 since entity manager will construct the Dbus interface name and object path
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-ipmi-entity-association-map/
H A Dgbs-ipmi-entity-association-map.bb9 ${datadir}/ipmi-entity-association/entity_association_map.json \
13 install -d ${D}${datadir}/ipmi-entity-association
15 ${D}${datadir}/ipmi-entity-association/entity_association_map.json
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-system/
H A Dkudo-entity-association-map.bb9 ${datadir}/ipmi-entity-association/entity_association_map.json \
13 install -d ${D}${datadir}/ipmi-entity-association
15 ${D}${datadir}/ipmi-entity-association/entity_association_map.json
/openbmc/phosphor-virtual-sensor/
H A DREADME.md35 hardware configuration file in entity-manager. This method of adding a virtual
39 The virtual sensor configuration in entity manager follows a different format to
41 [entity-manager/schemas/VirtualSensor.json](https://github.com/openbmc/entity-manager/blob/master/s…
/openbmc/entity-manager/
H A DREADME.md15 is referred to as an entity.
20 entity encompasses.
30 A set of rules for detecting a given entity. Said rules generally take the form
65 2. **An entity manager configuration file** Entity manager configuration files
66 are located in the ./configurations directory in the entity manager
72 Once a component is detected, entity manager will publish these Exposes
75 3. **A reactor** The reactors are things that take the entity manager
101 particular devices in a given binary image. By default, entity manager will
125 feature set of entity manager, to ensure it remains small, and effective to
131 entity-manager to produce a Redfish compliant REST API. **intel-ipmi-oem** An
[all …]
/openbmc/pldm/libpldmresponder/
H A Dfru.cpp39 pldm_entity entity{}; in getEntityByObjectPath() local
40 entity.entity_type = parser.getEntityType(intfMap.first); in getEntityByObjectPath()
41 return entity; in getEntityByObjectPath()
108 pldm_entity entity = *entityPtr; in updateAssociationTree() local
113 if (node.entity_type == entity.entity_type) in updateAssociationTree()
115 entity.entity_instance_num = in updateAssociationTree()
124 entityTree, &entity, 0xFFFF, nullptr, in updateAssociationTree()
133 entityTree, &entity, 0xFFFF, in updateAssociationTree()
191 pldm_entity entity{}; in buildFRUTable() local
197 entity = pldm_entity_extract(node); in buildFRUTable()
[all …]
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/
H A Dentity-manager_%.bbappend5 install -d ${D}${datadir}/entity-manager/configurations
6 install -m 0444 ${UNPACKDIR}/*.json ${D}${datadir}/entity-manager/configurations
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/
H A Dphosphor-ipmi-config.bb14 file://entity-map.json \
43 install -m 0644 -D ${UNPACKDIR}/entity-map.json \
44 ${D}${datadir}/ipmi-providers/entity-map.json
57 ${datadir}/ipmi-providers/entity-map.json \
/openbmc/dbus-sensors/
H A DREADME.md11 - runtime re-configurable from d-bus (entity-manager or the like)
47 dbus-sensor daemons are [reactors](https://github.com/openbmc/entity-manager)
57 [entity-manager examples](https://github.com/openbmc/entity-manager/blob/master/docs/my_first_senso…
63 Refer to entity manager
64 [schema](https://github.com/openbmc/entity-manager/blob/master/schemas/legacy.json)
111 You will then create an entity-manager configuration file that is of type "ADC"
124 for any ADC entity-manager objects, look up their "Index" value, and try to
/openbmc/entity-manager/service_files/
H A Dxyz.openbmc_project.EntityManager.service7 ExecStart=/usr/libexec/entity-manager/entity-manager
/openbmc/docs/designs/inventory/
H A Dgpio-based-hardware-inventory.md99 - Allow configuration of the detectable inventory items through entity-manager
104 - entity-manager should expose all required Inventory interfaces
109 entity-manager, its probe match data is published to D-Bus, which triggers
110 entity-manager to publish the associated configuration.
113 - detecting one entity as 'Present' should enable detecting other entities
118 The proposed design is to create a new daemon in the entity-manager repository,
211 entity-manager already creates the needed dbus interfaces here. So there is no
223 Used by entity-manager to identify which hardware was detected. For
224 internal use by entity-manager.
249 Used by entity-manager to identify which hw was detected. For internal use
[all …]
/openbmc/openbmc/meta-amd/conf/machine/include/
H A Damd.inc8 VIRTUAL-RUNTIME_obmc-inventory-manager = "entity-manager"
10 PREFERRED_PROVIDER_virtual/obmc-inventory-data = "entity-manager"

12345678910>>...20