Lines Matching full:pads

158 		list_add_tail(&gobj->list, &mdev->pads);  in media_gobj_create()
195 struct media_pad *pads) in media_entity_pads_init() argument
205 entity->pads = pads; in media_entity_pads_init()
231 * and @pad1. If two pads are interdependent they are part of the same pipeline
232 * and enabling one of the pads means that the other pad will become "locked"
237 * has_pad_interdep operation is not implemented, all pads of the entity are
246 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep()
405 * The pipeline traversal stack stores pads that are reached during graph
410 * To find further pads in the pipeline, the traversal algorithm follows
552 list_for_each_entry(ppad, &pipe->pads, list) { in media_pipeline_add_pad()
568 list_add_tail(&ppad->list, &pipe->pads); in media_pipeline_add_pad()
625 * Add the local and remote pads of the link to the pipeline and push in media_pipeline_explore_next_link()
641 while (!list_empty(&pipe->pads)) { in media_pipeline_cleanup()
644 ppad = list_first_entry(&pipe->pads, typeof(*ppad), list); in media_pipeline_cleanup()
661 INIT_LIST_HEAD(&pipe->pads); in media_pipeline_populate()
684 "media pipeline populated, found pads:\n"); in media_pipeline_populate()
686 list_for_each_entry(ppad, &pipe->pads, list) in media_pipeline_populate()
730 * Populate the pipeline. This populates the media_pipeline pads list in __media_pipeline_start()
739 * Now that all the pads in the pipeline have been gathered, perform in __media_pipeline_start()
743 list_for_each_entry(ppad, &pipe->pads, list) { in __media_pipeline_start()
766 * Validation of the source pads is performed in the context of in __media_pipeline_start()
838 list_for_each_entry(err_ppad, &pipe->pads, list) { in __media_pipeline_start()
879 list_for_each_entry(ppad, &pipe->pads, list) in __media_pipeline_stop()
997 if (entity->pads[i].flags & MEDIA_PAD_FL_SINK) in media_get_pad_index()
999 else if (entity->pads[i].flags & MEDIA_PAD_FL_SOURCE) in media_get_pad_index()
1006 if (entity->pads[i].sig_type == sig_type) in media_get_pad_index()
1024 if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE))) in media_create_pad_link()
1026 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK))) in media_create_pad_link()
1033 link->source = &source->pads[source_pad]; in media_create_pad_link()
1034 link->sink = &sink->pads[sink_pad]; in media_create_pad_link()
1050 backlink->source = &source->pads[source_pad]; in media_create_pad_link()
1051 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link()
1360 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad()
1378 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad()