Home
last modified time | relevance | path

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

123456789

/Linux-v6.1/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
56 Entities subsection
59 Entities are represented by a struct media_entity
63 instances, although drivers can allocate entities directly.
68 Drivers register entities with a media device by calling
119 Associate two entities via their PADs. Each entity has a list that points
147 The media framework provides APIs to iterate over entities in a graph.
149 To iterate over all entities belonging to a media device, drivers can use
[all …]
/Linux-v6.1/include/media/
Dmedia-device.h32 * Drivers may register a callback to take action when new entities get
34 * links between existing entities and should not create entities and register
93 * @entities: List of registered entities
112 * access to entities and provides basic media device-level support. The
162 struct list_head entities; member
301 * Entities are identified by a unique positive integer ID. The media
305 * to the entities, but, instead, use the framework to find the ID, when
309 * calling media_device_register_entity(). Entities embedded in higher-level
317 * Entities have flags that describe the entity capabilities and state:
341 * 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.h68 * struct media_entity_enum - An enumeration of media entities.
83 * on the path the media entities to be walked and the
87 * @ent_enum: Visited entities
280 * This allows runtime type identification of media entities and safe casting to
308 * re-used if entities are unregistered or registered again.
372 * @links: List of links pointing to graph entities
737 * media_create_pad_link() - creates a link between two entities.
769 * media_create_pad_links() - creates a link between two entities.
772 * @source_function: Function of the source entities. Used only if @source is
775 * all entities that matches the @sink_function.
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_submitqueue.c55 for (i = 0; i < ARRAY_SIZE(ctx->entities); i++) { in __msm_file_private_destroy()
56 if (!ctx->entities[i]) in __msm_file_private_destroy()
59 drm_sched_entity_destroy(ctx->entities[i]); in __msm_file_private_destroy()
60 kfree(ctx->entities[i]); in __msm_file_private_destroy()
131 if (WARN_ON(idx >= ARRAY_SIZE(ctx->entities))) in get_sched_entity()
136 if (!ctx->entities[idx]) { in get_sched_entity()
141 entity = kzalloc(sizeof(*ctx->entities[idx]), GFP_KERNEL); in get_sched_entity()
150 ctx->entities[idx] = entity; in get_sched_entity()
155 return ctx->entities[idx]; in get_sched_entity()
/Linux-v6.1/drivers/media/platform/renesas/vsp1/
Dvsp1_drv.c73 * Entities
83 * - from a UDS to a UDS (UDS entities can't be chained)
98 list_for_each_entry(source, &vsp1->entities, list_dev) { in vsp1_create_sink_links()
139 list_for_each_entry(entity, &vsp1->entities, list_dev) { in vsp1_uapi_create_links()
217 list_for_each_entry_safe(entity, _entity, &vsp1->entities, list_dev) { in vsp1_destroy_entities()
266 /* Instantiate all the entities. */ in vsp1_create_entities()
274 list_add_tail(&vsp1->brs->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
284 list_add_tail(&vsp1->bru->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
294 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
303 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()
465 * 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-v6.1/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
38 entities form a single logical unit. For example this could represent the
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-v6.1/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.rst47 steering entities are created and managed through firmware.
49 steering entities are created and manage through the driver without
/Linux-v6.1/include/drm/
Dgpu_scheduler.h66 * Entities will emit jobs in order to their corresponding hardware
67 * ring, and the scheduler will alternate between entities based on
74 * Used to append this struct to the list of entities in the runqueue
75 * @rq under &drm_sched_rq.entities.
174 * Points to entities' guilty.
211 * struct drm_sched_rq - queue of entities to be scheduled.
213 * @lock: to modify the entities list.
215 * @entities: list of the entities to be scheduled.
218 * Run queue is a set of entities scheduling command submissions for
225 struct list_head entities; member
/Linux-v6.1/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-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c244 if (cmpxchg(&ctx->entities[hw_ip][ring], NULL, entity)) in amdgpu_ctx_init_entity()
402 spend = amdgpu_ctx_fini_entity(ctx->entities[i][j]); in amdgpu_ctx_fini()
436 if (ctx->entities[hw_ip][ring] == NULL) { in amdgpu_ctx_get_entity()
442 *entity = &ctx->entities[hw_ip][ring]->entity; in amdgpu_ctx_get_entity()
487 if (!ctx->entities[i][j]) in amdgpu_ctx_do_release()
490 drm_sched_entity_destroy(&ctx->entities[i][j]->entity); in amdgpu_ctx_do_release()
812 if (!ctx->entities[i][j]) in amdgpu_ctx_priority_override()
815 amdgpu_ctx_set_entity_priority(ctx, ctx->entities[i][j], in amdgpu_ctx_priority_override()
872 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_flush()
875 entity = &ctx->entities[i][j]->entity; in amdgpu_ctx_mgr_entity_flush()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/drivers/net/wwan/t7xx/
Dt7xx_pci.h55 * @md_pm_entities: list of pm entities
75 struct mutex md_pm_entity_mtx; /* Protects MD PM entities list */
91 * @entity: list of PM Entities
/Linux-v6.1/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-v6.1/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
77 INIT_LIST_HEAD(&rq->entities); in drm_sched_rq_init()
97 list_add_tail(&entity->list, &rq->entities); in drm_sched_rq_add_entity()
138 list_for_each_entry_continue(entity, &rq->entities, list) { in drm_sched_rq_select_entity()
148 list_for_each_entry(entity, &rq->entities, list) { in drm_sched_rq_select_entity()
1063 list_for_each_entry(s_entity, &rq->entities, list) in drm_sched_fini()
1113 list_for_each_entry_safe(entity, tmp, &rq->entities, list) { in drm_sched_increase_karma_ext()
[all …]
/Linux-v6.1/drivers/media/usb/uvc/
Duvc_driver.c136 list_for_each_entry(entity, &dev->entities, list) { in uvc_entity_by_id()
150 entity = list_entry(&dev->entities, struct uvc_entity, list); in uvc_entity_by_reference()
152 list_for_each_entry_continue(entity, &dev->entities, list) { in uvc_entity_by_reference()
888 list_add_tail(&unit->list, &dev->entities); in uvc_parse_vendor_control()
1019 list_add_tail(&term->list, &dev->entities); in uvc_parse_standard_control()
1056 list_add_tail(&term->list, &dev->entities); in uvc_parse_standard_control()
1081 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1114 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1145 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1223 /* GPIO entities are always on the first chain. */ in uvc_gpio_event()
[all …]
/Linux-v6.1/block/
Dbfq-iosched.h47 /* tree for active entities (i.e., those backlogged) */
49 /* tree for idle entities (i.e., not backlogged, with V < F_i)*/
59 /* scheduler weight sum; active and idle entities contribute to it */
86 * service among the other active entities in the same parent
123 * hierarchy. Non-leaf entities have also their own sched_data, stored
203 /* last child queue of entity created (for non-leaf entities) */
519 * 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 …]

123456789