Lines Matching refs:format
150 struct v4l2_mbus_framefmt format;
458 u16 vts = ov5693->mode.format.height + vblank;
486 exposure_max = ov5693->mode.format.height + ctrl->val -
567 cci_write(ov5693->regmap, OV5693_OUTPUT_SIZE_X_REG, mode->format.width,
586 cci_write(ov5693->regmap, OV5693_OUTPUT_SIZE_Y_REG, mode->format.height,
760 * We need to set a sensible default VTS for whatever format height we
781 return &ov5693->mode.format;
804 struct v4l2_subdev_format *format)
808 format->format = ov5693->mode.format;
815 struct v4l2_subdev_format *format)
825 crop = __ov5693_get_pad_crop(ov5693, state, format->pad, format->which);
829 * the requested format at the crop rectangle
831 width = clamp_t(unsigned int, ALIGN(format->format.width, 2),
833 height = clamp_t(unsigned int, ALIGN(format->format.height, 2),
845 fmt = __ov5693_get_pad_format(ov5693, state, format->pad,
846 format->which);
852 format->format = *fmt;
854 if (format->which == V4L2_SUBDEV_FORMAT_TRY)
926 struct v4l2_mbus_framefmt *format;
960 format = __ov5693_get_pad_format(ov5693, state, sel->pad,
962 format->width = rect.width;
963 format->height = rect.height;
1014 unsigned int framesize = OV5693_FIXED_PPL * (ov5693->mode.format.height +
1028 /* Only a single mbus format is supported */
1135 hblank = OV5693_FIXED_PPL - ov5693->mode.format.width;
1143 vblank_max = OV5693_TIMING_MAX_VTS - ov5693->mode.format.height;
1144 vblank_def = ov5693->mode.vts - ov5693->mode.format.height;
1329 ov5693->mode.format = ov5693_default_fmt;
1330 ov5693->mode.vts = __ov5693_calc_vts(ov5693->mode.format.height);