Lines Matching refs:pad
61 * The mux state is determined by the enabled sink pad link.
62 * Enabling or disabling the source pad link has no effect.
114 struct media_pad *pad;
121 pad = media_entity_remote_pad(&sd->entity.pads[vmux->active]);
122 if (!pad) {
123 dev_err(sd->dev, "Failed to find remote source pad\n");
127 if (!is_media_entity_v4l2_subdev(pad->entity)) {
132 upstream_sd = media_entity_to_v4l2_subdev(pad->entity);
144 unsigned int pad, u32 which)
150 return v4l2_subdev_get_try_format(sd, cfg, pad);
152 return &vmux->format_mbus[pad];
166 sdformat->format = *__video_mux_get_pad_format(sd, cfg, sdformat->pad,
180 struct media_pad *pad = &vmux->pads[sdformat->pad];
183 mbusformat = __video_mux_get_pad_format(sd, cfg, sdformat->pad,
297 /* Source pad mirrors active sink pad, no limitations on sink pads */
298 if ((pad->flags & MEDIA_PAD_FL_SOURCE) && vmux->active >= 0)
304 if ((pad->flags & MEDIA_PAD_FL_SINK) && (pad->index == vmux->active))
338 .pad = &video_mux_pad_ops,