Home
last modified time | relevance | path

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

12345678910>>...16

/linux/block/
H A 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 …]
H A Dbfq-cgroup.c324 struct bfq_entity *group_entity = bfqq->entity.parent; in bfqg_put()
327 entity) :
438 void bfq_init_entity(struct bfq_entity *entity, struct bfq_group *bfqg) in bfqg_stats_exit()
440 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfqg_stats_exit()
442 entity->weight = entity->new_weight; in bfqg_stats_exit()
443 entity->orig_weight = entity->new_weight; in bfqg_stats_exit()
449 * disappear before entity. in bfqg_stats_exit()
453 entity in bfqg_stats_exit()
417 bfq_init_entity(struct bfq_entity * entity,struct bfq_group * bfqg) bfq_init_entity() argument
534 struct bfq_entity *entity = &bfqg->entity; bfq_pd_init() local
569 struct bfq_entity *entity; bfq_group_set_parent() local
579 struct bfq_entity *entity; bfq_link_bfqg() local
638 struct bfq_entity *entity = &bfqq->entity; bfq_bfqq_move() local
804 struct bfq_entity *entity = st->first_idle; bfq_flush_idle_tree() local
818 bfq_reparent_leaf_entity(struct bfq_data * bfqd,struct bfq_entity * entity,int ioprio_class) bfq_reparent_leaf_entity() argument
853 struct bfq_entity *entity; bfq_reparent_active_queues() local
877 struct bfq_entity *entity = bfqg->my_entity; bfq_pd_offline() local
1394 bfq_init_entity(struct bfq_entity * entity,struct bfq_group * bfqg) bfq_init_entity() argument
[all...]
H A Dbfq-iosched.h59 /* idle entity with minimum F_i */
61 /* idle entity with maximum F_i */
84 * @next_in_service, which points to the entity on the active trees
86 * before the current in-service entity is expired, 2) the in-service
87 * queue becomes idle when it expires, and 3) if the entity pointed by
88 * in_service_entity is not a queue, then the in-service child entity
89 * of the entity pointed by in_service_entity becomes idle on
91 * optimization, not yet exploited: while a given entity is still in
94 * entity. We can then quickly compare the timestamps of the
95 * in-service entity with those of such best candidate.
[all …]
/linux/drivers/gpu/drm/scheduler/
H A Dsched_entity.c36 * drm_sched_entity_stats_release - Entity stats kref release function
37 * @kref: Entity stats embedded kref pointer
68 * drm_sched_entity_stats_job_add_gpu_time - Account job execution time to entity in drm_sched_entity_init()
71 * Accounts the execution time of @job to its respective entity stats object. in drm_sched_entity_init()
94 * drm_sched_entity_init - Init a context entity used by scheduler when in drm_sched_entity_init()
97 * @entity: scheduler entity to init in drm_sched_entity_init()
98 * @priority: priority of the entity in drm_sched_entity_init()
100 * entity can be submitted in drm_sched_entity_init()
105 * Note that the &sched_list must have at least one element to schedule the entity in drm_sched_entity_init()
58 drm_sched_entity_init(struct drm_sched_entity * entity,enum drm_sched_priority priority,struct drm_gpu_scheduler ** sched_list,unsigned int num_sched_list,atomic_t * guilty) drm_sched_entity_init() argument
130 drm_sched_entity_modify_sched(struct drm_sched_entity * entity,struct drm_gpu_scheduler ** sched_list,unsigned int num_sched_list) drm_sched_entity_modify_sched() argument
143 drm_sched_entity_is_idle(struct drm_sched_entity * entity) drm_sched_entity_is_idle() argument
162 drm_sched_entity_error(struct drm_sched_entity * entity) drm_sched_entity_error() argument
232 drm_sched_entity_kill(struct drm_sched_entity * entity) drm_sched_entity_kill() argument
283 drm_sched_entity_flush(struct drm_sched_entity * entity,long timeout) drm_sched_entity_flush() argument
329 drm_sched_entity_fini(struct drm_sched_entity * entity) drm_sched_entity_fini() argument
356 drm_sched_entity_destroy(struct drm_sched_entity * entity) drm_sched_entity_destroy() argument
370 struct drm_sched_entity *entity = drm_sched_entity_wakeup() local
386 drm_sched_entity_set_priority(struct drm_sched_entity * entity,enum drm_sched_priority priority) drm_sched_entity_set_priority() argument
399 drm_sched_entity_add_dependency_cb(struct drm_sched_entity * entity,struct drm_sched_job * sched_job) drm_sched_entity_add_dependency_cb() argument
444 drm_sched_job_dependency(struct drm_sched_job * job,struct drm_sched_entity * entity) drm_sched_job_dependency() argument
464 drm_sched_entity_pop_job(struct drm_sched_entity * entity) drm_sched_entity_pop_job() argument
525 drm_sched_entity_select_rq(struct drm_sched_entity * entity) drm_sched_entity_select_rq() argument
578 struct drm_sched_entity *entity = sched_job->entity; drm_sched_entity_push_job() local
[all...]
H A Dsched_main.c44 * The jobs in an entity are always scheduled in the order in which they were pushed.
47 * hardware, i.e. the pending queue, the entity must not be referenced anymore
48 * through the jobs entity pointer.
101 * @entity: the scheduler entity in drm_sched_available_credits()
103 * Return true if we can push at least one more job from @entity, false in drm_sched_available_credits()
107 struct drm_sched_entity *entity)
111 s_job = drm_sched_entity_queue_peek(entity);
562 * @entity: scheduler entity t in drm_sched_job_timedout()
116 drm_sched_can_queue(struct drm_gpu_scheduler * sched,struct drm_sched_entity * entity) drm_sched_can_queue() argument
145 drm_sched_rq_remove_fifo_locked(struct drm_sched_entity * entity,struct drm_sched_rq * rq) drm_sched_rq_remove_fifo_locked() argument
154 drm_sched_rq_update_fifo_locked(struct drm_sched_entity * entity,struct drm_sched_rq * rq,ktime_t ts) drm_sched_rq_update_fifo_locked() argument
201 drm_sched_rq_add_entity(struct drm_sched_rq * rq,struct drm_sched_entity * entity) drm_sched_rq_add_entity() argument
222 drm_sched_rq_remove_entity(struct drm_sched_rq * rq,struct drm_sched_entity * entity) drm_sched_rq_remove_entity() argument
259 struct drm_sched_entity *entity; drm_sched_rq_select_entity_rr() local
320 struct drm_sched_entity *entity; drm_sched_rq_select_entity_fifo() local
801 drm_sched_job_init(struct drm_sched_job * job,struct drm_sched_entity * entity,u32 credits,void * owner,uint64_t drm_client_id) drm_sched_job_init() argument
861 struct drm_sched_entity *entity = job->entity; drm_sched_job_arm() local
1100 struct drm_sched_entity *entity; drm_sched_select_entity() local
1235 struct drm_sched_entity *entity; drm_sched_run_job_work() local
1463 struct drm_sched_entity *entity; drm_sched_increase_karma() local
[all...]
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_entity.c3 * vsp1_entity.c -- R-Car VSP1 Base Entity
15 #include <media/media-entity.h>
26 void vsp1_entity_route_setup(struct vsp1_entity *entity, in vsp1_entity_route_setup() argument
33 if (entity->type == VSP1_ENTITY_HGO) { in vsp1_entity_route_setup()
40 source = entity->sources[0]; in vsp1_entity_route_setup()
41 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup()
46 } else if (entity->type == VSP1_ENTITY_HGT) { in vsp1_entity_route_setup()
53 source = entity->sources[0]; in vsp1_entity_route_setup()
54 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup()
61 source = entity; in vsp1_entity_route_setup()
80 vsp1_entity_configure_stream(struct vsp1_entity * entity,struct v4l2_subdev_state * state,struct vsp1_pipeline * pipe,struct vsp1_dl_list * dl,struct vsp1_dl_body * dlb) vsp1_entity_configure_stream() argument
90 vsp1_entity_configure_frame(struct vsp1_entity * entity,struct vsp1_pipeline * pipe,struct vsp1_dl_list * dl,struct vsp1_dl_body * dlb) vsp1_entity_configure_frame() argument
99 vsp1_entity_configure_partition(struct vsp1_entity * entity,struct vsp1_pipeline * pipe,const struct vsp1_partition * partition,struct vsp1_dl_list * dl,struct vsp1_dl_body * dlb) vsp1_entity_configure_partition() argument
142 vsp1_entity_get_state(struct vsp1_entity * entity,struct v4l2_subdev_state * sd_state,enum v4l2_subdev_format_whence which) vsp1_entity_get_state() argument
168 struct vsp1_entity *entity = to_vsp1_entity(subdev); vsp1_subdev_get_pad_format() local
197 struct vsp1_entity *entity = to_vsp1_entity(subdev); vsp1_subdev_enum_mbus_code() local
243 struct vsp1_entity *entity = to_vsp1_entity(subdev); vsp1_subdev_enum_frame_size() local
306 struct vsp1_entity *entity = to_vsp1_entity(subdev); vsp1_subdev_set_pad_format() local
410 media_entity_to_vsp1_entity(struct media_entity * entity) media_entity_to_vsp1_entity() argument
472 vsp1_entity_link_setup(struct media_entity * entity,const struct media_pad * local,const struct media_pad * remote,u32 flags) vsp1_entity_link_setup() argument
504 struct vsp1_entity *entity; vsp1_entity_remote_pad() local
589 vsp1_entity_init(struct vsp1_device * vsp1,struct vsp1_entity * entity,const char * name,unsigned int num_pads,const struct v4l2_subdev_ops * ops,u32 function) vsp1_entity_init() argument
674 vsp1_entity_destroy(struct vsp1_entity * entity) vsp1_entity_destroy() argument
[all...]
H A Dvsp1_brx.c134 guard(mutex)(&brx->entity.lock); in brx_set_format()
136 state = vsp1_entity_get_state(&brx->entity, sd_state, fmt->which); in brx_set_format()
146 if (fmt->pad != brx->entity.source_pad) { in brx_set_format()
160 for (i = 0; i <= brx->entity.source_pad; ++i) { in brx_set_format()
176 if (sel->pad == brx->entity.source_pad) in brx_get_selection()
188 state = vsp1_entity_get_state(&brx->entity, sd_state, in brx_get_selection()
193 scoped_guard(mutex, &brx->entity.lock) { in brx_get_selection()
213 if (sel->pad == brx->entity.source_pad) in brx_set_selection()
219 guard(mutex)(&brx->entity.lock); in brx_set_selection()
221 state = vsp1_entity_get_state(&brx->entity, sd_stat in brx_set_selection()
274 brx_configure_stream(struct vsp1_entity * entity,struct v4l2_subdev_state * state,struct vsp1_pipeline * pipe,struct vsp1_dl_list * dl,struct vsp1_dl_body * dlb) brx_configure_stream() argument
[all...]
H A Dvsp1_video.c18 #include <media/media-entity.h>
54 if (!remote || !is_media_entity_v4l2_subdev(remote->entity)) in vsp1_video_remote_subdev()
60 return media_entity_to_v4l2_subdev(remote->entity); in vsp1_video_remote_subdev()
209 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer()
258 struct vsp1_entity *entity; in vsp1_video_pipeline_run_partition()
260 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_video_pipeline_run_partition()
261 vsp1_entity_configure_partition(entity, pipe, part, dl, dlb); in vsp1_video_pipeline_run_partition()
266 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_run_partition()
267 struct vsp1_entity *entity; in vsp1_video_pipeline_run_partition()
285 list_for_each_entry(entity, in vsp1_video_pipeline_run()
263 struct vsp1_entity *entity; vsp1_video_pipeline_run_partition() local
272 struct vsp1_entity *entity; vsp1_video_pipeline_run() local
366 struct vsp1_entity *entity; vsp1_video_pipeline_build_branch() local
455 struct media_entity *entity = &video->video.entity; vsp1_video_pipeline_build() local
691 struct vsp1_entity *entity; vsp1_video_pipeline_setup_partitions() local
736 struct vsp1_entity *entity; vsp1_video_setup_pipeline() local
[all...]
/linux/sound/soc/sdca/
H A Dsdca_asoc.c36 static bool exported_control(struct sdca_entity *entity, struct sdca_control *control) in exported_control() argument
38 switch (SDCA_CTL_TYPE(entity->type, control->sel)) { in exported_control()
54 static int ge_count_routes(struct sdca_entity *entity)
59 for (i = 0; i < entity->ge.num_modes; i++) {
60 struct sdca_ge_mode *mode = &entity->ge.modes[i];
105 struct sdca_entity *entity = &function->entities[i]; in sdca_asoc_count_component()
109 switch (entity->type) { in sdca_asoc_count_component()
112 *num_routes += !!entity->iot.clock; in sdca_asoc_count_component()
113 *num_routes += !!entity->iot.is_dataport; in sdca_asoc_count_component()
114 *num_controls += !entity in sdca_asoc_count_component()
85 struct sdca_entity *entity = &function->entities[i]; sdca_asoc_count_component() local
156 entity_early_parse_ge(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity) entity_early_parse_ge() argument
249 entity_parse_simple(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route,enum snd_soc_dapm_type id) entity_parse_simple() argument
267 entity_parse_it(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_it() argument
299 entity_parse_ot(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_ot() argument
333 struct sdca_entity *entity = widget->priv; entity_pde_event() local
387 entity_parse_pde(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_pde() argument
440 entity_parse_su_device(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_su_device() argument
505 entity_parse_su_class(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct sdca_control * control,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_su_class() argument
556 entity_parse_su(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_su() argument
583 entity_parse_mu(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_mu() argument
651 struct sdca_entity *entity = widget->priv; entity_cs_event() local
664 entity_parse_cs(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_dapm_widget ** widget,struct snd_soc_dapm_route ** route) entity_parse_cs() argument
705 struct sdca_entity *entity = &function->entities[i]; sdca_asoc_populate_dapm() local
723 struct sdca_entity *entity = &function->entities[i]; sdca_asoc_populate_dapm() local
782 control_limit_kctl(struct device * dev,struct sdca_entity * entity,struct sdca_control * control,struct snd_kcontrol_new * kctl) control_limit_kctl() argument
875 populate_control(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct sdca_control * control,struct snd_kcontrol_new ** kctl) populate_control() argument
953 populate_pin_switch(struct device * dev,struct sdca_entity * entity,struct snd_kcontrol_new ** kctl) populate_pin_switch() argument
994 struct sdca_entity *entity = &function->entities[i]; sdca_asoc_populate_controls() local
1095 populate_rate_format(struct device * dev,struct sdca_function_data * function,struct sdca_entity * entity,struct snd_soc_pcm_stream * stream) populate_rate_format() argument
1177 struct sdca_entity *entity = &function->entities[i]; sdca_asoc_populate_dais() local
1317 struct sdca_entity *entity = &function->entities[dai->id]; sdca_asoc_set_constraints() local
1407 struct sdca_entity *entity = &function->entities[dai->id]; sdca_asoc_get_port() local
1467 set_cluster(struct device * dev,struct regmap * regmap,struct sdca_function_data * function,struct sdca_entity * entity,unsigned int channels) set_cluster() argument
1510 set_clock(struct device * dev,struct regmap * regmap,struct sdca_function_data * function,struct sdca_entity * entity,int target_rate) set_clock() argument
1550 set_usage(struct device * dev,struct regmap * regmap,struct sdca_function_data * function,struct sdca_entity * entity,int sel,int target_rate,int target_width) set_usage() argument
1607 struct sdca_entity *entity = &function->entities[dai->id]; sdca_asoc_hw_params() local
[all...]
H A Dsdca_functions.c255 const struct sdca_entity *entity, in find_sdca_control_label()
258 switch (SDCA_CTL_TYPE(entity->type, control->sel)) { in find_sdca_control_label()
548 static unsigned int find_sdca_control_bits(const struct sdca_entity *entity, in find_sdca_control_bits()
551 switch (SDCA_CTL_TYPE(entity->type, control->sel)) { in find_sdca_control_bits()
617 find_sdca_control_datatype(const struct sdca_entity *entity, in find_sdca_control_datatype()
620 switch (SDCA_CTL_TYPE(entity->type, control->sel)) { in find_sdca_control_datatype()
788 static bool find_sdca_control_volatile(const struct sdca_entity *entity, in find_sdca_control_volatile()
802 switch (SDCA_CTL_TYPE(entity->type, control->sel)) { in find_sdca_control_volatile()
882 static int find_sdca_control_value(struct device *dev, struct sdca_entity *entity, in find_sdca_control_value()
919 static int find_sdca_control_reset(const struct sdca_entity *entity, in find_sdca_control_reset()
247 find_sdca_control_label(struct device * dev,const struct sdca_entity * entity,const struct sdca_control * control) find_sdca_control_label() argument
540 find_sdca_control_bits(const struct sdca_entity * entity,const struct sdca_control * control) find_sdca_control_bits() argument
609 find_sdca_control_datatype(const struct sdca_entity * entity,const struct sdca_control * control) find_sdca_control_datatype() argument
780 find_sdca_control_volatile(const struct sdca_entity * entity,const struct sdca_control * control) find_sdca_control_volatile() argument
874 find_sdca_control_value(struct device * dev,struct sdca_entity * entity,struct fwnode_handle * control_node,struct sdca_control * control,const char * const label) find_sdca_control_value() argument
911 find_sdca_control_reset(const struct sdca_entity * entity,struct sdca_control * control) find_sdca_control_reset() argument
943 find_sdca_entity_control(struct device * dev,struct sdca_entity * entity,struct fwnode_handle * control_node,struct sdca_control * control) find_sdca_entity_control() argument
1057 find_sdca_entity_controls(struct device * dev,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_controls() argument
1141 find_sdca_entity_iot(struct device * dev,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_iot() argument
1191 find_sdca_entity_cs(struct device * dev,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_cs() argument
1218 find_sdca_entity_pde(struct device * dev,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_pde() argument
1285 find_sdca_entity_ge(struct device * dev,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_ge() argument
1361 find_sdca_entity_hide(struct device * dev,struct sdw_slave * sdw,struct fwnode_handle * function_node,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_hide() argument
1448 find_sdca_entity_xu(struct device * dev,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_xu() argument
1471 find_sdca_entity(struct device * dev,struct sdw_slave * sdw,struct fwnode_handle * function_node,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity() argument
1607 struct sdca_entity *entity = NULL; find_sdca_entity_by_label() local
1634 struct sdca_entity *entity = &function->entities[i]; find_sdca_entity_by_id() local
1646 find_sdca_entity_connection_iot(struct device * dev,struct sdca_function_data * function,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_connection_iot() argument
1686 find_sdca_entity_connection_pde(struct device * dev,struct sdca_function_data * function,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_connection_pde() argument
1739 find_sdca_entity_connection_ge(struct device * dev,struct sdca_function_data * function,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_connection_ge() argument
1775 find_sdca_entity_connection(struct device * dev,struct sdca_function_data * function,struct fwnode_handle * entity_node,struct sdca_entity * entity) find_sdca_entity_connection() argument
1882 struct sdca_entity *entity = &function->entities[i]; find_sdca_connections() local
2263 sdca_selector_find_control(struct device * dev,struct sdca_entity * entity,const int sel) sdca_selector_find_control() argument
2281 sdca_control_find_range(struct device * dev,struct sdca_entity * entity,struct sdca_control * control,int cols,int rows) sdca_control_find_range() argument
2299 sdca_selector_find_range(struct device * dev,struct sdca_entity * entity,int sel,int cols,int rows) sdca_selector_find_range() argument
[all...]
H A Dsdca_regmap.c33 entity_find_control(struct sdca_entity *entity, unsigned int reg) in entity_find_control() argument
37 for (i = 0; i < entity->num_controls; i++) { in entity_find_control()
38 if (SDW_SDCA_CTL_CSEL(reg) == entity->controls[i].sel) in entity_find_control()
39 return &entity->controls[i]; in entity_find_control()
48 struct sdca_entity *entity; in function_find_control() local
50 entity = function_find_entity(function, reg); in function_find_control()
51 if (!entity) in function_find_control()
54 return entity_find_control(entity, reg); in function_find_control()
218 struct sdca_entity *entity = &function->entities[i]; in sdca_regmap_count_constants()
220 for (j = 0; j < entity in sdca_regmap_count_constants()
225 struct sdca_entity *entity = &function->entities[i]; sdca_regmap_count_constants() local
259 struct sdca_entity *entity = &function->entities[i]; sdca_regmap_populate_constants() local
304 struct sdca_entity *entity = &function->entities[i]; sdca_regmap_write_defaults() local
[all...]
/linux/drivers/media/mc/
H A Dmc-entity.c3 * 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()
205 entity->num_pads = num_pads; in media_entity_pads_init()
206 entity->pads = pads; in media_entity_pads_init()
211 media_entity_for_each_pad(entity, iter) { in media_entity_pads_init()
212 iter->entity = entity; in media_entity_pads_init()
[all …]
H A 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 …]
/linux/drivers/staging/media/imx/
H A Dimx-media-dev-common.c49 * 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 …]
/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c41 .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
1163 uvc_entity_match_guid(const struct uvc_entity * entity,const u8 guid[16]) uvc_entity_match_guid() argument
1173 __uvc_find_control(struct uvc_entity * entity,u32 v4l2_id,struct uvc_control_mapping ** mapping,struct uvc_control ** control,int next,int next_compound) __uvc_find_control() argument
1211 struct uvc_entity *entity; uvc_find_control() local
2065 uvc_ctrl_send_events(struct uvc_fh * handle,struct uvc_entity * entity,const struct v4l2_ext_control * xctrls,unsigned int xctrls_count) uvc_ctrl_send_events() argument
2231 uvc_ctrl_commit_entity(struct uvc_device * dev,struct uvc_fh * handle,struct uvc_entity * entity,int rollback,struct uvc_control ** err_ctrl) uvc_ctrl_commit_entity() argument
2299 uvc_ctrl_find_ctrl_idx(struct uvc_entity * entity,struct v4l2_ext_controls * ctrls,struct uvc_control * uvc_control) uvc_ctrl_find_ctrl_idx() argument
2325 struct uvc_entity *entity; __uvc_ctrl_commit() local
2716 u8 entity; uvc_ctrl_fixup_xu_info() member
2833 struct uvc_entity *entity, *iter; uvc_xu_ctrl_query() local
2969 struct uvc_entity *entity; uvc_ctrl_restore_values() local
3115 struct uvc_entity *entity; uvc_ctrl_add_mapping() local
3201 uvc_ctrl_prune_entity(struct uvc_device * dev,struct uvc_entity * entity) uvc_ctrl_prune_entity() argument
3311 struct uvc_entity *entity; uvc_ctrl_init_chain() local
3382 struct uvc_entity *entity; uvc_ctrl_cleanup_fh() local
3423 struct uvc_entity *entity; uvc_ctrl_cleanup_device() local
[all...]
/linux/Documentation/driver-api/media/
H A 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
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 …]
/linux/drivers/media/usb/au0828/
H A Dau0828-core.c216 struct media_entity *entity, *mixer = NULL, *decoder = NULL; in au0828_media_graph_notify() local
224 media_device_for_each_entity(entity, dev->media_dev) { in au0828_media_graph_notify()
225 if (entity->function == MEDIA_ENT_F_AUDIO_MIXER) in au0828_media_graph_notify()
226 mixer = entity; in au0828_media_graph_notify()
227 else if (entity->function == MEDIA_ENT_F_ATV_DECODER) in au0828_media_graph_notify()
228 decoder = entity; in au0828_media_graph_notify()
241 media_device_for_each_entity(entity, dev->media_dev) { in au0828_media_graph_notify()
242 if (entity->function == MEDIA_ENT_F_AUDIO_MIXER) in au0828_media_graph_notify()
243 mixer = entity; in au0828_media_graph_notify()
266 struct media_entity *entity) in au0828_is_link_shareable() argument
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst10 .. _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 …]
H A Dmedia-ioc-enum-entities.rst34 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 Dmedia-ioc-enum-links.rst13 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity
34 To enumerate pads and/or links for a given entity, applications set the
35 entity field of a struct :c:type:`media_links_enum`
43 with information about the entity's pads. The array must have enough
44 room to store all the entity's pads. The number of pads can be retrieved
48 with information about the entity's outbound links. The array must have
49 enough room to store all the entity's outbound links. The number of
52 Only forward links that originate at one of the entity's source pads are
65 - ``entity``
66 - Entity id, set by the application.
[all …]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c287 struct md_pm_entity *entity; in t7xx_pci_pm_entity_register() local
290 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in t7xx_pci_pm_entity_register()
291 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_register()
297 list_add_tail(&pm_entity->entity, &t7xx_dev->md_pm_entities); in t7xx_pci_pm_entity_register()
304 struct md_pm_entity *entity, *tmp_entity; in t7xx_pci_pm_entity_unregister() local
307 list_for_each_entry_safe(entity, tmp_entity, &t7xx_dev->md_pm_entities, entity) { in t7xx_pci_pm_entity_unregister()
308 if (entity->id == pm_entity->id) { in t7xx_pci_pm_entity_unregister()
309 list_del(&pm_entity->entity); in t7xx_pci_pm_entity_unregister()
411 struct md_pm_entity *entity; __t7xx_pci_pm_suspend() local
572 struct md_pm_entity *entity; __t7xx_pci_pm_resume() local
[all...]
/linux/drivers/media/dvb-core/
H A Ddvbdev.c210 if (dvbdev->entity) { in dvb_media_device_free()
211 media_device_unregister_entity(dvbdev->entity); in dvb_media_device_free()
212 kfree(dvbdev->entity); in dvb_media_device_free()
214 dvbdev->entity = NULL; in dvb_media_device_free()
266 struct media_entity *entity = &dvbdev->tsout_entity[i]; in dvb_create_tsout_entity() local
269 entity->name = kasprintf(GFP_KERNEL, "%s #%d", name, i); in dvb_create_tsout_entity()
270 if (!entity->name) in dvb_create_tsout_entity()
273 entity->function = MEDIA_ENT_F_IO_DTV; in dvb_create_tsout_entity()
276 ret = media_entity_pads_init(entity, 1, pads); in dvb_create_tsout_entity()
281 entity); in dvb_create_tsout_entity()
[all …]
/linux/include/sound/
H A Dsdca_function.h111 * @ent: Entity Type code.
116 * across Entity types, as such it is necessary to combine both the Entity
123 * @ent: Entity name, for example IT, MFPU, etc. this string can be read
340 * enum sdca_pde_controls - SDCA Controls for Power Domain Entity
342 * Control Selectors for Power Domain Entity from SDCA specification
535 * enum sdca_tg_controls - SDCA Controls for Tone Generator Entity
545 * enum sdca_hide_controls - SDCA Controls for HIDE Entity
560 * enum sdca_entity0_controls - SDCA Controls for Entity 0
562 * Control Selectors for Entity
[all...]
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-scaler.c3 * Microchip Image Sensor Controller (ISC) Scaler entity support
12 #include <media/media-entity.h>
116 * entity cropping is part of the PFE module (parallel front end) in isc_scaler_enum_mbus_code()
200 isc->scaler_sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER; in isc_scaler_init()
201 isc->scaler_sd.entity.ops = &isc_scaler_entity_ops; in isc_scaler_init()
214 ret = media_entity_pads_init(&isc->scaler_sd.entity, in isc_scaler_init()
218 dev_err(isc->dev, "scaler sd media entity init failed\n"); in isc_scaler_init()
236 ret = media_create_pad_link(&isc->current_subdev->sd->entity, in isc_scaler_link()
237 isc->remote_pad, &isc->scaler_sd.entity, in isc_scaler_link()
244 isc->current_subdev->sd->entity.name, in isc_scaler_link()
[all …]
/linux/drivers/media/platform/ti/omap3isp/
H A Disp.c545 pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity); in isp_isr_sbl()
551 pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity); in isp_isr_sbl()
557 pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity); in isp_isr_sbl()
563 pipe = to_isp_pipeline(&isp->isp_prev.subdev.entity); in isp_isr_sbl()
572 pipe = to_isp_pipeline(&isp->isp_res.subdev.entity); in isp_isr_sbl()
675 struct media_entity *entity; in isp_pipeline_enable() local
681 /* Refuse to start streaming if an entity included in the pipeline has in isp_pipeline_enable()
697 entity = &pipe->output->video.entity; in isp_pipeline_enable()
699 pad = &entity->pads[0]; in isp_pipeline_enable()
704 if (!pad || !is_media_entity_v4l2_subdev(pad->entity)) in isp_pipeline_enable()
[all …]

12345678910>>...16