/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_brx.c | 122 format = vsp1_entity_get_pad_format(&brx->entity, sd_state, 143 mutex_lock(&brx->entity.lock); 145 state = vsp1_entity_get_state(&brx->entity, sd_state, fmt->which); 153 format = vsp1_entity_get_pad_format(&brx->entity, state, fmt->pad); 157 if (fmt->pad != brx->entity.source_pad) { 171 for (i = 0; i <= brx->entity.source_pad; ++i) { 172 format = vsp1_entity_get_pad_format(&brx->entity, 179 mutex_unlock(&brx->entity.lock); 190 if (sel->pad == brx->entity.source_pad) 202 state = vsp1_entity_get_state(&brx->entity, sd_stat 283 brx_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument [all...] |
H A D | vsp1_rwpf.h | 14 #include <media/media-entity.h> 34 struct vsp1_entity entity; member in struct:vsp1_rwpf 71 return container_of(subdev, struct vsp1_rwpf, entity.subdev); 74 static inline struct vsp1_rwpf *entity_to_rwpf(struct vsp1_entity *entity) argument 76 return container_of(entity, struct vsp1_rwpf, entity);
|
H A D | vsp1_uif.c | 14 #include <media/media-entity.h> 31 return vsp1_read(uif->entity.vsp1, 32 uif->entity.index * VI6_UIF_OFFSET + reg); 38 vsp1_dl_body_write(dlb, reg + uif->entity.index * VI6_UIF_OFFSET, data); 96 mutex_lock(&uif->entity.lock); 98 state = vsp1_entity_get_state(&uif->entity, sd_state, sel->which); 107 format = vsp1_entity_get_pad_format(&uif->entity, state, 116 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, state, 126 mutex_unlock(&uif->entity.lock); 144 mutex_lock(&uif->entity 193 uif_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument [all...] |
H A D | vsp1_hgo.h | 12 #include <media/media-entity.h> 35 return container_of(subdev, struct vsp1_hgo, histo.entity.subdev);
|
H A D | vsp1_rwpf.c | 68 mutex_lock(&rwpf->entity.lock); 70 state = vsp1_entity_get_state(&rwpf->entity, sd_state, fmt->which); 82 format = vsp1_entity_get_pad_format(&rwpf->entity, state, fmt->pad); 104 if (rwpf->entity.type == VSP1_ENTITY_RPF) { 116 format = vsp1_entity_get_pad_format(&rwpf->entity, state, 126 mutex_unlock(&rwpf->entity.lock); 143 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) 146 mutex_lock(&rwpf->entity.lock); 148 state = vsp1_entity_get_state(&rwpf->entity, sd_state, sel->which); 160 format = vsp1_entity_get_pad_format(&rwpf->entity, stat [all...] |
H A D | vsp1_rpf.c | 42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, 50 static void rpf_configure_stream(struct vsp1_entity *entity, argument 55 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); 83 sink_format = vsp1_entity_get_pad_format(&rpf->entity, 84 rpf->entity.state, 86 source_format = vsp1_entity_get_pad_format(&rpf->entity, 87 rpf->entity.state, 104 if (entity->vsp1->info->gen == 4) { 202 if (entity->vsp1->info->gen >= 3) { 254 auto_fld = &auto_fld[rpf->entity 270 rpf_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument 285 rpf_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument 368 rpf_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_partition *partition, unsigned int partition_idx, struct vsp1_partition_window *window) argument [all...] |
H A D | vsp1_lut.c | 148 static void lut_configure_stream(struct vsp1_entity *entity, argument 153 struct vsp1_lut *lut = to_lut(&entity->subdev); 158 static void lut_configure_frame(struct vsp1_entity *entity, argument 163 struct vsp1_lut *lut = to_lut(&entity->subdev); 180 static void lut_destroy(struct vsp1_entity *entity) argument 182 struct vsp1_lut *lut = to_lut(&entity->subdev); 208 lut->entity.ops = &lut_entity_ops; 209 lut->entity.type = VSP1_ENTITY_LUT; 211 ret = vsp1_entity_init(vsp1, &lut->entity, "lut", 2, &lut_ops, 229 lut->entity [all...] |
H A D | vsp1_hgt.c | 28 return vsp1_read(hgt->histo.entity.vsp1, reg); 41 void vsp1_hgt_frame_end(struct vsp1_entity *entity) argument 43 struct vsp1_hgt *hgt = to_hgt(&entity->subdev); 128 static void hgt_configure_stream(struct vsp1_entity *entity, argument 133 struct vsp1_hgt *hgt = to_hgt(&entity->subdev); 142 crop = vsp1_entity_get_pad_selection(entity, entity->state, 144 compose = vsp1_entity_get_pad_selection(entity, entity->state, 200 hgt->histo.entity [all...] |
H A D | vsp1_hsit.c | 73 mutex_lock(&hsit->entity.lock); 75 state = vsp1_entity_get_state(&hsit->entity, sd_state, fmt->which); 81 format = vsp1_entity_get_pad_format(&hsit->entity, state, fmt->pad); 104 format = vsp1_entity_get_pad_format(&hsit->entity, state, 111 mutex_unlock(&hsit->entity.lock); 130 static void hsit_configure_stream(struct vsp1_entity *entity, argument 135 struct vsp1_hsit *hsit = to_hsit(&entity->subdev); 162 hsit->entity.ops = &hsit_entity_ops; 165 hsit->entity.type = VSP1_ENTITY_HSI; 167 hsit->entity [all...] |
H A D | vsp1_wpf.c | 32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); 68 sink_format = vsp1_entity_get_pad_format(&wpf->entity, 69 wpf->entity.state, 71 source_format = vsp1_entity_get_pad_format(&wpf->entity, 72 wpf->entity.state, 75 mutex_lock(&wpf->entity.lock); 87 mutex_unlock(&wpf->entity.lock); 136 struct vsp1_device *vsp1 = wpf->entity.vsp1; 141 if (wpf->entity.index != 0) { 181 wpf->entity 205 vsp1_wpf_destroy(struct vsp1_entity *entity) argument 233 wpf_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument 342 wpf_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument 368 wpf_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) argument 510 wpf_max_width(struct vsp1_entity *entity, struct vsp1_pipeline *pipe) argument 518 wpf_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_partition *partition, unsigned int partition_idx, struct vsp1_partition_window *window) argument [all...] |
H A D | vsp1_histo.h | 17 #include <media/media-entity.h> 35 struct vsp1_entity entity; member in struct:vsp1_histogram 61 return container_of(subdev, struct vsp1_histogram, entity.subdev); 69 void vsp1_histogram_destroy(struct vsp1_entity *entity);
|
H A D | vsp1_entity.h | 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 68 * @destroy: Destroy the entity. 75 * @max_width: Return the max supported width of data that the entity can 77 * @partition: Process the partition construction based on this entity's 128 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity, 131 void vsp1_entity_destroy(struct vsp1_entity *entity); [all...] |
H A D | vsp1_clu.c | 172 static void clu_configure_stream(struct vsp1_entity *entity, argument 177 struct vsp1_clu *clu = to_clu(&entity->subdev); 184 format = vsp1_entity_get_pad_format(&clu->entity, clu->entity.state, 189 static void clu_configure_frame(struct vsp1_entity *entity, argument 194 struct vsp1_clu *clu = to_clu(&entity->subdev); 220 static void clu_destroy(struct vsp1_entity *entity) argument 222 struct vsp1_clu *clu = to_clu(&entity->subdev); 248 clu->entity.ops = &clu_entity_ops; 249 clu->entity [all...] |
H A D | vsp1_video.c | 18 #include <media/media-entity.h> 54 if (!remote || !is_media_entity_v4l2_subdev(remote->entity)) 60 return media_entity_to_v4l2_subdev(remote->entity); 200 format = vsp1_entity_get_pad_format(&pipe->output->entity, 201 pipe->output->entity.state, 255 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; 257 struct vsp1_entity *entity; local 265 format = vsp1_entity_get_pad_format(&pipe->output->entity, 266 pipe->output->entity.state, 275 list_for_each_entry(entity, 369 struct vsp1_entity *entity; local 380 struct vsp1_entity *entity; local 474 struct vsp1_entity *entity; local 563 struct media_entity *entity = &video->video.entity; local 789 struct vsp1_entity *entity; local [all...] |
H A D | vsp1_drv.c | 63 if ((status & VI6_WPF_IRQ_STA_UND) && wpf->entity.pipe) { 64 wpf->entity.pipe->underrun_count++; 68 i, wpf->entity.pipe->underrun_count); 72 vsp1_pipeline_frame_end(wpf->entity.pipe); 92 * - from an entity to itself (no loops are allowed) 101 struct media_entity *entity = &sink->subdev.entity; local 123 for (pad = 0; pad < entity->num_pads; ++pad) { 124 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK)) 127 ret = media_create_pad_link(&source->subdev.entity, 143 struct vsp1_entity *entity; local 222 struct vsp1_entity *entity, *_entity; local 248 struct vsp1_entity *entity; local [all...] |
/linux-master/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 44 * The jobs in a entity are always scheduled in the order that they were pushed. 47 * hardware, i.e. the pending queue, the entity must not be referenced anymore 48 * through the jobs entity pointer. 116 * @entity: the scheduler entity 118 * Return true if we can push at least one more job from @entity, false 122 struct drm_sched_entity *entity) 126 s_job = to_drm_sched_job(spsc_queue_peek(&entity->job_queue)); 156 static inline void drm_sched_rq_remove_fifo_locked(struct drm_sched_entity *entity) argument 158 struct drm_sched_rq *rq = entity 121 drm_sched_can_queue(struct drm_gpu_scheduler *sched, struct drm_sched_entity *entity) argument 166 drm_sched_rq_update_fifo(struct drm_sched_entity *entity, ktime_t ts) argument 213 drm_sched_rq_add_entity(struct drm_sched_rq *rq, struct drm_sched_entity *entity) argument 235 drm_sched_rq_remove_entity(struct drm_sched_rq *rq, struct drm_sched_entity *entity) argument 271 struct drm_sched_entity *entity; local 340 struct drm_sched_entity *entity; local 791 drm_sched_job_init(struct drm_sched_job *job, struct drm_sched_entity *entity, u32 credits, void *owner) argument 839 struct drm_sched_entity *entity = job->entity; local 1029 drm_sched_wakeup(struct drm_gpu_scheduler *sched, struct drm_sched_entity *entity) argument 1050 struct drm_sched_entity *entity; local 1178 struct drm_sched_entity *entity; local 1386 struct drm_sched_entity *entity; local [all...] |
/linux-master/include/drm/ |
H A D | gpu_scheduler.h | 102 * Runqueue on which this entity is currently scheduled. 113 * A list of schedulers (struct drm_gpu_scheduler). Jobs from this entity can 138 * Priority of the entity. This can be modified by calling 146 * Lock to modify the runqueue to which this entity belongs. 151 * @job_queue: the list of jobs of this entity. 159 * &drm_sched_fence which is part of the entity. 169 * A unique context for all the fences which belong to this entity. The 206 * @last_user: last group leader pushing a job into the entity. 222 * Signals when entity is not in use, used to sequence entity cleanu 357 struct drm_sched_entity *entity; member in struct:drm_sched_job [all...] |
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_ctrl.c | 41 .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 891 uvc_entity_match_guid(const struct uvc_entity *entity, const u8 guid[16]) argument 901 __uvc_find_control(struct uvc_entity *entity, u32 v4l2_id, struct uvc_control_mapping **mapping, struct uvc_control **control, int next) argument 937 struct uvc_entity *entity; local 1766 uvc_ctrl_commit_entity(struct uvc_device *dev, struct uvc_entity *entity, int rollback, struct uvc_control **err_ctrl) argument 1820 uvc_ctrl_find_ctrl_idx(struct uvc_entity *entity, struct v4l2_ext_controls *ctrls, struct uvc_control *uvc_control) argument 1846 struct uvc_entity *entity; local 2053 u8 entity; member in struct:uvc_ctrl_fixup 2170 struct uvc_entity *entity, *iter; local 2306 struct uvc_entity *entity; local 2444 struct uvc_entity *entity; local 2529 uvc_ctrl_prune_entity(struct uvc_device *dev, struct uvc_entity *entity) argument 2678 struct uvc_entity *entity; local 2767 struct uvc_entity *entity; local [all...] |
/linux-master/drivers/media/usb/au0828/ |
H A D | au0828-core.c | 216 struct media_entity *entity, *mixer = NULL, *decoder = NULL; local 224 media_device_for_each_entity(entity, dev->media_dev) { 225 if (entity->function == MEDIA_ENT_F_AUDIO_MIXER) 226 mixer = entity; 227 else if (entity->function == MEDIA_ENT_F_ATV_DECODER) 228 decoder = entity; 241 media_device_for_each_entity(entity, dev->media_dev) { 242 if (entity->function == MEDIA_ENT_F_AUDIO_MIXER) 243 mixer = entity; 266 struct media_entity *entity) 265 au0828_is_link_shareable(struct media_entity *owner, struct media_entity *entity) argument 288 au0828_enable_source(struct media_entity *entity, struct media_pipeline *pipe) argument 442 au0828_disable_source(struct media_entity *entity) argument 563 struct media_entity *entity, *demod = NULL; local [all...] |
/linux-master/drivers/media/mc/ |
H A D | Makefile | 3 mc-objs := mc-device.o mc-devnode.o mc-entity.o \
|
H A D | mc-device.c | 24 #include <media/media-entity.h> 83 struct media_entity *entity; local 88 media_device_for_each_entity(entity, mdev) { 89 if (((media_entity_id(entity) == id) && !next) || 90 ((media_entity_id(entity) > id) && next)) { 91 return entity; 121 * do the wrong thing if the entity function doesn't belong to 146 upad->entity = media_entity_id(kpad->entity); 154 struct media_entity *entity; local 233 struct media_entity *entity; local 483 __u32 entity; member in struct:media_links_enum32 575 __media_device_unregister_entity(struct media_entity *entity) argument 605 media_device_register_entity(struct media_device *mdev, struct media_entity *entity) argument 669 media_device_unregister_entity(struct media_entity *entity) argument 784 struct media_entity *entity; local [all...] |
/linux-master/include/media/ |
H A D | media-device.h | 20 #include <media/media-entity.h> 40 void (*notify)(struct media_entity *entity, void *notify_data); 90 * @entity_internal_idx: Unique internal entity ID used by the graph traversal 92 * @entity_internal_idx_max: Allocated internal entity indices 121 * @enable_source is a handler to find source entity for the 122 * sink entity and activate the link between them if source 123 * entity is free. Drivers should call this handler before 126 * @disable_source is a handler to find source entity for the 127 * sink entity and deactivate the link between them. Drivers 130 * Use-case: find tuner entity connecte 445 media_device_register_entity(struct media_device *mdev, struct media_entity *entity) argument 450 media_device_unregister_entity(struct media_entity *entity) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ctx.h | 41 struct drm_sched_entity entity; member in struct:amdgpu_ctx_entity 77 u32 ring, struct drm_sched_entity **entity); 79 struct drm_sched_entity *entity, 82 struct drm_sched_entity *entity, 91 struct drm_sched_entity *entity);
|
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-common.c | 60 ved->ent = &sd->entity; 65 sd->entity.function = function; 66 sd->entity.ops = &dcmipp_entity_ops; 76 /* Initialize the media entity */ 77 ret = media_entity_pads_init(&sd->entity, num_pads, ved->pads); 100 media_entity_cleanup(&sd->entity);
|
/linux-master/block/ |
H A D | bfq-cgroup.c | 305 struct bfq_entity *group_entity = bfqq->entity.parent; 308 entity) : 417 void bfq_init_entity(struct bfq_entity *entity, struct bfq_group *bfqg) argument 419 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); 421 entity->weight = entity->new_weight; 422 entity->orig_weight = entity->new_weight; 428 * disappear before entity. 432 entity 534 struct bfq_entity *entity = &bfqg->entity; local 569 struct bfq_entity *entity; local 579 struct bfq_entity *entity; local 638 struct bfq_entity *entity = &bfqq->entity; local 679 bfq_put_idle_entity(bfq_entity_service_tree(entity), entity); local 860 struct bfq_entity *entity = st->first_idle; local 873 bfq_reparent_leaf_entity(struct bfq_data *bfqd, struct bfq_entity *entity, int ioprio_class) argument 909 struct bfq_entity *entity; local 933 struct bfq_entity *entity = bfqg->my_entity; local 1450 bfq_init_entity(struct bfq_entity *entity, struct bfq_group *bfqg) argument [all...] |