Searched refs:entity (Results 151 - 175 of 386) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_bridge.c429 source_subdev = media_entity_to_v4l2_subdev(remote_pad->entity);
613 struct media_entity *sink_entity = &subdev->entity;
614 struct media_entity *source_entity = &remote_subdev->entity;
622 dev_err(dev, "missing source pad in external entity %s\n",
798 subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
799 subdev->entity.ops = &sun6i_csi_bridge_entity_ops;
807 ret = media_entity_pads_init(&subdev->entity,
856 media_entity_cleanup(&subdev->entity);
871 media_entity_cleanup(&subdev->entity);
H A Dsun6i_csi_capture.c840 ret = v4l2_pipeline_pm_get(&capture->video_dev.entity);
853 v4l2_pipeline_pm_put(&capture->video_dev.entity);
869 v4l2_pipeline_pm_put(&capture->video_dev.entity);
890 media_entity_to_video_device(link->sink->entity);
994 video_dev->entity.ops = &sun6i_csi_capture_media_ops;
1000 ret = media_entity_pads_init(&video_dev->entity, 1, pad);
1059 ret = media_create_pad_link(&bridge_subdev->entity,
1061 &video_dev->entity, 0,
1067 bridge_subdev->entity.name,
1069 video_dev->entity
[all...]
/linux-master/drivers/media/platform/cadence/
H A Dcdns-csi2rx.c487 csi2rx->source_pad = media_entity_get_fwnode_pad(&s_subdev->entity,
501 return media_create_pad_link(&csi2rx->source_subdev->entity,
503 &csi2rx->subdev.entity, 0,
692 csi2rx->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
697 csi2rx->subdev.entity.ops = &csi2rx_media_ops;
699 ret = media_entity_pads_init(&csi2rx->subdev.entity, CSI2RX_PAD_MAX,
725 media_entity_cleanup(&csi2rx->subdev.entity);
739 media_entity_cleanup(&csi2rx->subdev.entity);
/linux-master/drivers/staging/media/imx/
H A Dimx-media-csi.c162 * Queries the media bus config of the upstream entity that provides data to
163 * the CSI. This will either be the entity directly upstream from the CSI-2
186 sd = imx_media_pipeline_subdev(&sd->entity,
203 /* get source pad of entity directly upstream from sd */
204 remote_pad = media_entity_remote_pad_unique(&sd->entity,
209 remote_sd = media_entity_to_v4l2_subdev(remote_pad->entity);
215 "entity %s does not implement get_mbus_config()\n",
216 remote_pad->entity->name);
1023 static int csi_link_setup(struct media_entity *entity, argument
1027 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
1849 csi_get_fwnode_pad(struct media_entity *entity, struct fwnode_endpoint *endpoint) argument
[all...]
H A Dimx6-mipi-csi2.c456 static int csi2_link_setup(struct media_entity *entity, argument
460 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity);
465 dev_dbg(csi2->dev, "link setup %s -> %s", remote->entity->name,
466 local->entity->name);
468 remote_sd = media_entity_to_v4l2_subdev(remote->entity);
642 struct media_pad *sink = &csi2->sd.entity.pads[CSI2_SINK_PAD];
645 pad = media_entity_get_fwnode_pad(&sd->entity, asd->match.fwnode,
734 csi2->sd.entity.ops = &csi2_entity_ops;
739 csi2->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
747 ret = media_entity_pads_init(&csi2->sd.entity, CSI2_NUM_PAD
[all...]
/linux-master/include/media/drv-intf/
H A Dexynos-fimc.h12 #include <media/media-entity.h>
124 * last entity within the pipeline. Implemented by related media device driver.
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_pipe.h17 #include <media/media-entity.h>
98 * @brx: BRx entity, if present
99 * @hgo: HGO entity, if present
100 * @hgt: HGT entity, if present
101 * @lif: LIF entity, if present
102 * @uds: UDS entity, if present
103 * @uds_input: entity at the input of the UDS, if the UDS is present
/linux-master/drivers/media/i2c/
H A Ddw9719.c264 ret = media_entity_pads_init(&dw9719->sd.entity, 0, NULL);
268 dw9719->sd.entity.function = MEDIA_ENT_F_LENS;
305 media_entity_cleanup(&dw9719->sd.entity);
320 media_entity_cleanup(&dw9719->sd.entity);
H A Dak7375.c156 media_entity_cleanup(&ak7375_dev->sd.entity);
205 ak7375_dev->sd.entity.function = MEDIA_ENT_F_LENS;
211 ret = media_entity_pads_init(&ak7375_dev->sd.entity, 0, NULL);
227 media_entity_cleanup(&ak7375_dev->sd.entity);
H A Ds5k6a3.c328 sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
330 ret = media_entity_pads_init(&sd->entity, 1, &sensor->pad);
341 media_entity_cleanup(&sd->entity);
353 media_entity_cleanup(&sd->entity);
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy.h15 #include <media/media-entity.h>
/linux-master/drivers/staging/media/starfive/camss/
H A Dstf-camss.c135 "failed to register stf isp%d entity: %d\n", 0, ret);
146 ret = media_create_pad_link(&isp_dev->subdev.entity, STF_ISP_PAD_SRC,
147 &cap_yuv->video.vdev.entity, 0, 0);
194 ret = media_create_pad_link(&subdev->entity, 1,
195 &cap_raw->video.vdev.entity, 0, 0);
H A Dstf-isp.c349 sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_ISP;
350 sd->entity.ops = &isp_media_ops;
351 ret = media_entity_pads_init(&sd->entity, STF_ISP_PAD_MAX, pads);
354 "Failed to init media entity: %d\n", ret);
374 media_entity_cleanup(&sd->entity);
382 media_entity_cleanup(&isp_dev->subdev.entity);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.h101 struct drm_sched_entity entity; member in struct:nouveau_sched
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_pci.h106 /* struct md_pm_entity - device power management entity
107 * @entity: list of PM Entities
112 * @id: unique PM entity identifier
119 struct list_head entity; member in struct:md_pm_entity
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c69 * @source: &struct media_entity pointer with the source entity
75 * @sink: &struct media_entity pointer with the sink entity
1045 struct media_entity *entity; local
1054 entity = m2m_dev->source;
1060 entity = &m2m_dev->sink;
1066 entity = &m2m_dev->proc;
1076 entity->obj_type = MEDIA_ENTITY_TYPE_BASE;
1078 entity->info.dev.major = VIDEO_MAJOR;
1079 entity->info.dev.minor = vdev->minor;
1086 entity
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_exec_queue_types.h149 /** @entity: DRM sched entity for this exec queue (1 to 1 relationship) */
150 struct drm_sched_entity *entity; member in struct:xe_exec_queue
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c25 #include <media/media-entity.h>
775 * - The entity in the video_device, which isn't touched by the V4L2
776 * core for M2M devices, is used as the source I/O entity in the
780 * entity, and is already wired up in the graph.
783 * entity will thus have two interfaces pointing to it.
786 vdev->entity.name = "mxc_isi.output";
787 vdev->entity.function = MEDIA_ENT_F_IO_V4L;
788 ret = media_entity_pads_init(&vdev->entity, 1, &m2m->pad);
792 ret = media_device_register_entity(v4l2_dev->mdev, &vdev->entity);
796 ret = media_create_pad_link(&vdev->entity,
[all...]
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disp.h17 #include <media/media-entity.h>
151 * @stop_failure: Indicates that an entity failed to stop.
360 if (pad >= subdev->entity.num_pads)
363 if (subdev->entity.pads[pad].flags & MEDIA_PAD_FL_SINK)
H A Dispcsi2.c490 if (csi2->phy->entity)
548 struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity);
565 sensor = media_entity_to_v4l2_subdev(pad->entity);
739 struct isp_pipeline *pipe = to_isp_pipeline(&csi2->subdev.entity);
1061 if (omap3isp_csiphy_acquire(csi2->phy, &sd->entity) < 0)
1087 if (omap3isp_module_sync_idle(&sd->entity, &csi2->wait,
1129 * Media entity operations
1134 * @entity : Pointer to media entity structure
1140 static int csi2_link_setup(struct media_entity *entity, argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.c415 struct amdgpu_ctx_entity *entity)
423 sched = entity->entity.rq->sched;
425 ring = to_amdgpu_ring(entity->entity.rq->sched);
414 amdgpu_xcp_release_sched(struct amdgpu_device *adev, struct amdgpu_ctx_entity *entity) argument
/linux-master/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
H A Dsun8i_a83t_mipi_csi2.c456 struct media_entity *sink_entity = &subdev->entity;
457 struct media_entity *source_entity = &remote_subdev->entity;
466 dev_err(dev, "missing source pad in external entity %s\n",
558 subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
559 subdev->entity.ops = &sun8i_a83t_mipi_csi2_entity_ops;
568 ret = media_entity_pads_init(&subdev->entity,
606 media_entity_cleanup(&subdev->entity);
620 media_entity_cleanup(&subdev->entity);
/linux-master/drivers/media/platform/sunxi/sun6i-mipi-csi2/
H A Dsun6i_mipi_csi2.c419 struct media_entity *sink_entity = &subdev->entity;
420 struct media_entity *source_entity = &remote_subdev->entity;
429 dev_err(dev, "missing source pad in external entity %s\n",
520 subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
521 subdev->entity.ops = &sun6i_mipi_csi2_entity_ops;
530 ret = media_entity_pads_init(&subdev->entity, SUN6I_MIPI_CSI2_PAD_COUNT,
568 media_entity_cleanup(&subdev->entity);
582 media_entity_cleanup(&subdev->entity);
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.c96 /* Capture subdev media entity operations */
97 static int fimc_is_link_setup(struct media_entity *entity, argument
228 if (!media_entity_is_streaming(&sd->entity)) {
708 sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
712 ret = media_entity_pads_init(&sd->entity, FIMC_ISP_SD_PADS_NUM,
762 media_entity_cleanup(&sd->entity);
771 sd->entity.ops = &fimc_is_subdev_media_ops;
784 media_entity_cleanup(&sd->entity);
/linux-master/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_params.c479 ret = media_entity_pads_init(&video_dev->entity, 1, pad);
534 ret = media_create_pad_link(&video_dev->entity, 0,
535 &proc_subdev->entity,
541 video_dev->entity.name, 0, proc_subdev->entity.name,
552 media_entity_cleanup(&video_dev->entity);
566 media_entity_cleanup(&video_dev->entity);

Completed in 229 milliseconds

1234567891011>>