Lines Matching full:entity
17 * vimc_get_source_entity - get the entity connected with the first sink pad
21 * Helper function that returns the media entity containing the source pad
22 * linked with the first sink pad from the given media entity pad list.
33 return pad ? pad->entity : NULL; in vimc_get_source_entity()
44 * Calls s_stream to disable the stream in each entity of the pipeline
49 struct media_entity *entity; in vimc_streamer_pipeline_terminate() local
54 entity = stream->ved_pipeline[stream->pipe_size]->ent; in vimc_streamer_pipeline_terminate()
55 entity = vimc_get_source_entity(entity); in vimc_streamer_pipeline_terminate()
58 if (!is_media_entity_v4l2_subdev(entity)) in vimc_streamer_pipeline_terminate()
61 sd = media_entity_to_v4l2_subdev(entity); in vimc_streamer_pipeline_terminate()
70 * @ved: the pointer to the vimc entity initializing the stream
72 * Initializes the stream structure. Walks through the entity graph to
79 struct media_entity *entity; in vimc_streamer_pipeline_init() local
92 entity = vimc_get_source_entity(ved->ent); in vimc_streamer_pipeline_init()
94 if (!entity) in vimc_streamer_pipeline_init()
97 if (is_media_entity_v4l2_subdev(entity)) { in vimc_streamer_pipeline_init()
98 sd = media_entity_to_v4l2_subdev(entity); in vimc_streamer_pipeline_init()
106 vdev = container_of(entity, in vimc_streamer_pipeline_init()
108 entity); in vimc_streamer_pipeline_init()