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
206 entity->pads = pads; in media_entity_pads_init()
243 * media_entity_has_pad_interdep - Check interdependency between two pads
250 * and @pad1. If two pads are interdependent they are part of the same pipeline
251 * and enabling one of the pads means that the other pad will become "locked"
256 * has_pad_interdep operation is not implemented, all pads of the entity are
260 * The function returns false if both pads are sinks or sources.
264 * Return: true if the pads are connected internally and false otherwise.
272 if (entity->pads[pad0].flags & entity->pads[pad1].flags & in media_entity_has_pad_interdep()
431 * The pipeline traversal stack stores pads that are reached during graph
436 * To find further pads in the pipeline, the traversal algorithm follows
578 list_for_each_entry(ppad, &pipe->pads, list) { in media_pipeline_add_pad()
594 list_add_tail(&ppad->list, &pipe->pads); in media_pipeline_add_pad()
651 * Add the local and remote pads of the link to the pipeline and push in media_pipeline_explore_next_link()
667 while (!list_empty(&pipe->pads)) { in media_pipeline_cleanup()
670 ppad = list_first_entry(&pipe->pads, typeof(*ppad), list); in media_pipeline_cleanup()
687 INIT_LIST_HEAD(&pipe->pads); in media_pipeline_populate()
710 "media pipeline populated, found pads:\n"); in media_pipeline_populate()
712 list_for_each_entry(ppad, &pipe->pads, list) in media_pipeline_populate()
756 * Populate the pipeline. This populates the media_pipeline pads list in __media_pipeline_start()
765 * Now that all the pads in the pipeline have been gathered, perform in __media_pipeline_start()
769 list_for_each_entry(ppad, &pipe->pads, list) { in __media_pipeline_start()
792 * Validation of the source pads is performed in the context of in __media_pipeline_start()
864 list_for_each_entry(err_ppad, &pipe->pads, list) { in __media_pipeline_start()
905 list_for_each_entry(ppad, &pipe->pads, list) in __media_pipeline_stop()
967 iter->cursor = pipe->pads.next; in __media_pipeline_pad_iter_next()
969 if (iter->cursor == &pipe->pads) in __media_pipeline_pad_iter_next()
998 iter->cursor = pipe->pads.next; in __media_pipeline_entity_iter_next()
1000 while (iter->cursor != &pipe->pads) { in __media_pipeline_entity_iter_next()
1077 if ((entity->pads[i].flags & in media_get_pad_index()
1081 if (entity->pads[i].sig_type == sig_type) in media_get_pad_index()
1099 if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE))) in media_create_pad_link()
1101 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK))) in media_create_pad_link()
1108 link->source = &source->pads[source_pad]; in media_create_pad_link()
1109 link->sink = &sink->pads[sink_pad]; in media_create_pad_link()
1125 backlink->source = &source->pads[source_pad]; in media_create_pad_link()
1126 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link()
1435 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad()
1453 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad()