/linux-master/include/media/ |
H A D | v4l2-subdev.h | 13 #include <media/media-entity.h> 999 * @entity: pointer to &struct media_entity 1055 struct media_entity entity; member in struct:v4l2_subdev 1108 container_of(__me_sd_ent, struct v4l2_subdev, entity) : \ 1201 * @entity: Pointer to the subdev entity 1211 int v4l2_subdev_get_fwnode_pad_1_to_1(struct media_entity *entity, 1246 * @entity: pointer to &struct media_entity 1258 bool v4l2_subdev_has_pad_interdep(struct media_entity *entity,
|
H A D | dvbdev.h | 149 * @entity: pointer to struct media_entity associated with the device node 150 * @pads: pointer to struct media_pad associated with @entity; 189 struct media_entity *entity, *tsout_entity; member in struct:dvb_device
|
/linux-master/drivers/media/i2c/ |
H A D | tw9900.c | 19 #include <media/media-entity.h> 704 tw9900->subdev.entity.function = MEDIA_ENT_F_DV_DECODER; 706 ret = media_entity_pads_init(&tw9900->subdev.entity, 1, &tw9900->pad); 727 media_entity_cleanup(&tw9900->subdev.entity); 742 media_entity_cleanup(&sd->entity);
|
H A D | s5k5baf.c | 24 #include <media/media-entity.h> 401 return sd->entity.function == MEDIA_ENT_F_CAM_SENSOR; 1765 ret = media_create_pad_link(&state->cis_sd.entity, PAD_CIS, 1766 &state->sd.entity, PAD_CIS, 1897 sd->entity.function = MEDIA_ENT_F_CAM_SENSOR; 1898 ret = media_entity_pads_init(&sd->entity, NUM_CIS_PADS, &state->cis_pad); 1912 sd->entity.function = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN; 1913 ret = media_entity_pads_init(&sd->entity, NUM_ISP_PADS, state->pads); 1918 media_entity_cleanup(&state->cis_sd.entity); 1920 dev_err(&c->dev, "cannot init media entity [all...] |
H A D | lm3560.c | 362 rval = media_entity_pads_init(&flash->subdev_led[led_no].entity, 0, NULL); 365 flash->subdev_led[led_no].entity.function = MEDIA_ENT_F_FLASH; 453 media_entity_cleanup(&flash->subdev_led[i].entity);
|
H A D | adp1653.c | 500 ret = media_entity_pads_init(&flash->subdev.entity, 0, NULL); 504 flash->subdev.entity.function = MEDIA_ENT_F_FLASH; 521 media_entity_cleanup(&flash->subdev.entity);
|
/linux-master/drivers/media/platform/cadence/ |
H A D | cdns-csi2tx.c | 303 struct media_entity *entity = &csi2tx->subdev.entity; local 329 list_for_each_entry(link, &entity->links, list) { 602 csi2tx->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE; 616 ret = media_entity_pads_init(&csi2tx->subdev.entity, CSI2TX_PAD_MAX,
|
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-capture.c | 1136 v4l2_pipeline_pm_put(&node->vdev.entity); 1152 struct media_entity *entity = &cap->vnode.vdev.entity; local 1172 ret = v4l2_pipeline_pm_get(entity); 1187 v4l2_pipeline_pm_put(entity); 1464 media_entity_to_video_device(link->sink->entity); 1466 media_entity_to_v4l2_subdev(link->source->entity); 1485 link->source->entity->name, link->source->index, 1486 link->sink->entity->name, link->sink->index, 1517 media_entity_cleanup(&cap->vnode.vdev.entity); [all...] |
H A D | rkisp1-isp.c | 103 source_sd = media_entity_to_v4l2_subdev(source->entity); 943 rkisp1->source = media_entity_to_v4l2_subdev(source_pad->entity); 1037 sd->entity.ops = &rkisp1_isp_media_ops; 1038 sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER; 1048 ret = media_entity_pads_init(&sd->entity, RKISP1_ISP_PAD_MAX, pads); 1067 media_entity_cleanup(&sd->entity); 1081 media_entity_cleanup(&isp->sd.entity);
|
/linux-master/drivers/media/platform/nxp/ |
H A D | imx8mq-mipi-csi2.c | 553 * Media entity operations 576 struct media_pad *sink = &state->sd.entity.pads[MIPI_CSI2_PAD_SINK]; 773 sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE; 774 sd->entity.ops = &imx8mq_mipi_csi_entity_ops; 782 ret = media_entity_pads_init(&sd->entity, MIPI_CSI2_PADS_NUM, 789 media_entity_cleanup(&sd->entity); 918 media_entity_cleanup(&state->sd.entity); 942 media_entity_cleanup(&state->sd.entity);
|
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-csi2rxss.c | 20 #include <media/media-entity.h> 471 if (!remote || !is_media_entity_v4l2_subdev(remote->entity)) 474 return media_entity_to_v4l2_subdev(remote->entity); 960 /* Initialize V4L2 subdevice and media entity */ 973 /* Initialize V4L2 subdevice and media entity */ 980 subdev->entity.ops = &xcsi2rxss_media_ops; 983 ret = media_entity_pads_init(&subdev->entity, XCSI_MEDIA_PADS, 998 media_entity_cleanup(&subdev->entity); 1013 media_entity_cleanup(&subdev->entity);
|
/linux-master/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-csi2.c | 621 return media_create_pad_link(&subdev->entity, RZG2L_CSI2_SINK, 622 &csi2->subdev.entity, 0, 795 csi2->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE; 796 csi2->subdev.entity.ops = &rzg2l_csi2_entity_ops; 805 ret = media_entity_pads_init(&csi2->subdev.entity, 2, csi2->pads); 824 media_entity_cleanup(&csi2->subdev.entity); 839 media_entity_cleanup(&csi2->subdev.entity);
|
H A D | rzg2l-video.c | 475 sd = media_entity_to_v4l2_subdev(pad->entity); 499 pipe = media_entity_pipeline(&sd->entity) ? : &cru->vdev.pipe; 1022 struct media_entity *entity; local 1024 entity = &cru->vdev.entity; 1025 if (!entity->graph_obj.mdev) 1026 entity->graph_obj.mdev = &cru->mdev;
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx-ic-prpencvf.c | 1010 static int prp_link_setup(struct media_entity *entity, argument 1014 struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(entity); 1021 ic_priv->sd.name, remote->entity->name, local->entity->name); 1026 if (!is_media_entity_v4l2_subdev(remote->entity)) { 1031 remote_sd = media_entity_to_v4l2_subdev(remote->entity); 1049 if (!is_media_entity_v4l2_video_device(remote->entity)) { 1064 priv->sink = remote->entity; 1365 ret = media_entity_pads_init(&ic_priv->sd.entity, PRPENCVF_NUM_PADS,
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 656 u8 entity; local 659 entity = MIGRATING_PARTITION; 661 reason_code = (entity << 24) | detail;
|
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-afe.c | 534 ret = media_entity_pads_init(&afe->sd.entity, ADV748X_AFE_NR_PADS, 546 media_entity_cleanup(&afe->sd.entity); 554 media_entity_cleanup(&afe->sd.entity);
|
/linux-master/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 24 #include <media/media-entity.h> 1472 ret = media_create_pad_link(&state->sensor_sd.entity, 1473 S5C73M3_ISP_PAD, &state->oif_sd.entity, OIF_ISP_PAD, 1476 ret = media_create_pad_link(&state->sensor_sd.entity, 1477 S5C73M3_JPEG_PAD, &state->oif_sd.entity, OIF_JPEG_PAD, 1627 sd->entity.function = MEDIA_ENT_F_CAM_SENSOR; 1629 ret = media_entity_pads_init(&sd->entity, S5C73M3_NUM_PADS, 1644 oif_sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER; 1646 ret = media_entity_pads_init(&oif_sd->entity, OIF_NUM_PADS, 1705 media_entity_cleanup(&sd->entity); [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-flash-led-class.c | 680 ret = media_entity_pads_init(&sd->entity, 0, NULL); 684 sd->entity.function = MEDIA_ENT_F_FLASH; 702 media_entity_cleanup(&sd->entity); 740 media_entity_cleanup(&sd->entity);
|
H A D | v4l2-async.c | 323 if (sd->entity.function != MEDIA_ENT_F_LENS && 324 sd->entity.function != MEDIA_ENT_F_FLASH) 327 link = media_create_ancillary_link(&n->sd->entity, &sd->entity);
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vi.h | 16 #include <media/media-entity.h> 119 * @pad: media pad for the video device entity
|
/linux-master/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.c | 259 ret = media_create_pad_link(&camif->sensor.sd->entity, 0, 260 &camif->subdev.entity, CAMIF_SD_PAD_SINK, 267 ret = media_create_pad_link(&camif->subdev.entity, i, 268 &camif->vp[i - 1].vdev.entity, 0,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xcp.h | 147 struct amdgpu_ctx_entity *entity);
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.h | 15 #include <media/media-entity.h>
|
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-byteproc.c | 167 for (i = 0; i < sd->entity.num_pads; i++) { 471 pad = media_pad_remote_pad_first(&sd->entity.pads[0]); 472 if (!pad || !is_media_entity_v4l2_subdev(pad->entity)) 474 s_subdev = media_entity_to_v4l2_subdev(pad->entity);
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-lite.h | 18 #include <media/media-entity.h> 110 * @ve: exynos video device entity structure
|