Lines Matching defs:active
29 int active;
76 if (vmux->active == local->index)
79 if (vmux->active >= 0) {
84 dev_dbg(sd->dev, "setting %d active\n", local->index);
88 vmux->active = local->index;
90 /* Propagate the active format to the source */
95 vmux->active);
98 if (vmux->active != local->index)
103 vmux->active = -1;
123 if (vmux->active == -1) {
128 pad = media_pad_remote_pad_first(&sd->entity.pads[vmux->active]);
269 /* Source pad mirrors active sink pad, no limitations on sink pads */
270 if ((pad->flags & MEDIA_PAD_FL_SOURCE) && vmux->active >= 0)
272 vmux->active);
276 /* Propagate the format from an active sink to source */
277 if ((pad->flags & MEDIA_PAD_FL_SINK) && (pad->index == vmux->active))
430 vmux->active = -1;