Lines Matching refs:pads

158 		list_add_tail(&gobj->list, &mdev->pads);
195 struct media_pad *pads)
206 entity->pads = pads;
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 &
431 * The pipeline traversal stack stores pads that are reached during graph
436 * To find further pads in the pipeline, the traversal algorithm follows
581 list_for_each_entry(ppad, &pipe->pads, list) {
597 list_add_tail(&ppad->list, &pipe->pads);
669 * If we're done iterating over links, iterate over pads of the entity.
670 * This is necessary to discover pads that are not connected with any
679 "media pipeline: adding unconnected pads of '%s'\n",
685 * (already discovered through iterating over links) and pads
703 while (!list_empty(&pipe->pads)) {
706 ppad = list_first_entry(&pipe->pads, typeof(*ppad), list);
723 INIT_LIST_HEAD(&pipe->pads);
746 "media pipeline populated, found pads:\n");
748 list_for_each_entry(ppad, &pipe->pads, list)
792 * Populate the pipeline. This populates the media_pipeline pads list
801 * Now that all the pads in the pipeline have been gathered, perform
805 list_for_each_entry(ppad, &pipe->pads, list) {
827 * Validation of the source pads is performed in the context of
898 list_for_each_entry(err_ppad, &pipe->pads, list) {
939 list_for_each_entry(ppad, &pipe->pads, list)
1001 iter->cursor = pipe->pads.next;
1003 if (iter->cursor == &pipe->pads)
1032 iter->cursor = pipe->pads.next;
1034 while (iter->cursor != &pipe->pads) {
1114 if ((entity->pads[i].flags &
1118 if (entity->pads[i].sig_type == sig_type)
1141 if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE)))
1143 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK)))
1150 link->source = &source->pads[source_pad];
1151 link->sink = &sink->pads[sink_pad];
1167 backlink->source = &source->pads[source_pad];
1168 backlink->sink = &sink->pads[sink_pad];
1480 if (entity->pads[i].flags & direction_flags)
1498 if (!(entity->pads[ret].flags & direction_flags))