Lines Matching defs:format
543 const struct v4l2_mbus_framefmt *format)
549 if (max9286_formats[i].code == format->code) {
559 * Video format setup: disable CSI output, set VC according to Link
797 const struct v4l2_mbus_framefmt *format;
800 * Get the format from the first used sink pad, as all sink
803 format = &priv->fmt[__ffs(priv->bound_sources)];
805 max9286_set_video_format(priv, format);
926 struct v4l2_subdev_format *format)
932 if (format->pad == MAX9286_SRC_PAD)
935 /* Validate the format. */
937 if (max9286_formats[i].code == format->format.code)
942 format->format.code = max9286_formats[0].code;
944 cfg_fmt = max9286_get_pad_format(priv, sd_state, format->pad,
945 format->which);
950 *cfg_fmt = format->format;
958 struct v4l2_subdev_format *format)
962 unsigned int pad = format->pad;
966 * format of the first bound link. All links must have the same format,
973 cfg_fmt = max9286_get_pad_format(priv, sd_state, pad, format->which);
978 format->format = *cfg_fmt;
1019 struct v4l2_mbus_framefmt *format;
1023 format = v4l2_subdev_get_try_format(subdev, fh->state, i);
1024 max9286_init_format(format);