Home
last modified time | relevance | path

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

12345678910

/linux-6.12.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 chapter
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
148 entities and links.
150 To iterate over all entities belonging to a media device, drivers can use
[all …]
/linux-6.12.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
30 Other devlink entities may stay over the re-initialization:
35 The rest of the devlink entities have to be removed and readded.
81 # Run reload command for devlink driver entities re-initialization:
/linux-6.12.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).
149 * Update the use count of all entities in the pipeline and power entities on.
166 * Update the use count of all entities in the pipeline and power entities off.
185 * all entities in the source and sink sides of the link. Entities are powered
189 * 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
304 * This allows runtime type identification of media entities and safe casting to
332 * re-used if entities are unregistered or registered again.
392 * @links: List of links pointing to graph entities
757 * media_create_pad_link() - creates a link between two entities.
789 * media_create_pad_links() - creates a link between two entities.
792 * @source_function: Function of the source entities. Used only if @source is
795 * all entities that matches the @sink_function.
[all …]
/linux-6.12.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-6.12.1/drivers/media/platform/renesas/vsp1/
Dvsp1_drv.c81 * Entities
91 * - from a UDS to a UDS (UDS entities can't be chained)
106 list_for_each_entry(source, &vsp1->entities, list_dev) { in vsp1_create_sink_links()
147 list_for_each_entry(entity, &vsp1->entities, list_dev) { in vsp1_uapi_create_links()
225 list_for_each_entry_safe(entity, _entity, &vsp1->entities, list_dev) { in vsp1_destroy_entities()
274 /* Instantiate all the entities. */ in vsp1_create_entities()
282 list_add_tail(&vsp1->brs->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
292 list_add_tail(&vsp1->bru->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
302 list_add_tail(&vsp1->clu->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
311 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.
77 * 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()
427 list_add(&rpf->entity.list_pipe, &pipe->entities); in vsp1_du_pipeline_setup_inputs()
469 * hardware pipeline and from the pipeline's list of entities. Otherwise in vsp1_du_pipeline_setup_inputs()
470 * make sure it is present in the pipeline's list of entities if it in vsp1_du_pipeline_setup_inputs()
[all …]
Dvsp1_pipe.h94 * @entities: list of entities in the pipeline
127 * The order of this list must be identical to the order of the entities
131 struct list_head entities; member
Dvsp1_pipe.c279 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_pipeline_reset()
282 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_reset()
300 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_init()
313 list_for_each_entry(entity, &pipe->entities, list_pipe) { in __vsp1_pipeline_dump()
382 list_for_each_entry(entity, &pipe->entities, list_pipe) { in vsp1_pipeline_stop()
488 list_for_each_entry_reverse(entity, &pipe->entities, list_pipe) { in vsp1_pipeline_propagate_partition()
/linux-6.12.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-6.12.1/include/drm/
Dgpu_scheduler.h84 * Entities will emit jobs in order to their corresponding hardware
85 * ring, and the scheduler will alternate between entities based on
92 * Used to append this struct to the list of entities in the runqueue
93 * @rq under &drm_sched_rq.entities.
192 * Points to entities' guilty.
244 * struct drm_sched_rq - queue of entities to be scheduled.
246 * @lock: to modify the entities list.
248 * @entities: list of the entities to be scheduled.
250 * @rb_tree_root: root of time based priory queue of entities for FIFO scheduling
252 * Run queue is a set of entities scheduling command submissions for
[all …]
/linux-6.12.1/include/rdma/
Drestrack.h97 * There are two types of entities: created by user and created
100 * This is relevant for the entities created by users.
101 * For the entities created by kernel, this pointer will be NULL.
105 * @kern_name: name of owner for the kernel created entities.
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c258 if (cmpxchg(&ctx->entities[hw_ip][ring], NULL, entity)) in amdgpu_ctx_init_entity()
421 spend = amdgpu_ctx_fini_entity(adev, ctx->entities[i][j]); in amdgpu_ctx_fini()
456 if (ctx->entities[hw_ip][ring] == NULL) { in amdgpu_ctx_get_entity()
462 ctx_entity = &ctx->entities[hw_ip][ring]->entity; in amdgpu_ctx_get_entity()
514 if (!ctx->entities[i][j]) in amdgpu_ctx_do_release()
517 drm_sched_entity_destroy(&ctx->entities[i][j]->entity); in amdgpu_ctx_do_release()
850 if (!ctx->entities[i][j]) in amdgpu_ctx_priority_override()
853 amdgpu_ctx_set_entity_priority(ctx, ctx->entities[i][j], in amdgpu_ctx_priority_override()
910 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_flush()
913 entity = &ctx->entities[i][j]->entity; in amdgpu_ctx_mgr_entity_flush()
[all …]
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-mc.c433 * Entities must be powered up when part of a pipeline that contains at least
437 * For entities corresponding to video device nodes the use_count field stores
438 * the users count of the node. For entities corresponding to subdevs the
444 * count of all subdev entities in the pipeline.
447 * callback updates the use count of all entities in the source and sink sides
507 * pipeline_pm_power - Apply power change to all entities in a pipeline
512 * entities.
574 /* Powering off entities shouldn't fail. */ in v4l2_pipeline_pm_put()
594 /* Powering off entities is assumed to never fail. */ in v4l2_pipeline_link_notify()
/linux-6.12.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.
200 Note that the resizer and capture entities will always report
Dimx.rst87 video capture interfaces using independent entities.
134 Entities chapter
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-6.12.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-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_pci.h65 * @md_pm_entities: list of pm entities
87 struct mutex md_pm_entity_mtx; /* Protects MD PM entities list */
107 * @entity: list of PM Entities
/linux-6.12.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
46 * Note that once a job was taken from the entities queue and pushed to the
55 * in which the jobs fetched from scheduler entities are executed.
103 * Used to override default entities scheduling policy in a run queue.
105 MODULE_PARM_DESC(sched_policy, "Specify the scheduling policy for entities on a run-queue, " __stri…
205 INIT_LIST_HEAD(&rq->entities); in drm_sched_rq_init()
228 list_add_tail(&entity->list, &rq->entities); in drm_sched_rq_add_entity()
[all …]
/linux-6.12.1/drivers/media/usb/uvc/
Duvc_driver.c138 list_for_each_entry(entity, &dev->entities, list) { in uvc_entity_by_id()
152 entity = list_entry(&dev->entities, struct uvc_entity, list); in uvc_entity_by_reference()
154 list_for_each_entry_continue(entity, &dev->entities, list) { in uvc_entity_by_reference()
923 list_add_tail(&unit->list, &dev->entities); in uvc_parse_vendor_control()
1054 list_add_tail(&term->list, &dev->entities); in uvc_parse_standard_control()
1087 list_add_tail(&term->list, &dev->entities); in uvc_parse_standard_control()
1108 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1137 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1164 list_add_tail(&unit->list, &dev->entities); in uvc_parse_standard_control()
1243 /* GPIO entities are always on the first chain. */ in uvc_gpio_event()
[all …]
/linux-6.12.1/block/
Dbfq-wf2q.c5 * scheduler schedules generic entities. The latter can represent
62 * activations/deactivations of entities, with some activations being
205 * actual number of active children entities: it happens to in bfq_no_longer_next_in_service()
213 * actual number of active entities. in bfq_no_longer_next_in_service()
665 * the last finish time of idle entities. in bfq_forget_idle()
783 * NOTE: this can be optimized, as the timestamps of upper level entities
1000 * changed because one of its child entities has in __bfq_requeue_entity()
1175 * nothing to change for upper-level entities in bfq_deactivate_entity()
1224 * need parent entities too to be removed completely. in bfq_deactivate_entity()
1231 * no more entities to touch and next loop is not executed at in bfq_deactivate_entity()
[all …]
Dbfq-iosched.h54 /* tree for active entities (i.e., those backlogged) */
56 /* tree for idle entities (i.e., not backlogged, with V < F_i)*/
66 /* scheduler weight sum; active and idle entities contribute to it */
93 * service among the other active entities in the same parent
130 * hierarchy. Non-leaf entities have also their own sched_data, stored
212 /* last child queue of entity created (for non-leaf entities) */
557 * pending-request counter must be added to entities, and must
973 * @sched_data: own sched_data, to contain child entities (they may be
984 * @active_entities: number of active entities belonging to the group;
995 * entities belonging to the group that are acting on the same device.
[all …]

12345678910