Home
last modified time | relevance | path

Searched full:entities (Results 1 – 25 of 206) sorted by relevance

123456789

/Linux-v5.15/Documentation/driver-api/media/
Dmc-core.rst18 modelled as an oriented graph of building blocks called entities connected
28 other entities. Data (not restricted to video) produced by an entity
33 on the same entity or on different entities. Data flows from a source
49 Entities subsection
52 Entities are represented by a struct media_entity
56 instances, although drivers can allocate entities directly.
61 Drivers register entities with a media device by calling
112 Associate two entities via their PADs. Each entity has a list that points
140 The media framework provides APIs to iterate over entities in a graph.
142 To iterate over all entities belonging to a media device, drivers can use
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/
Dmsm_submitqueue.c16 for (i = 0; i < ARRAY_SIZE(ctx->entities); i++) { in __msm_file_private_destroy()
17 if (!ctx->entities[i]) in __msm_file_private_destroy()
20 drm_sched_entity_destroy(ctx->entities[i]); in __msm_file_private_destroy()
21 kfree(ctx->entities[i]); in __msm_file_private_destroy()
90 if (WARN_ON(idx >= ARRAY_SIZE(ctx->entities))) in get_sched_entity()
95 if (!ctx->entities[idx]) { in get_sched_entity()
100 entity = kzalloc(sizeof(*ctx->entities[idx]), GFP_KERNEL); in get_sched_entity()
108 ctx->entities[idx] = entity; in get_sched_entity()
113 return ctx->entities[idx]; in get_sched_entity()
/Linux-v5.15/include/media/
Dmedia-device.h31 * Drivers may register a callback to take action when new entities get
33 * links between existing entities and should not create entities and register
92 * @entities: List of registered entities
111 * access to entities and provides basic media device-level support. The
161 struct list_head entities; member
310 * Entities are identified by a unique positive integer ID. The media
314 * to the entities, but, instead, use the framework to find the ID, when
318 * calling media_device_register_entity(). Entities embedded in higher-level
326 * Entities have flags that describe the entity capabilities and state:
350 * Unregistering an entity will not change the IDs of the other entities and
[all …]
Dv4l2-mc.h28 * Add links between the entities commonly found on PC customer's hardware at
30 * analog TV decoder and I/O entities (video, VBI and Software Defined Radio).
146 * Update the use count of all entities in the pipeline and power entities on.
160 * Update the use count of all entities in the pipeline and power entities off.
176 * all entities in the source and sink sides of the link. Entities are powered
180 * Return 0 on success or a negative error code on failure. Powering entities
Dmedia-entity.h66 * struct media_entity_enum - An enumeration of media entities.
81 * on the path the media entities to be walked and the
85 * @ent_enum: Visited entities
238 * This allows runtime type identification of media entities and safe casting to
266 * re-used if entities are unregistered or registered again.
324 * @links: List of links pointing to graph entities
434 * @idx_max: Maximum number of entities in the enumeration
685 * media_create_pad_link() - creates a link between two entities.
717 * media_create_pad_links() - creates a link between two entities.
720 * @source_function: Function of the source entities. Used only if @source is
[all …]
/Linux-v5.15/drivers/media/platform/vsp1/
Dvsp1_drv.c72 * Entities
82 * - from a UDS to a UDS (UDS entities can't be chained)
97 list_for_each_entry(source, &vsp1->entities, list_dev) { in vsp1_create_sink_links()
138 list_for_each_entry(entity, &vsp1->entities, list_dev) { in vsp1_uapi_create_links()
216 list_for_each_entry_safe(entity, _entity, &vsp1->entities, list_dev) { in vsp1_destroy_entities()
267 /* Instantiate all the entities. */ in vsp1_create_entities()
275 list_add_tail(&vsp1->brs->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
285 list_add_tail(&vsp1->bru->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
295 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
304 list_add_tail(&vsp1->hsi->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
[all …]
Dvsp1_drm.c60 * Insert the UIF in the pipeline between the prev and next entities. If no UIF
61 * is available connect the two entities directly.
75 * next entities directly. in vsp1_du_insert_uif()
266 * of entities for this pipeline. The other pipeline's in vsp1_du_pipeline_setup_brx()
274 * pointer to add it back to the list of entities later in vsp1_du_pipeline_setup_brx()
312 * by the other pipeline, add it back to the entities list (with in vsp1_du_pipeline_setup_brx()
318 &pipe->entities); in vsp1_du_pipeline_setup_brx()
329 list_add_tail(&pipe->brx->list_pipe, &pipe->entities); in vsp1_du_pipeline_setup_brx()
423 list_add_tail(&rpf->entity.list_pipe, &pipe->entities); in vsp1_du_pipeline_setup_inputs()
461 * hardware pipeline and from the pipeline's list of entities. Otherwise in vsp1_du_pipeline_setup_inputs()
[all …]
Dvsp1_pipe.h104 * @entities: list of entities in the pipeline
138 * The order of this list must be identical to the order of the entities
142 struct list_head entities; member
Dvsp1_pipe.c261 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_pipeline_reset()
264 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_reset()
282 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_init()
342 list_for_each_entry(entity, &pipe->entities, list_pipe) { in vsp1_pipeline_stop()
444 list_for_each_entry_reverse(entity, &pipe->entities, list_pipe) { in vsp1_pipeline_propagate_partition()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c132 ctx->entities[hw_ip][ring] = entity; in amdgpu_ctx_init_entity()
194 amdgpu_ctx_fini_entity(ctx->entities[i][j]); in amdgpu_ctx_fini()
195 ctx->entities[i][j] = NULL; in amdgpu_ctx_fini()
224 if (ctx->entities[hw_ip][ring] == NULL) { in amdgpu_ctx_get_entity()
230 *entity = &ctx->entities[hw_ip][ring]->entity; in amdgpu_ctx_get_entity()
275 if (!ctx->entities[i][j]) in amdgpu_ctx_do_release()
278 drm_sched_entity_destroy(&ctx->entities[i][j]->entity); in amdgpu_ctx_do_release()
554 if (!ctx->entities[i][j]) in amdgpu_ctx_priority_override()
557 amdgpu_ctx_set_entity_priority(ctx, ctx->entities[i][j], in amdgpu_ctx_priority_override()
607 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_flush()
[all …]
/Linux-v5.15/Documentation/networking/devlink/
Ddevlink-reload.rst7 ``devlink-reload`` provides mechanism to reinit driver entities, applying
23 - Devlink driver entities re-initialization, including applying
24 new values to devlink entities which are used during driver
72 # Run reload command for devlink driver entities re-initialization:
Dmlx5.rst36 steering entities are created and managed through firmware.
38 steering entities are created and manage through the driver without
/Linux-v5.15/include/drm/
Dgpu_scheduler.h53 * @list: used to append this struct to the list of entities in the
80 * Entities will emit jobs in order to their corresponding hardware
81 * ring, and the scheduler will alternate between entities based on
107 * struct drm_sched_rq - queue of entities to be scheduled.
109 * @lock: to modify the entities list.
111 * @entities: list of the entities to be scheduled.
114 * Run queue is a set of entities scheduling command submissions for
121 struct list_head entities; member
/Linux-v5.15/Documentation/userspace-api/media/mediactl/
Dmedia-controller-model.rst22 controls one or more entities in the graph.
25 interact with other entities. Data (not restricted to video) produced
31 pads, either on the same entity or on different entities. Data flows
Dmedia-ioc-enum-entities.rst13 MEDIA_IOC_ENUM_ENTITIES - Enumerate entities and their properties
42 Entities can be enumerated by or'ing the id with the
48 enumerate entities by calling MEDIA_IOC_ENUM_ENTITIES with increasing
Dmedia-ioc-g-topology.rst38 ``topology_version`` and the total number of entities, interfaces, pads
66 - Number of entities in the graph
74 - A pointer to a memory area where the entities array will be
76 the ioctl won't store the entities. It will just update
/Linux-v5.15/include/rdma/
Drestrack.h94 * There are two types of entities: created by user and created
97 * This is relevant for the entities created by users.
98 * For the entities created by kernel, this pointer will be NULL.
102 * @kern_name: name of owner for the kernel created entities.
/Linux-v5.15/drivers/media/v4l2-core/
Dv4l2-mc.c410 * Entities must be powered up when part of a pipeline that contains at least
414 * For entities corresponding to video device nodes the use_count field stores
415 * the users count of the node. For entities corresponding to subdevs the
421 * count of all subdev entities in the pipeline.
424 * callback updates the use count of all entities in the source and sink sides
484 * pipeline_pm_power - Apply power change to all entities in a pipeline
489 * entities.
551 /* Powering off entities shouldn't fail. */ in v4l2_pipeline_pm_put()
571 /* Powering off entities is assumed to never fail. */ in v4l2_pipeline_link_notify()
/Linux-v5.15/Documentation/admin-guide/media/
Drkisp1.rst63 Those entities are the DMA engines that write the frames to memory.
75 Those are resizer entities for the mainpath and the selfpath. Those entities
78 The resizers entities can only operate on YUV:4:2:2 format
89 connected to the sensor and on source pad 2 connected to the resizer entities.
193 Note that the resizer and capture entities will always report
Dimx.rst87 video capture interfaces using independent entities.
134 Entities section in i.MX Video Capture Driver
168 single source pad that routes to a CSI (ipuX_csiY entities).
170 On i.MX6 solo/dual-lite, there are two video mux entities. One sits
177 On i.MX6 Quad, there are two video mux entities. One sits in front of
186 These are the CSI entities. They have a single sink pad receiving from
229 implemented in the ipuX_csiY entities at the sink pad, using the
233 width and height. This is implemented in the ipuX_csiY entities at
399 capture device interfaces inherit controls from the active entities
/Linux-v5.15/drivers/gpu/drm/scheduler/
Dsched_main.c27 * The GPU scheduler provides entities which allow userspace to push jobs
29 * The software queues have a priority among them. The scheduler selects the entities
40 * 3. Each scheduler run queue has a queue of entities to schedule
41 * 4. Entities themselves maintain a queue of jobs that will be scheduled on
75 INIT_LIST_HEAD(&rq->entities); in drm_sched_rq_init()
95 list_add_tail(&entity->list, &rq->entities); in drm_sched_rq_add_entity()
136 list_for_each_entry_continue(entity, &rq->entities, list) { in drm_sched_rq_select_entity()
146 list_for_each_entry(entity, &rq->entities, list) { in drm_sched_rq_select_entity()
919 list_for_each_entry(s_entity, &rq->entities, list) in drm_sched_fini()
969 list_for_each_entry_safe(entity, tmp, &rq->entities, list) { in drm_sched_increase_karma_ext()
[all …]
/Linux-v5.15/drivers/media/test-drivers/vimc/
Dvimc-streamer.h22 * @ved_pipeline: array containing all the entities participating in the
31 * used to keep track of all entities and subdevices that generates and
/Linux-v5.15/block/
Dbfq-iosched.h48 /* tree for active entities (i.e., those backlogged) */
50 /* tree for idle entities (i.e., not backlogged, with V < F_i)*/
60 /* scheduler weight sum; active and idle entities contribute to it */
87 * service among the other active entities in the same parent
124 * hierarchy. Non-leaf entities have also their own sched_data, stored
201 /* last child queue of entity created (for non-leaf entities) */
520 * pending-request counter must be added to entities, and must
890 * @sched_data: own sched_data, to contain child entities (they may be
901 * @active_entities: number of active entities belonging to the group;
912 * entities belonging to the group that are acting on the same device.
[all …]
Dbfq-wf2q.c5 * scheduler schedules generic entities. The latter can represent
62 * activations/deactivations of entities, with some activations being
215 * actual number of active children entities: it happens to in bfq_no_longer_next_in_service()
223 * actual number of active entities. in bfq_no_longer_next_in_service()
679 * the last finish time of idle entities. in bfq_forget_idle()
817 * NOTE: this can be optimized, as the timestamps of upper level entities
1047 * changed because one of its child entities has in __bfq_requeue_entity()
1226 * nothing to change for upper-level entities in bfq_deactivate_entity()
1275 * need parent entities too to be removed completely. in bfq_deactivate_entity()
1282 * no more entities to touch and next loop is not executed at in bfq_deactivate_entity()
[all …]
/Linux-v5.15/drivers/media/usb/uvc/
Duvc_driver.c416 list_for_each_entry(entity, &dev->entities, list) { in uvc_entity_by_id()
430 entity = list_entry(&dev->entities, struct uvc_entity, list); in uvc_entity_by_reference()
432 list_for_each_entry_continue(entity, &dev->entities, list) { in uvc_entity_by_reference()
1160 list_add_tail(&unit->list, &dev->entities); in uvc_parse_vendor_control()
1291 list_add_tail(&term->list, &dev->entities); in uvc_parse_standard_control()
1327 list_add_tail(&term->list, &dev->entities); in uvc_parse_standard_control()
1352 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1385 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1416 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1492 /* GPIO entities are always on the first chain. */ in uvc_gpio_event()
[all …]

123456789