Home
last modified time | relevance | path

Searched full:entity (Results 1 – 25 of 1107) sorted by relevance

12345678910>>...45

/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/
Dsched_entity.c37 * 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
49 * the entity
53 int drm_sched_entity_init(struct drm_sched_entity *entity, in drm_sched_entity_init() argument
59 if (!(entity && sched_list && (num_sched_list == 0 || sched_list[0]))) in drm_sched_entity_init()
62 memset(entity, 0, sizeof(struct drm_sched_entity)); in drm_sched_entity_init()
63 INIT_LIST_HEAD(&entity->list); in drm_sched_entity_init()
64 entity->rq = NULL; in drm_sched_entity_init()
[all …]
/kernel/linux/linux-4.19/block/
Dbfq-wf2q.c39 static unsigned int bfq_class_idx(struct bfq_entity *entity) in bfq_class_idx() argument
41 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_class_idx()
55 * @new_entity: if not NULL, pointer to the entity whose activation,
59 * expiration of the in-service entity
63 * extraction of an entity into/from one of the active trees of
68 * reposition an entity in its active tree; see comments on
71 * just activated or requeued entity.
74 * entity->parent may become the next_in_service for its parent
75 * entity.
87 * or repositiong of an entity that does not coincide with in bfq_update_next_in_service()
[all …]
/kernel/linux/linux-5.10/block/
Dbfq-wf2q.c30 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 …]
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_entity.c18 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 …]
Duvc_ctrl.c38 .entity = UVC_GUID_UVC_PROCESSING,
47 .entity = UVC_GUID_UVC_PROCESSING,
56 .entity = UVC_GUID_UVC_PROCESSING,
66 .entity = UVC_GUID_UVC_PROCESSING,
75 .entity = UVC_GUID_UVC_PROCESSING,
84 .entity = UVC_GUID_UVC_PROCESSING,
93 .entity = UVC_GUID_UVC_PROCESSING,
103 .entity = UVC_GUID_UVC_PROCESSING,
113 .entity = UVC_GUID_UVC_PROCESSING,
122 .entity = UVC_GUID_UVC_PROCESSING,
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/uvc/
Duvc_entity.c23 struct uvc_entity *entity) in uvc_mc_create_links() argument
30 sink = (UVC_ENTITY_TYPE(entity) == UVC_TT_STREAMING) in uvc_mc_create_links()
31 ? (entity->vdev ? &entity->vdev->entity : NULL) in uvc_mc_create_links()
32 : &entity->subdev.entity; in uvc_mc_create_links()
36 for (i = 0; i < entity->num_pads; ++i) { in uvc_mc_create_links()
41 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK)) in uvc_mc_create_links()
44 remote = uvc_entity_by_id(chain->dev, entity->baSourceID[i]); in uvc_mc_create_links()
49 ? (remote->vdev ? &remote->vdev->entity : NULL) in uvc_mc_create_links()
50 : &remote->subdev.entity; in uvc_mc_create_links()
67 void uvc_mc_cleanup_entity(struct uvc_entity *entity) in uvc_mc_cleanup_entity() argument
[all …]
Duvc_ctrl.c43 .entity = UVC_GUID_UVC_PROCESSING,
52 .entity = UVC_GUID_UVC_PROCESSING,
61 .entity = UVC_GUID_UVC_PROCESSING,
71 .entity = UVC_GUID_UVC_PROCESSING,
80 .entity = UVC_GUID_UVC_PROCESSING,
89 .entity = UVC_GUID_UVC_PROCESSING,
98 .entity = UVC_GUID_UVC_PROCESSING,
108 .entity = UVC_GUID_UVC_PROCESSING,
118 .entity = UVC_GUID_UVC_PROCESSING,
127 .entity = UVC_GUID_UVC_PROCESSING,
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/scheduler/
Dgpu_scheduler.c44 * The jobs in a entity are always scheduled in the order that they were pushed.
61 static bool drm_sched_entity_is_ready(struct drm_sched_entity *entity);
82 * drm_sched_rq_add_entity - add an entity
85 * @entity: scheduler entity
87 * Adds a scheduler entity to the run queue.
90 struct drm_sched_entity *entity) in drm_sched_rq_add_entity() argument
92 if (!list_empty(&entity->list)) in drm_sched_rq_add_entity()
95 list_add_tail(&entity->list, &rq->entities); in drm_sched_rq_add_entity()
100 * drm_sched_rq_remove_entity - remove an entity
103 * @entity: scheduler entity
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/vsp1/
Dvsp1_entity.c3 * 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 …]
Dvsp1_entity.h3 * 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 …]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_entity.c3 * 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 …]
Dvsp1_entity.h3 * 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 …]
/kernel/linux/linux-4.19/drivers/media/
Dmedia-entity.c2 * Media entity
23 #include <media/media-entity.h>
30 return "entity"; in gobj_type()
109 "%s id %u: entity '%s'\n", in dev_dbg_obj()
135 pad->entity->name, pad->index); in dev_dbg_obj()
206 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument
209 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pads_init()
215 entity->num_pads = num_pads; in media_entity_pads_init()
216 entity->pads = pads; in media_entity_pads_init()
222 pads[i].entity = entity; in media_entity_pads_init()
[all …]
Dmedia-device.c32 #include <media/media-entity.h>
90 struct media_entity *entity; in find_entity() local
95 media_device_for_each_entity(entity, mdev) { in find_entity()
96 if (((media_entity_id(entity) == id) && !next) || in find_entity()
97 ((media_entity_id(entity) > id) && next)) { in find_entity()
98 return entity; in find_entity()
128 * do the wrong thing if the entity function doesn't belong to in media_device_enum_entities()
153 upad->entity = media_entity_id(kpad->entity); in media_device_kpad_to_upad()
161 struct media_entity *entity; in media_device_enum_links() local
163 entity = find_entity(mdev, links->entity); in media_device_enum_links()
[all …]
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-entity.c3 * Media entity
14 #include <media/media-entity.h>
21 return "entity"; in gobj_type()
100 "%s id %u: entity '%s'\n", in dev_dbg_obj()
126 pad->entity->name, pad->index); in dev_dbg_obj()
197 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument
200 struct media_device *mdev = entity->graph_obj.mdev; in media_entity_pads_init()
206 entity->num_pads = num_pads; in media_entity_pads_init()
207 entity->pads = pads; in media_entity_pads_init()
213 pads[i].entity = entity; in media_entity_pads_init()
[all …]
Dmc-device.c24 #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 …]
/kernel/linux/linux-4.19/drivers/media/v4l2-core/
Dv4l2-mc.c16 #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 …]
/kernel/linux/linux-4.19/include/media/
Dmedia-entity.h2 * Media entity
34 * @MEDIA_GRAPH_ENTITY: Identify a media entity
76 * @bmap: Bit map in which each bit represents one entity at struct
91 * @stack.entity: pointer to &struct media_entity at the graph.
98 struct media_entity *entity; member
121 * @list: Linked list associated with an entity or an interface that
133 * @entity: Part of a union. Used only if the second object (gobj1) is
134 * an entity.
151 struct media_entity *entity; member
162 * @entity: Entity this pad belongs to
[all …]
/kernel/linux/linux-5.10/include/media/
Dmedia-entity.h3 * Media entity
26 * @MEDIA_GRAPH_ENTITY: Identify a media entity
68 * @bmap: Bit map in which each bit represents one entity at struct
83 * @stack.entity: pointer to &struct media_entity at the graph.
90 struct media_entity *entity; member
113 * @list: Linked list associated with an entity or an interface that
125 * @entity: Part of a union. Used only if the second object (gobj1) is
126 * an entity.
143 struct media_entity *entity; member
182 * @entity: Entity this pad belongs to
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-mc.c16 #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 …]
/kernel/linux/linux-4.19/Documentation/media/kapi/
Dmc-core.rst19 An entity is a basic media hardware building block. It can correspond to
25 A pad is a connection endpoint through which an entity can interact with
26 other entities. Data (not restricted to video) produced by an entity
27 flows from the entity's output to one or more entity inputs. Pads should
31 on the same entity or on different entities. Data flows from a source
51 instance, defined in ``include/media/media-entity.h``. The structure is usually
56 Drivers initialize entity pads by calling
69 ``include/media/media-entity.h``. Currently, only one type of interface is
81 defined in ``include/media/media-entity.h``. Each entity stores its pads in
82 a pads array managed by the entity driver. Drivers usually embed the array in
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-dev-common.c64 * Continues upstream from the pad entity's sink pads.
70 struct media_entity *entity = srcpad->entity; in imx_media_add_vdev_to_pad() local
77 /* skip this entity if not a v4l2_subdev */ in imx_media_add_vdev_to_pad()
78 if (!is_media_entity_v4l2_subdev(entity)) in imx_media_add_vdev_to_pad()
81 sd = media_entity_to_v4l2_subdev(entity); in imx_media_add_vdev_to_pad()
86 entity->name, srcpad->index); in imx_media_add_vdev_to_pad()
89 * just skip this entity. in imx_media_add_vdev_to_pad()
101 vdev->vfd->entity.name, entity->name, srcpad->index); in imx_media_add_vdev_to_pad()
111 /* move upstream from this entity's sink pads */ in imx_media_add_vdev_to_pad()
112 for (i = 0; i < entity->num_pads; i++) { in imx_media_add_vdev_to_pad()
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/xilinx/
Dxilinx-vipp.c34 * struct xvip_graph_entity - Entity in the video graph
36 * @node: the entity's DT node
37 * @entity: media entity, from the corresponding V4L2 subdev
44 struct media_entity *entity; member
58 struct xvip_graph_entity *entity; in xvip_graph_find_entity() local
60 list_for_each_entry(entity, &xdev->entities, list) { in xvip_graph_find_entity()
61 if (entity->node == node) in xvip_graph_find_entity()
62 return entity; in xvip_graph_find_entity()
69 struct xvip_graph_entity *entity) in xvip_graph_build_one() argument
72 struct media_entity *local = entity->entity; in xvip_graph_build_one()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dmc-core.rst21 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
53 instance, defined in ``include/media/media-entity.h``. The structure is usually
58 Drivers initialize entity pads by calling
71 ``include/media/media-entity.h``. Currently, only one type of interface is
83 defined in ``include/media/media-entity.h``. Each entity stores its pads in
84 a pads array managed by the entity driver. Drivers usually embed the array in
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/vimc/
Dvimc-streamer.c17 * vimc_get_source_entity - get the entity connected with the first sink pad
21 * Helper function that returns the media entity containing the source pad
22 * linked with the first sink pad from the given media entity pad list.
33 return pad ? pad->entity : NULL; in vimc_get_source_entity()
44 * Calls s_stream to disable the stream in each entity of the pipeline
49 struct media_entity *entity; in vimc_streamer_pipeline_terminate() local
54 entity = stream->ved_pipeline[stream->pipe_size]->ent; in vimc_streamer_pipeline_terminate()
55 entity = vimc_get_source_entity(entity); in vimc_streamer_pipeline_terminate()
58 if (!is_media_entity_v4l2_subdev(entity)) in vimc_streamer_pipeline_terminate()
61 sd = media_entity_to_v4l2_subdev(entity); in vimc_streamer_pipeline_terminate()
[all …]

12345678910>>...45