Lines Matching refs:entity
19 #include <media/media-entity.h>
1256 * @entity: Pointer to VFE media entity structure
1259 static void ispif_get_vfe_id(struct media_entity *entity, u8 *id)
1265 sd = media_entity_to_v4l2_subdev(entity);
1273 * ispif_get_vfe_line_id - Get VFE line id by media entity
1274 * @entity: Pointer to VFE media entity structure
1277 static void ispif_get_vfe_line_id(struct media_entity *entity,
1283 sd = media_entity_to_v4l2_subdev(entity);
1291 * @entity: Pointer to media entity structure
1298 static int ispif_link_setup(struct media_entity *entity,
1310 sd = media_entity_to_v4l2_subdev(entity);
1313 msm_csid_get_csid_id(remote->entity, &line->csid_id);
1319 sd = media_entity_to_v4l2_subdev(entity);
1322 ispif_get_vfe_id(remote->entity, &line->vfe_id);
1323 ispif_get_vfe_line_id(remote->entity, &id);
1400 sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
1401 sd->entity.ops = &ispif_media_ops;
1402 ret = media_entity_pads_init(&sd->entity, MSM_ISPIF_PADS_NUM,
1405 dev_err(camss->dev, "Failed to init media entity: %d\n",
1414 media_entity_cleanup(&sd->entity);
1426 media_entity_cleanup(&sd->entity);
1450 media_entity_cleanup(&sd->entity);