Lines Matching defs:active
30 int active;
74 if (vmux->active == local->index)
77 if (vmux->active >= 0) {
82 dev_dbg(sd->dev, "setting %d active\n", local->index);
86 vmux->active = local->index;
88 /* Propagate the active format to the source */
89 vmux->format_mbus[source_pad] = vmux->format_mbus[vmux->active];
91 if (vmux->active != local->index)
96 vmux->active = -1;
116 if (vmux->active == -1) {
121 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]);
297 /* Source pad mirrors active sink pad, no limitations on sink pads */
298 if ((pad->flags & MEDIA_PAD_FL_SOURCE) && vmux->active >= 0)
299 sdformat->format = vmux->format_mbus[vmux->active];
303 /* Propagate the format from an active sink to source */
304 if ((pad->flags & MEDIA_PAD_FL_SINK) && (pad->index == vmux->active))
450 vmux->active = -1;