/openbmc/linux/drivers/gpu/drm/scheduler/ |
H A D | sched_entity.c | 37 * drm_sched_entity_init - Init a context entity used by scheduler when 40 * @entity: scheduler entity to init 41 * @priority: priority of the entity 43 * entity can be submitted 48 * Note that the &sched_list must have at least one element to schedule the entity. 54 * An entity is cleaned up by callind drm_sched_entity_fini(). See also 59 int drm_sched_entity_init(struct drm_sched_entity *entity, in drm_sched_entity_init() argument 65 if (!(entity && sched_list && (num_sched_list == 0 || sched_list[0]))) in drm_sched_entity_init() 68 memset(entity, 0, sizeof(struct drm_sched_entity)); in drm_sched_entity_init() 69 INIT_LIST_HEAD(&entity->list); in drm_sched_entity_init() [all …]
|
H A D | sched_main.c | 44 * The jobs in a entity are always scheduled in the order that they were pushed. 47 * hardware, i.e. the pending queue, the entity must not be referenced anymore 48 * through the jobs entity pointer. 88 static inline void drm_sched_rq_remove_fifo_locked(struct drm_sched_entity *entity) in drm_sched_rq_remove_fifo_locked() argument 90 struct drm_sched_rq *rq = entity->rq; in drm_sched_rq_remove_fifo_locked() 92 if (!RB_EMPTY_NODE(&entity->rb_tree_node)) { in drm_sched_rq_remove_fifo_locked() 93 rb_erase_cached(&entity->rb_tree_node, &rq->rb_tree_root); in drm_sched_rq_remove_fifo_locked() 94 RB_CLEAR_NODE(&entity->rb_tree_node); in drm_sched_rq_remove_fifo_locked() 98 void drm_sched_rq_update_fifo(struct drm_sched_entity *entity, ktime_t ts) in drm_sched_rq_update_fifo() argument 101 * Both locks need to be grabbed, one to protect from entity->rq change in drm_sched_rq_update_fifo() [all …]
|
/openbmc/linux/block/ |
H A D | bfq-wf2q.c | 30 static unsigned int bfq_class_idx(struct bfq_entity *entity) in bfq_class_idx() argument 32 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_class_idx() 52 * @new_entity: if not NULL, pointer to the entity whose activation, 56 * expiration of the in-service entity 60 * extraction of an entity into/from one of the active trees of 65 * reposition an entity in its active tree; see comments on 68 * just activated or requeued entity. 71 * entity->parent may become the next_in_service for its parent 72 * entity. 84 * or repositioning of an entity that does not coincide with in bfq_update_next_in_service() [all …]
|
H A D | bfq-cgroup.c | 305 struct bfq_entity *group_entity = bfqq->entity.parent; in bfqq_group() 308 entity) : in bfqq_group() 417 void bfq_init_entity(struct bfq_entity *entity, struct bfq_group *bfqg) in bfq_init_entity() argument 419 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() 421 entity->weight = entity->new_weight; in bfq_init_entity() 422 entity->orig_weight = entity->new_weight; in bfq_init_entity() 428 * disappear before entity. in bfq_init_entity() 432 entity->parent = bfqg->my_entity; /* NULL for root group */ in bfq_init_entity() 433 entity->sched_data = &bfqg->sched_data; in bfq_init_entity() 534 struct bfq_entity *entity = &bfqg->entity; in bfq_pd_init() local [all …]
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_entity.c | 18 struct uvc_entity *entity) in uvc_mc_create_links() argument 25 sink = (UVC_ENTITY_TYPE(entity) == UVC_TT_STREAMING) in uvc_mc_create_links() 26 ? (entity->vdev ? &entity->vdev->entity : NULL) in uvc_mc_create_links() 27 : &entity->subdev.entity; in uvc_mc_create_links() 31 for (i = 0; i < entity->num_pads; ++i) { in uvc_mc_create_links() 36 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links() 39 remote = uvc_entity_by_id(chain->dev, entity->baSourceID[i]); in uvc_mc_create_links() 44 ? (remote->vdev ? &remote->vdev->entity : NULL) in uvc_mc_create_links() 45 : &remote->subdev.entity; in uvc_mc_create_links() 62 void uvc_mc_cleanup_entity(struct uvc_entity *entity) in uvc_mc_cleanup_entity() argument [all …]
|
H A D | uvc_ctrl.c | 41 .entity = UVC_GUID_UVC_PROCESSING, 50 .entity = UVC_GUID_UVC_PROCESSING, 59 .entity = UVC_GUID_UVC_PROCESSING, 69 .entity = UVC_GUID_UVC_PROCESSING, 78 .entity = UVC_GUID_UVC_PROCESSING, 87 .entity = UVC_GUID_UVC_PROCESSING, 96 .entity = UVC_GUID_UVC_PROCESSING, 106 .entity = UVC_GUID_UVC_PROCESSING, 116 .entity = UVC_GUID_UVC_PROCESSING, 125 .entity = UVC_GUID_UVC_PROCESSING, [all …]
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 3 * vsp1_entity.c -- R-Car VSP1 Base Entity 13 #include <media/media-entity.h> 23 void vsp1_entity_route_setup(struct vsp1_entity *entity, in vsp1_entity_route_setup() argument 30 if (entity->type == VSP1_ENTITY_HGO) { in vsp1_entity_route_setup() 37 source = entity->sources[0]; in vsp1_entity_route_setup() 38 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() 43 } else if (entity->type == VSP1_ENTITY_HGT) { in vsp1_entity_route_setup() 50 source = entity->sources[0]; in vsp1_entity_route_setup() 51 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() 58 source = entity; in vsp1_entity_route_setup() [all …]
|
H A D | vsp1_entity.h | 3 * vsp1_entity.h -- R-Car VSP1 Base Entity 44 * struct vsp1_route - Entity routing configuration 45 * @type: Entity type this routing entry is associated with 46 * @index: Entity index this routing entry is associated with 49 * @output: Target node value for entity output 51 * Each $vsp1_route entry describes routing configuration for the entity 53 * holds output routing configuration for the entity, and the @inputs array 54 * store the target node value for each input of the entity. The @output field 55 * stores the target node value of the entity output when used as a source for 67 * struct vsp1_entity_operations - Entity operations [all …]
|
H A D | vsp1_uds.c | 33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write() 40 void vsp1_uds_set_alpha(struct vsp1_entity *entity, struct vsp1_dl_body *dlb, in vsp1_uds_set_alpha() argument 43 struct vsp1_uds *uds = to_uds(&entity->subdev); in vsp1_uds_set_alpha() 135 config = vsp1_entity_get_pad_config(&uds->entity, sd_state, in uds_enum_frame_size() 140 format = vsp1_entity_get_pad_format(&uds->entity, config, in uds_enum_frame_size() 143 mutex_lock(&uds->entity.lock); in uds_enum_frame_size() 163 mutex_unlock(&uds->entity.lock); in uds_enum_frame_size() 188 format = vsp1_entity_get_pad_format(&uds->entity, sd_state, in uds_try_format() 212 mutex_lock(&uds->entity.lock); in uds_set_format() 214 config = vsp1_entity_get_pad_config(&uds->entity, sd_state, in uds_set_format() [all …]
|
H A D | vsp1_sru.c | 130 config = vsp1_entity_get_pad_config(&sru->entity, sd_state, in sru_enum_frame_size() 135 format = vsp1_entity_get_pad_format(&sru->entity, config, SRU_PAD_SINK); in sru_enum_frame_size() 137 mutex_lock(&sru->entity.lock); in sru_enum_frame_size() 163 mutex_unlock(&sru->entity.lock); in sru_enum_frame_size() 188 format = vsp1_entity_get_pad_format(&sru->entity, sd_state, in sru_try_format() 228 mutex_lock(&sru->entity.lock); in sru_set_format() 230 config = vsp1_entity_get_pad_config(&sru->entity, sd_state, in sru_set_format() 239 format = vsp1_entity_get_pad_format(&sru->entity, config, fmt->pad); in sru_set_format() 244 format = vsp1_entity_get_pad_format(&sru->entity, config, in sru_set_format() 252 mutex_unlock(&sru->entity.lock); in sru_set_format() [all …]
|
H A D | vsp1_brx.c | 103 return v4l2_subdev_get_try_compose(&brx->entity.subdev, sd_state, pad); in brx_get_compose() 122 format = vsp1_entity_get_pad_format(&brx->entity, sd_state, in brx_try_format() 143 mutex_lock(&brx->entity.lock); in brx_set_format() 145 config = vsp1_entity_get_pad_config(&brx->entity, sd_state, in brx_set_format() 154 format = vsp1_entity_get_pad_format(&brx->entity, config, fmt->pad); in brx_set_format() 158 if (fmt->pad != brx->entity.source_pad) { in brx_set_format() 172 for (i = 0; i <= brx->entity.source_pad; ++i) { in brx_set_format() 173 format = vsp1_entity_get_pad_format(&brx->entity, in brx_set_format() 180 mutex_unlock(&brx->entity.lock); in brx_set_format() 191 if (sel->pad == brx->entity.source_pad) in brx_get_selection() [all …]
|
H A D | vsp1_wpf.c | 32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write() 68 sink_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation() 69 wpf->entity.config, in vsp1_wpf_set_rotation() 71 source_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation() 72 wpf->entity.config, in vsp1_wpf_set_rotation() 75 mutex_lock(&wpf->entity.lock); in vsp1_wpf_set_rotation() 87 mutex_unlock(&wpf->entity.lock); in vsp1_wpf_set_rotation() 136 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_init_controls() 141 if (wpf->entity.index != 0) { in wpf_init_controls() 181 wpf->entity.index); in wpf_init_controls() [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 216 /** @brief find the container ID of the contained entity which is not in the 220 * @param[in] entity_type - entity type 221 * @param[in] entity_instance - instance of the entity 222 * @param[in] child_index - index of the child entity whose container id needs to be found 227 * @param[out] container_id - container id of the contained entity 247 * @param[in] entity_type - entity type of FRU 248 * @param[in] entity_instance_num - entity instance number of FRU 270 * @param[in] entity_type - *entity_type will be FRU entity type of found PDR, 272 * @param[in] entity_instance_num - *entity_instance_num will be FRU entity 285 /* Entity Association PDR APIs */ [all …]
|
/openbmc/linux/include/media/ |
H A D | media-entity.h | 3 * Media entity 28 * @MEDIA_GRAPH_ENTITY: Identify a media entity 70 * @bmap: Bit map in which each bit represents one entity at struct 85 * @stack.entity: pointer to &struct media_entity at the graph. 92 struct media_entity *entity; member 145 * @ent_enum: The entity enumeration tracker 157 * @list: Linked list associated with an entity or an interface that 169 * @entity: Part of a union. Used only if the second object (gobj1) is 170 * an entity. 187 struct media_entity *entity; member [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | entity-example.md | 1 # Entity-example 3 If your platform requires the entity container map, you can provide a json file 30 # Container Entity Id and Container Entity Instance = (0x13, 0x81) 31 # Contained Entity Id and Contained Entity Instance = (0x0A, 0x1), 33 # Entity Record id is the key 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 56 # Container Entity Id and Container Entity Instance = (0x18, 0x2) [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 16 #include <media/media-entity.h> 25 struct media_entity *entity; in v4l2_mc_create_media_graph() local 36 media_device_for_each_entity(entity, mdev) { in v4l2_mc_create_media_graph() 37 switch (entity->function) { in v4l2_mc_create_media_graph() 39 if_vid = entity; in v4l2_mc_create_media_graph() 42 if_aud = entity; in v4l2_mc_create_media_graph() 45 tuner = entity; in v4l2_mc_create_media_graph() 48 decoder = entity; in v4l2_mc_create_media_graph() 51 io_v4l = entity; in v4l2_mc_create_media_graph() 54 io_vbi = entity; in v4l2_mc_create_media_graph() [all …]
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-entity.c | 3 * Media entity 15 #include <media/media-entity.h> 99 "%s id %u: entity '%s'\n", in dev_dbg_obj() 123 pad->entity->name, pad->index); in dev_dbg_obj() 194 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument 197 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pads_init() 204 entity->num_pads = num_pads; in media_entity_pads_init() 205 entity->pads = pads; in media_entity_pads_init() 210 media_entity_for_each_pad(entity, iter) { in media_entity_pads_init() 211 iter->entity = entity; in media_entity_pads_init() [all …]
|
H A D | mc-device.c | 24 #include <media/media-entity.h> 83 struct media_entity *entity; in find_entity() local 88 media_device_for_each_entity(entity, mdev) { in find_entity() 89 if (((media_entity_id(entity) == id) && !next) || in find_entity() 90 ((media_entity_id(entity) > id) && next)) { in find_entity() 91 return entity; in find_entity() 121 * do the wrong thing if the entity function doesn't belong to in media_device_enum_entities() 146 upad->entity = media_entity_id(kpad->entity); in media_device_kpad_to_upad() 154 struct media_entity *entity; in media_device_enum_links() local 156 entity = find_entity(mdev, links->entity); in media_device_enum_links() [all …]
|
/openbmc/entity-manager/ |
H A D | README.md | 1 # Entity Manager 3 Entity manager is a design for managing physical system components, and mapping 10 ### Entity subsection 15 is referred to as an entity. 20 entity encompasses. 24 A particular feature of an Entity. An Entity generally will have multiple 30 A set of rules for detecting a given entity. Said rules generally take the form 35 Entity manager has the following goals (unless you can think of better ones): 45 A full BMC setup using Entity Manager consists of a few parts: 49 the Entity-Manager repo, and scans all available I2C buses for IPMI FRU [all …]
|
/openbmc/linux/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 49 * Continues upstream from the pad entity's sink pads. 55 struct media_entity *entity = srcpad->entity; in imx_media_add_vdev_to_pad() local 62 /* skip this entity if not a v4l2_subdev */ in imx_media_add_vdev_to_pad() 63 if (!is_media_entity_v4l2_subdev(entity)) in imx_media_add_vdev_to_pad() 66 sd = media_entity_to_v4l2_subdev(entity); in imx_media_add_vdev_to_pad() 71 entity->name, srcpad->index); in imx_media_add_vdev_to_pad() 74 * just skip this entity. in imx_media_add_vdev_to_pad() 86 vdev->vfd->entity.name, entity->name, srcpad->index); in imx_media_add_vdev_to_pad() 96 /* move upstream from this entity's sink pads */ in imx_media_add_vdev_to_pad() 97 for (i = 0; i < entity->num_pads; i++) { in imx_media_add_vdev_to_pad() [all …]
|
/openbmc/libpldm/src/dsp/ |
H A D | pdr.c | 457 pldm_entity entity; member 470 return node->entity; in pldm_entity_extract() 475 pldm_entity_node_get_remote_container_id(const pldm_entity_node *entity) in pldm_entity_node_get_remote_container_id() argument 477 assert(entity != NULL); in pldm_entity_node_get_remote_container_id() 479 return entity->remote_container_id; in pldm_entity_node_get_remote_container_id() 500 /* Insert after the the last node that matches the input entity type, or in find_insertion_at() 504 uint16_t this_type = start->entity.entity_type; in find_insertion_at() 507 (this_type != next->entity.entity_type)) { in find_insertion_at() 518 pldm_entity_association_tree *tree, pldm_entity *entity, in pldm_entity_association_tree_add() argument 522 return pldm_entity_association_tree_add_entity(tree, entity, in pldm_entity_association_tree_add() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Endpoint.v1_8_2.json | 55 "description": "The link to the associated entity.", 56 …"longDescription": "This property shall contain a link to an entity of the type specified by the d… 61 "description": "The PCI ID of the connected entity.", 62 … "longDescription": "This property shall contain the PCI ID of the connected PCIe entity." 73 "description": "The role of the connected entity.", 74 …"longDescription": "This property shall indicate if the specified entity is an initiator, target, … 86 "description": "The type of the connected entity.", 87 "longDescription": "This property shall indicate if type of connected entity.", 92 "description": "The Gen-Z related properties for the entity.", 93 … "longDescription": "This property shall contain the Gen-Z related properties for the entity.", [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | mc-core.rst | 21 An entity is a basic media hardware building block. It can correspond to 27 A pad is a connection endpoint through which an entity can interact with 28 other entities. Data (not restricted to video) produced by an entity 29 flows from the entity's output to one or more entity inputs. Pads should 33 on the same entity or on different entities. Data flows from a source 60 instance, defined in ``include/media/media-entity.h``. The structure is usually 65 Drivers initialize entity pads by calling 78 ``include/media/media-entity.h``. Currently, only one type of interface is 90 defined in ``include/media/media-entity.h``. Each entity stores its pads in 91 a pads array managed by the entity driver. Drivers usually embed the array in [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-enum-entities.rst | 34 To query the attributes of an entity, applications set the id field of a 44 about the entity with the smallest id strictly larger than the requested 45 one ('next entity'), or the ``EINVAL`` error code if there is none. 47 Entity IDs can be non-contiguous. Applications must *not* try to 63 - Entity ID, set by the application. When the ID is or'ed with 65 the first entity with a larger ID. Do not expect that the ID will 67 do not hardcode entity IDs in an application. 72 - Entity name as an UTF-8 NULL-terminated string. This name must be unique 78 - Entity type, see :ref:`media-entity-functions` for details. 83 - Entity revision. Always zero (obsolete) [all …]
|
H A D | media-types.rst | 10 .. _media-entity-functions: 50 .. flat-table:: Media entity functions 56 - Unknown entity. That generally indicates that a driver didn't 57 initialize properly the entity, which is a Kernel bug 60 - Data streaming input and/or output entity. 63 - V4L VBI streaming input or output entity 66 - V4L Software Digital Radio (SDR) streaming input or output entity 69 - DVB Digital TV streaming input or output entity 72 - Digital TV demodulator entity. 75 - MPEG Transport stream demux entity. Could be implemented on [all …]
|