Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/linux/drivers/gpu/drm/scheduler/
A Dsched_entity.c70 entity->rq = NULL; in drm_sched_entity_init()
100 entity->rq = sched_list[0]->sched_rq[entity->priority]; in drm_sched_entity_init()
244 if (!entity->rq) in drm_sched_entity_kill()
249 drm_sched_rq_remove_entity(entity->rq, entity); in drm_sched_entity_kill()
289 if (!entity->rq) in drm_sched_entity_flush()
339 dma_fence_remove_callback(entity->dependency, &entity->cb); in drm_sched_entity_fini()
446 if (!dma_fence_add_callback(entity->dependency, &entity->cb, in drm_sched_entity_add_dependency_cb()
493 if (entity->guilty && atomic_read(entity->guilty)) in drm_sched_entity_pop_job()
562 drm_sched_rq_remove_entity(entity->rq, entity); in drm_sched_entity_select_rq()
563 entity->rq = rq; in drm_sched_entity_select_rq()
[all …]
A Dsched_main.c186 rb_add_cached(&entity->rb_tree_node, &entity->rq->rb_tree_root, in drm_sched_rq_update_fifo()
282 if (entity) { in drm_sched_rq_select_entity_rr()
296 return entity; in drm_sched_rq_select_entity_rr()
314 return entity; in drm_sched_rq_select_entity_rr()
792 if (!entity->rq) { in drm_sched_job_init()
806 job->entity = entity; in drm_sched_job_init()
836 struct drm_sched_entity *entity = job->entity; in drm_sched_job_arm() local
838 BUG_ON(!entity); in drm_sched_job_arm()
1053 if (entity) in drm_sched_select_entity()
1057 return IS_ERR(entity) ? NULL : entity; in drm_sched_select_entity()
[all …]
A Dgpu_scheduler_trace.h36 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
37 TP_ARGS(sched_job, entity),
39 __field(struct drm_sched_entity *, entity)
48 __entry->entity = entity;
52 __entry->job_count = spsc_queue_count(&entity->job_queue);
57 __entry->entity, __entry->id,
63 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
64 TP_ARGS(sched_job, entity)
68 TP_PROTO(struct drm_sched_job *sched_job, struct drm_sched_entity *entity),
69 TP_ARGS(sched_job, entity)
/linux/block/
A Dbfq-wf2q.c300 entity->finish = entity->start + in bfq_calc_finish()
309 entity->start, entity->finish, in bfq_calc_finish()
434 entity->min_start = entity->start; in bfq_update_active_node()
725 entity->orig_weight = entity->new_weight; in __bfq_entity_update_weight_prio()
789 struct bfq_entity *entity = &bfqq->entity; in bfq_bfqq_served() local
840 struct bfq_entity *entity = &bfqq->entity; in bfq_bfqq_charge_time() local
867 bfq_calc_finish(entity, entity->budget); in bfq_update_fin_time_enqueue()
1014 bfq_calc_finish(entity, entity->service); in __bfq_requeue_entity()
1015 entity->start = entity->finish; in __bfq_requeue_entity()
1129 bfq_calc_finish(entity, entity->service); in __bfq_deactivate_entity()
[all …]
A Dbfq-cgroup.c308 entity) : in bfqq_group()
421 entity->weight = entity->new_weight; in bfq_init_entity()
422 entity->orig_weight = entity->new_weight; in bfq_init_entity()
534 struct bfq_entity *entity = &bfqg->entity; in bfq_pd_init() local
537 entity->orig_weight = entity->weight = entity->new_weight = d->weight; in bfq_pd_init()
571 entity = &bfqg->entity; in bfq_group_set_parent()
586 entity = &bfqg->entity; in bfq_link_bfqg()
638 struct bfq_entity *entity = &bfqq->entity; in bfq_bfqq_move() local
805 for (; entity ; entity = st->first_idle) in bfq_flush_idle_tree()
1397 entity->weight = entity->new_weight; in bfq_init_entity()
[all …]
/linux/drivers/media/usb/uvc/
A Duvc_entity.c26 ? (entity->vdev ? &entity->vdev->entity : NULL) in uvc_mc_create_links()
27 : &entity->subdev.entity; in uvc_mc_create_links()
65 media_entity_cleanup(&entity->subdev.entity); in uvc_mc_cleanup_entity()
67 media_entity_cleanup(&entity->vdev->entity); in uvc_mc_cleanup_entity()
79 strscpy(entity->subdev.name, entity->name, in uvc_mc_init_entity()
114 entity->subdev.entity.function = function; in uvc_mc_init_entity()
116 ret = media_entity_pads_init(&entity->subdev.entity, in uvc_mc_init_entity()
117 entity->num_pads, entity->pads); in uvc_mc_init_entity()
125 ret = media_entity_pads_init(&entity->vdev->entity, in uvc_mc_init_entity()
126 entity->num_pads, entity->pads); in uvc_mc_init_entity()
[all …]
A Duvc_ctrl.c941 return memcmp(entity->guid, guid, sizeof(entity->guid)) == 0; in uvc_entity_match_guid()
1108 ret = ctrl->entity->get_cur(chain->dev, ctrl->entity, in __uvc_ctrl_load_cur()
1875 if (!entity) in uvc_ctrl_find_ctrl_idx()
2076 ret = ctrl->entity->get_info(dev, ctrl->entity, in uvc_ctrl_get_flags()
2107 u8 entity; in uvc_ctrl_fixup_xu_info() member
2133 if (fixups[i].entity == ctrl->entity->id && in uvc_ctrl_fixup_xu_info()
2154 memcpy(info->entity, ctrl->entity->guid, sizeof(info->entity)); in uvc_ctrl_fill_xu_info()
2234 entity = NULL; in uvc_xu_ctrl_query()
2515 !uvc_entity_match_guid(entity, mapping->entity)) in uvc_ctrl_add_mapping()
2662 if (uvc_entity_match_guid(ctrl->entity, info->entity) && in uvc_ctrl_init_ctrl()
[all …]
/linux/drivers/media/platform/renesas/vsp1/
A Dvsp1_entity.c58 source = entity; in vsp1_entity_route_setup()
79 entity->ops->configure_stream(entity, state, pipe, dl, dlb); in vsp1_entity_configure_stream()
88 entity->ops->configure_frame(entity, pipe, dl, dlb); in vsp1_entity_configure_frame()
98 entity->ops->configure_partition(entity, pipe, partition, in vsp1_entity_configure_partition()
388 return container_of(entity, struct vsp1_entity, subdev.entity); in media_entity_to_vsp1_entity()
496 entity = media_entity_to_vsp1_entity(link->sink->entity); in vsp1_entity_remote_pad()
634 entity->state = __v4l2_subdev_state_alloc(&entity->subdev, in vsp1_entity_init()
637 media_entity_cleanup(&entity->subdev.entity); in vsp1_entity_init()
646 if (entity->ops && entity->ops->destroy) in vsp1_entity_destroy()
647 entity->ops->destroy(entity); in vsp1_entity_destroy()
[all …]
A Dvsp1_drv.c101 struct media_entity *entity = &sink->subdev.entity; in vsp1_create_sink_links() local
143 struct vsp1_entity *entity; in vsp1_uapi_create_links() local
158 ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity, in vsp1_uapi_create_links()
168 ret = media_create_pad_link(&vsp1->hgt->histo.entity.subdev.entity, in vsp1_uapi_create_links()
181 ret = media_create_pad_link(&vsp1->wpf[i]->entity.subdev.entity, in vsp1_uapi_create_links()
183 &vsp1->lif[i]->entity.subdev.entity, in vsp1_uapi_create_links()
193 &rpf->entity.subdev.entity, in vsp1_uapi_create_links()
208 ret = media_create_pad_link(&wpf->entity.subdev.entity, in vsp1_uapi_create_links()
226 list_del(&entity->list_dev); in vsp1_destroy_entities()
248 struct vsp1_entity *entity; in vsp1_create_entities() local
[all …]
A Dvsp1_video.c382 entity = to_vsp1_entity( in vsp1_video_pipeline_build_branch()
408 &entity->subdev.entity)) { in vsp1_video_pipeline_build_branch()
420 pipe->uds = entity; in vsp1_video_pipeline_build_branch()
421 pipe->uds_input = brx ? &brx->entity : &input->entity; in vsp1_video_pipeline_build_branch()
425 pad = &entity->pads[entity->source_pad]; in vsp1_video_pipeline_build_branch()
430 if (entity != &output->entity) in vsp1_video_pipeline_build_branch()
443 struct media_entity *entity = &video->video.entity; in vsp1_video_pipeline_build() local
702 entity_max = entity->ops->max_width(entity, in vsp1_video_pipeline_setup_partitions()
703 entity->state, in vsp1_video_pipeline_setup_partitions()
765 vsp1_entity_configure_stream(entity, entity->state, pipe, NULL, in vsp1_video_setup_pipeline()
[all …]
A Dvsp1_entity.h80 void (*destroy)(struct vsp1_entity *entity);
81 void (*configure_stream)(struct vsp1_entity *entity,
86 void (*configure_frame)(struct vsp1_entity *entity,
90 void (*configure_partition)(struct vsp1_entity *entity,
95 unsigned int (*max_width)(struct vsp1_entity *entity,
98 void (*partition)(struct vsp1_entity *entity,
141 void vsp1_entity_destroy(struct vsp1_entity *entity);
143 int vsp1_entity_link_setup(struct media_entity *entity,
148 vsp1_entity_get_state(struct vsp1_entity *entity,
152 void vsp1_entity_route_setup(struct vsp1_entity *entity,
[all …]
A Dvsp1_brx.c136 mutex_lock(&brx->entity.lock); in brx_set_format()
171 mutex_unlock(&brx->entity.lock); in brx_set_format()
182 if (sel->pad == brx->entity.source_pad) in brx_get_selection()
199 mutex_lock(&brx->entity.lock); in brx_get_selection()
201 mutex_unlock(&brx->entity.lock); in brx_get_selection()
225 mutex_lock(&brx->entity.lock); in brx_set_selection()
253 mutex_unlock(&brx->entity.lock); in brx_set_selection()
321 if (entity->type == VSP1_ENTITY_BRU) in brx_configure_stream()
410 brx->entity.ops = &brx_entity_ops; in vsp1_brx_create()
411 brx->entity.type = type; in vsp1_brx_create()
[all …]
A Dvsp1_wpf.c73 mutex_lock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
85 mutex_unlock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
139 if (wpf->entity.index != 0) { in wpf_init_controls()
179 wpf->entity.index); in wpf_init_controls()
213 unsigned int index = wpf->entity.index; in wpf_configure_writeback_chain()
219 dev_err(wpf->entity.vsp1->dev, in wpf_configure_writeback_chain()
241 unsigned int index = wpf->entity.index; in wpf_configure_stream()
547 wpf->entity.ops = &wpf_entity_ops; in vsp1_wpf_create()
548 wpf->entity.type = VSP1_ENTITY_WPF; in vsp1_wpf_create()
549 wpf->entity.index = index; in vsp1_wpf_create()
[all …]
A Dvsp1_drm.c164 rpf->entity.index); in vsp1_du_pipeline_setup_rpf()
245 brx = &vsp1->bru->entity; in vsp1_du_pipeline_setup_brx()
249 brx = &vsp1->bru->entity; in vsp1_du_pipeline_setup_brx()
251 brx = &vsp1->brs->entity; in vsp1_du_pipeline_setup_brx()
425 if (!rpf->entity.pipe) { in vsp1_du_pipeline_setup_inputs()
426 rpf->entity.pipe = pipe; in vsp1_du_pipeline_setup_inputs()
433 rpf->entity.sink_pad = i; in vsp1_du_pipeline_setup_inputs()
566 if (!entity->pipe) { in vsp1_du_pipeline_configure()
570 entity->sink = NULL; in vsp1_du_pipeline_configure()
577 vsp1_entity_configure_stream(entity, entity->state, pipe, in vsp1_du_pipeline_configure()
[all …]
A Dvsp1_uds.c43 struct vsp1_uds *uds = to_uds(&entity->subdev); in vsp1_uds_set_alpha()
141 mutex_lock(&uds->entity.lock); in uds_enum_frame_size()
161 mutex_unlock(&uds->entity.lock); in uds_enum_frame_size()
209 mutex_lock(&uds->entity.lock); in uds_set_format()
231 mutex_unlock(&uds->entity.lock); in uds_set_format()
260 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_configure_stream()
307 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_configure_partition()
357 static void uds_partition(struct vsp1_entity *entity, in uds_partition() argument
403 uds->entity.ops = &uds_entity_ops; in vsp1_uds_create()
404 uds->entity.type = VSP1_ENTITY_UDS; in vsp1_uds_create()
[all …]
A Dvsp1_rpf.c56 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_stream()
101 if (entity->vsp1->info->gen == 4) { in rpf_configure_stream()
197 if (entity->vsp1->info->gen >= 3) { in rpf_configure_stream()
249 auto_fld = &auto_fld[rpf->entity.index]; in vsp1_rpf_configure_autofld()
270 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_frame()
286 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_partition()
288 struct vsp1_device *vsp1 = rpf->entity.vsp1; in rpf_configure_partition()
399 rpf->entity.ops = &rpf_entity_ops; in vsp1_rpf_create()
400 rpf->entity.type = VSP1_ENTITY_RPF; in vsp1_rpf_create()
401 rpf->entity.index = index; in vsp1_rpf_create()
[all …]
A Dvsp1_pipe.c264 struct vsp1_entity *entity; in vsp1_pipeline_reset() local
280 entity->pipe = NULL; in vsp1_pipeline_reset()
308 struct vsp1_entity *entity; in __vsp1_pipeline_dump() local
316 name = strchrnul(entity->subdev.name, ' '); in __vsp1_pipeline_dump()
317 name = name ? name + 1 : entity->subdev.name; in __vsp1_pipeline_dump()
355 struct vsp1_entity *entity; in vsp1_pipeline_stop() local
383 if (entity->route && entity->route->reg) in vsp1_pipeline_stop()
384 vsp1_write(vsp1, entity->route->reg, in vsp1_pipeline_stop()
486 struct vsp1_entity *entity; in vsp1_pipeline_propagate_partition() local
489 if (entity->ops->partition) in vsp1_pipeline_propagate_partition()
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-mc.c25 struct media_entity *entity; in v4l2_mc_create_media_graph() local
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()
57 io_swradio = entity; in v4l2_mc_create_media_graph()
241 switch (entity->function) { in v4l2_mc_create_media_graph()
[all …]
/linux/include/media/
A Dmedia-entity.h92 struct media_entity *entity; member
187 struct media_entity *entity; member
238 struct media_entity *entity; member
385 iter < &(entity)->pads[(entity)->num_pads]; \
433 return entity->graph_obj.id; in media_entity_id()
482 return entity && entity->obj_type == MEDIA_ENTITY_TYPE_VIDEO_DEVICE; in is_media_entity_v4l2_video_device()
495 return entity && entity->obj_type == MEDIA_ENTITY_TYPE_V4L2_SUBDEV; in is_media_entity_v4l2_subdev()
1261 entity != NULL; \
1262 entity = __media_pipeline_entity_iter_next((pipe), iter, entity))
1398 (((entity)->ops && (entity)->ops->operation) ? \
[all …]
/linux/drivers/media/mc/
A Dmc-entity.c212 iter->entity = entity; in media_entity_pads_init()
285 if (link->source->entity == entity) in media_entity_other()
301 graph->stack[graph->top].entity = entity; in stack_push()
308 entity = graph->stack[graph->top].entity; in stack_pop()
813 struct media_entity *entity = pad->entity; in __media_pipeline_start() local
1045 entity = ppad->pad->entity; in __media_pipeline_entity_iter_next()
1084 if (link->source->entity == entity) in __media_entity_remove_link()
1093 if (link->source->entity == entity) in __media_entity_remove_link()
1377 link->sink->entity == sink->entity && in media_entity_find_link()
1430 if (local_pad->entity == entity) { in media_entity_remote_pad_unique()
[all …]
A Dmc-device.c83 struct media_entity *entity; in find_entity() local
91 return entity; in find_entity()
146 upad->entity = media_entity_id(kpad->entity); in media_device_kpad_to_upad()
156 entity = find_entity(mdev, links->entity); in media_device_enum_links()
157 if (entity == NULL) in media_device_enum_links()
181 if (link->source->entity != entity) in media_device_enum_links()
483 __u32 entity; member
498 if (get_user(links.entity, &ulinks->entity) in media_device_enum_links32()
587 if (link->entity == entity) in __media_device_unregister_entity()
616 entity->name); in media_device_register_entity()
[all …]
/linux/drivers/staging/media/imx/
A Dimx-media-dev-common.c55 struct media_entity *entity = srcpad->entity; in imx_media_add_vdev_to_pad() local
71 entity->name, srcpad->index); in imx_media_add_vdev_to_pad()
86 vdev->vfd->entity.name, entity->name, srcpad->index); in imx_media_add_vdev_to_pad()
124 struct media_entity *entity; in imx_media_alloc_pad_vdev_lists() local
129 entity = &sd->entity; in imx_media_alloc_pad_vdev_lists()
198 struct media_entity *entity) in imx_media_inherit_controls() argument
207 vfd->entity.name, sd->entity.name); in imx_media_inherit_controls()
279 vfd->entity.name); in imx_media_link_notify()
291 vfd->entity.name); in imx_media_link_notify()
293 &vfd->entity); in imx_media_link_notify()
[all …]
/linux/drivers/media/usb/au0828/
A Dau0828-core.c226 mixer = entity; in au0828_media_graph_notify()
228 decoder = entity; in au0828_media_graph_notify()
243 mixer = entity; in au0828_media_graph_notify()
315 sink = entity; in au0828_enable_source()
366 entity)) { in au0828_enable_source()
381 entity->name); in au0828_enable_source()
437 __func__, entity->name, entity->function, ret); in au0828_enable_source()
604 switch (entity->function) { in au0828_media_device_register()
606 dev->tuner = entity; in au0828_media_device_register()
609 dev->decoder = entity; in au0828_media_device_register()
[all …]
/linux/include/drm/
A Dgpu_scheduler.h357 struct drm_sched_entity *entity; member
554 struct drm_sched_entity *entity,
588 struct drm_sched_entity *entity);
592 struct drm_sched_entity *entity);
594 struct drm_sched_entity *entity);
598 int drm_sched_entity_init(struct drm_sched_entity *entity,
604 void drm_sched_entity_fini(struct drm_sched_entity *entity);
605 void drm_sched_entity_destroy(struct drm_sched_entity *entity);
611 bool drm_sched_entity_is_ready(struct drm_sched_entity *entity);
612 int drm_sched_entity_error(struct drm_sched_entity *entity);
[all …]
/linux/drivers/net/wwan/t7xx/
A Dt7xx_pci.c243 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in t7xx_pci_pm_entity_register()
385 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in __t7xx_pci_pm_suspend()
389 ret = entity->suspend(t7xx_dev, entity->entity_param); in __t7xx_pci_pm_suspend()
410 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in __t7xx_pci_pm_suspend()
412 entity->suspend_late(t7xx_dev, entity->entity_param); in __t7xx_pci_pm_suspend()
419 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in __t7xx_pci_pm_suspend()
424 entity->resume(t7xx_dev, entity->entity_param); in __t7xx_pci_pm_suspend()
597 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in __t7xx_pci_pm_resume()
599 entity->resume_early(t7xx_dev, entity->entity_param); in __t7xx_pci_pm_resume()
610 list_for_each_entry(entity, &t7xx_dev->md_pm_entities, entity) { in __t7xx_pci_pm_resume()
[all …]

Completed in 79 milliseconds

12345678910>>...19