Lines Matching refs:entity
34 #include <media/media-entity.h>
1534 ret = v4l2_pipeline_pm_get(&csi->vdev->entity);
1555 v4l2_pipeline_pm_put(&csi->vdev->entity);
1627 ret = media_create_pad_link(&sd->entity, IMX7_CSI_PAD_SRC,
1628 &vdev->entity, 0, MEDIA_LNK_FL_IMMUTABLE |
1641 media_entity_cleanup(&csi->vdev->entity);
1678 ret = media_entity_pads_init(&vdev->entity, 1, &csi->vdev_pad);
1947 switch (csi->src_sd->entity.function) {
1955 for (i = 0; i < csi->src_sd->entity.num_pads; i++) {
1956 struct media_pad *spad = &csi->src_sd->entity.pads[i];
1969 csi->is_csi2 = pad->entity->function == MEDIA_ENT_F_VID_IF_BRIDGE;
1974 * The input is an external entity, it must use the parallel
2059 struct media_pad *sink = &csi->sd.entity.pads[IMX7_CSI_PAD_SINK];
2175 csi->sd.entity.ops = &imx7_csi_entity_ops;
2176 csi->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
2186 ret = media_entity_pads_init(&csi->sd.entity, IMX7_CSI_PADS_NUM,