Searched defs:entity (Results 1 - 25 of 49) sorted by relevance

12

/drivers/media/platform/vsp1/
H A Dvsp1_lif.h16 #include <media/media-entity.h>
27 struct vsp1_entity entity; member in struct:vsp1_lif
32 return container_of(subdev, struct vsp1_lif, entity.subdev);
H A Dvsp1_hsit.h16 #include <media/media-entity.h>
27 struct vsp1_entity entity; member in struct:vsp1_hsit
33 return container_of(subdev, struct vsp1_hsit, entity.subdev);
H A Dvsp1_lut.h16 #include <media/media-entity.h>
27 struct vsp1_entity entity; member in struct:vsp1_lut
33 return container_of(subdev, struct vsp1_lut, entity.subdev);
H A Dvsp1_sru.h16 #include <media/media-entity.h>
28 struct vsp1_entity entity; member in struct:vsp1_sru
35 return container_of(subdev, struct vsp1_sru, entity.subdev);
H A Dvsp1_uds.h16 #include <media/media-entity.h>
27 struct vsp1_entity entity; member in struct:vsp1_uds
33 return container_of(subdev, struct vsp1_uds, entity.subdev);
H A Dvsp1_bru.h16 #include <media/media-entity.h>
29 struct vsp1_entity entity; member in struct:vsp1_bru
41 return container_of(subdev, struct vsp1_bru, entity.subdev);
H A Dvsp1_rwpf.h16 #include <media/media-entity.h>
28 struct vsp1_entity entity; member in struct:vsp1_rwpf
46 return container_of(subdev, struct vsp1_rwpf, entity.subdev);
H A Dvsp1_entity.c17 #include <media/media-entity.h>
25 bool vsp1_entity_is_streaming(struct vsp1_entity *entity) argument
29 mutex_lock(&entity->lock);
30 streaming = entity->streaming;
31 mutex_unlock(&entity->lock);
36 int vsp1_entity_set_streaming(struct vsp1_entity *entity, bool streaming) argument
40 mutex_lock(&entity->lock);
41 entity->streaming = streaming;
42 mutex_unlock(&entity->lock);
47 if (!entity
65 vsp1_entity_get_pad_format(struct vsp1_entity *entity, struct v4l2_subdev_fh *fh, unsigned int pad, u32 which) argument
121 vsp1_entity_link_setup(struct media_entity *entity, const struct media_pad *local, const struct media_pad *remote, u32 flags) argument
180 vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity, unsigned int num_pads) argument
224 vsp1_entity_destroy(struct vsp1_entity *entity) argument
[all...]
H A Dvsp1_drv.c51 pipe = to_vsp1_pipeline(&wpf->entity.subdev.entity);
76 * - from an entity to itself (no loops are allowed)
80 struct media_entity *entity = &sink->subdev.entity; local
100 for (pad = 0; pad < entity->num_pads; ++pad) {
101 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK))
104 ret = media_entity_create_link(&source->subdev.entity,
106 entity, pad, flags);
111 source->sink = entity;
120 struct vsp1_entity *entity; local
136 struct vsp1_entity *entity; local
[all...]
/drivers/media/platform/exynos4-is/
H A Dcommon.c16 /* Called with the media graph mutex held or entity->stream_count > 0. */
17 struct v4l2_subdev *fimc_find_remote_sensor(struct media_entity *entity) argument
19 struct media_pad *pad = &entity->pads[0];
26 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV)
29 sd = media_entity_to_v4l2_subdev(pad->entity);
35 pad = &sd->entity.pads[0];
H A Dfimc-isp-video.c276 struct media_entity *me = &ve->vdev.entity;
314 struct media_entity *entity = &ivc->ve.vdev.entity; local
315 struct media_device *mdev = entity->parent;
320 media_entity_pipeline_stop(entity);
330 entity->use_count--;
459 pad = &sd->entity.pads[0];
471 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV)
474 sd = media_entity_to_v4l2_subdev(pad->entity);
495 struct media_entity *me = &ve->vdev.entity;
[all...]
H A Dfimc-isp.c102 /* Capture subdev media entity operations */
103 static int fimc_is_link_setup(struct media_entity *entity, argument
232 if (sd->entity.stream_count == 0) {
711 ret = media_entity_init(&sd->entity, FIMC_ISP_SD_PADS_NUM,
761 media_entity_cleanup(&sd->entity);
770 sd->entity.ops = &fimc_is_subdev_media_ops;
783 media_entity_cleanup(&sd->entity);
/drivers/media/usb/uvc/
H A Duvc_entity.c27 struct uvc_entity *entity)
34 sink = (UVC_ENTITY_TYPE(entity) == UVC_TT_STREAMING)
35 ? (entity->vdev ? &entity->vdev->entity : NULL)
36 : &entity->subdev.entity;
40 for (i = 0; i < entity->num_pads; ++i) {
45 if (!(entity->pads[i].flags & MEDIA_PAD_FL_SINK))
48 remote = uvc_entity_by_id(chain->dev, entity
26 uvc_mc_register_entity(struct uvc_video_chain *chain, struct uvc_entity *entity) argument
74 uvc_mc_cleanup_entity(struct uvc_entity *entity) argument
82 uvc_mc_init_entity(struct uvc_entity *entity) argument
106 struct uvc_entity *entity; local
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-device.c150 struct media_entity *entity = &sd->entity; local
187 /* Register the entity. */
189 err = media_device_register_entity(v4l2_dev->mdev, entity);
251 sd->entity.info.v4l.major = VIDEO_MAJOR;
252 sd->entity.info.v4l.minor = vdev->minor;
289 media_entity_remove_links(&sd->entity);
290 media_device_unregister_entity(&sd->entity);
H A Dv4l2-subdev.c38 fh->pad = kzalloc(sizeof(*fh->pad) * sd->entity.num_pads, GFP_KERNEL);
59 struct media_entity *entity = NULL; local
78 entity = media_entity_get(&sd->entity);
79 if (!entity) {
96 if (entity)
97 media_entity_put(entity);
118 media_entity_put(&sd->entity);
137 if (format->pad >= sd->entity.num_pads)
149 if (crop->pad >= sd->entity
[all...]
/drivers/gpu/drm/rcar-du/
H A Drcar_du_kms.c244 struct device_node *entity; local
248 * Locate the connected entity and infer its type from the number of
251 entity = of_graph_get_remote_port_parent(ep->local_node);
252 if (!entity) {
263 ep_node = of_graph_get_next_endpoint(entity, prev);
277 encoder = entity;
320 * If no encoder has been found the entity must be the
323 connector = entity;
/drivers/isdn/hardware/eicon/
H A Ddivasi.c80 static int remove_entity(void *entity);
468 DBG_ERR(("entity removal watchdog"))
472 ** If application exits without entity removal this function will remove
473 ** entity and block until removal is complete
475 static int remove_entity(void *entity) argument
480 diva_um_idi_stop_wdog(entity);
482 if (!entity) {
483 DBG_FTL(("Zero entity on remove"))
489 diva_um_id_get_os_context(entity))) {
490 DBG_FTL(("Zero entity o
555 diva_um_idi_start_wdog(void *entity) argument
567 diva_um_idi_stop_wdog(void *entity) argument
[all...]
H A Dum_idi.c8 #include "entity.h"
187 Cleanup, but NOT delete this entity
206 Create ENTITY, link it to the adapter and remove pointer to entity
270 Unlink entity and free memory
272 int divas_um_idi_delete_entity(int adapter_nr, void *entity) argument
278 if (!(e = (divas_um_idi_entity_t *) entity))
287 diva_um_idi_stop_wdog(entity);
301 int diva_um_idi_read(void *entity, argument
315 e = (divas_um_idi_entity_t *) entity;
381 int diva_um_idi_write(void *entity, argument
491 diva_um_idi_xdi_callback(ENTITY *entity) argument
759 diva_user_mode_idi_ind_ready(void *entity, void *os_handle) argument
799 diva_um_id_get_os_context(void *entity) argument
804 divas_um_idi_entity_assigned(void *entity) argument
835 divas_um_idi_entity_start_remove(void *entity) argument
[all...]
/drivers/media/
H A Dmedia-device.c31 #include <media/media-entity.h>
70 struct media_entity *entity; local
77 media_device_for_each_entity(entity, mdev) {
78 if ((entity->id == id && !next) ||
79 (entity->id > id && next)) {
81 return entity;
123 upad->entity = kpad->entity->id;
131 struct media_entity *entity; local
133 entity
275 __u32 entity; member in struct:media_links_enum32
410 struct media_entity *entity; local
426 media_device_register_entity(struct media_device *mdev, struct media_entity *entity) argument
452 media_device_unregister_entity(struct media_entity *entity) argument
[all...]
H A Dmedia-entity.c2 * Media entity
26 #include <media/media-entity.h>
30 * media_entity_init - Initialize a media entity
37 * entity driver, while the total number of links depends on hardware design
38 * and is an extrinsic property unknown to the entity driver. However, in most
39 * use cases the entity driver can guess the number of links which can safely
42 * For those reasons the links array can be preallocated based on the entity
50 * The pads array is managed by the entity driver and passed to
51 * media_entity_init() where its pointer will be stored in the entity structure.
54 media_entity_init(struct media_entity *entity, u1 argument
83 media_entity_cleanup(struct media_entity *entity) argument
94 media_entity_other(struct media_entity *entity, struct media_link *link) argument
103 stack_push(struct media_entity_graph *graph, struct media_entity *entity) argument
117 struct media_entity *entity; local
138 media_entity_graph_walk_start(struct media_entity_graph *graph, struct media_entity *entity) argument
177 struct media_entity *entity = stack_top(graph); local
225 media_entity_pipeline_start(struct media_entity *entity, struct media_pipeline *pipe) argument
337 media_entity_pipeline_stop(struct media_entity *entity) argument
370 media_entity_get(struct media_entity *entity) argument
391 media_entity_put(struct media_entity *entity) argument
405 media_entity_add_link(struct media_entity *entity) argument
467 __media_entity_remove_links(struct media_entity *entity) argument
505 media_entity_remove_links(struct media_entity *entity) argument
[all...]
/drivers/staging/media/omap4iss/
H A Diss_ipipe.c165 if (omap4iss_module_sync_idle(&sd->entity, &ipipe->wait,
422 * Media entity operations
427 * @entity: IPIPE media entity
434 static int ipipe_link_setup(struct media_entity *entity, argument
438 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
442 switch (local->index | media_entity_type(remote->entity)) {
453 if (remote->entity == &iss->ipipeif.subdev.entity)
483 * ipipe_init_entities - Initialize V4L2 subdev and media entity
[all...]
H A Diss_ipipeif.c253 to_iss_pipeline(&ipipeif->subdev.entity);
362 if (omap4iss_module_sync_idle(&sd->entity, &ipipeif->wait,
662 * Media entity operations
667 * @entity: IPIPEIF media entity
674 static int ipipeif_link_setup(struct media_entity *entity, argument
678 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
682 switch (local->index | media_entity_type(remote->entity)) {
693 if (remote->entity == &iss->csi2a.subdev.entity)
[all...]
H A Diss_resizer.c294 to_iss_pipeline(&resizer->subdev.entity);
310 to_iss_pipeline(&resizer->subdev.entity);
417 if (omap4iss_module_sync_idle(&sd->entity, &resizer->wait,
717 * Media entity operations
722 * @entity: RESIZER media entity
729 static int resizer_link_setup(struct media_entity *entity, argument
733 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
737 switch (local->index | media_entity_type(remote->entity)) {
748 if (remote->entity
[all...]
/drivers/video/fbdev/
H A Dsh_mipi_dsi.c55 struct sh_mobile_lcdc_entity entity; member in struct:sh_mipi
63 #define to_sh_mipi(e) container_of(e, struct sh_mipi, entity)
379 static int mipi_display_on(struct sh_mobile_lcdc_entity *entity) argument
381 struct sh_mipi *mipi = to_sh_mipi(entity);
391 ret = sh_mipi_setup(mipi, &entity->def_mode);
407 static void mipi_display_off(struct sh_mobile_lcdc_entity *entity) argument
409 struct sh_mipi *mipi = to_sh_mipi(entity);
455 mipi->entity.owner = THIS_MODULE;
456 mipi->entity.ops = &mipi_ops;
512 platform_set_drvdata(pdev, &mipi->entity);
[all...]
/drivers/media/platform/omap3isp/
H A Dispccp2.c360 sensor = media_entity_to_v4l2_subdev(pad->entity);
385 struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
537 struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
561 struct isp_pipeline *pipe = to_isp_pipeline(&ccp2->subdev.entity);
876 if (omap3isp_module_sync_idle(&sd->entity, &ccp2->wait,
942 * Media entity operations
947 * @entity : Pointer to media entity structure
953 static int ccp2_link_setup(struct media_entity *entity, argument
957 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
[all...]

Completed in 343 milliseconds

12