Lines Matching refs:ent
25 static struct media_entity *vimc_get_source_entity(struct media_entity *ent) in vimc_get_source_entity() argument
30 for (i = 0; i < ent->num_pads; i++) { in vimc_get_source_entity()
31 if (ent->pads[i].flags & MEDIA_PAD_FL_SOURCE) in vimc_get_source_entity()
33 pad = media_entity_remote_pad(&ent->pads[i]); in vimc_get_source_entity()
58 if (!is_media_entity_v4l2_subdev(ved->ent)) in vimc_streamer_pipeline_terminate()
61 sd = media_entity_to_v4l2_subdev(ved->ent); in vimc_streamer_pipeline_terminate()
95 if (is_media_entity_v4l2_subdev(ved->ent)) { in vimc_streamer_pipeline_init()
96 sd = media_entity_to_v4l2_subdev(ved->ent); in vimc_streamer_pipeline_init()
100 ved->ent->name); in vimc_streamer_pipeline_init()
106 entity = vimc_get_source_entity(ved->ent); in vimc_streamer_pipeline_init()
110 if (!vimc_is_source(ved->ent)) { in vimc_streamer_pipeline_init()
113 ved->ent->name); in vimc_streamer_pipeline_init()