Lines Matching defs:height
328 .height = OV5693_ACTIVE_HEIGHT,
333 .height = OV5693_ACTIVE_HEIGHT,
458 u16 vts = ov5693->mode.format.height + vblank;
486 exposure_max = ov5693->mode.format.height + ctrl->val -
586 cci_write(ov5693->regmap, OV5693_OUTPUT_SIZE_Y_REG, mode->format.height,
591 mode->crop.top + mode->crop.height, &ret);
757 static unsigned int __ov5693_calc_vts(u32 height)
760 * We need to set a sensible default VTS for whatever format height we
767 tgt_fps = rounddown(OV5693_PIXEL_RATE / OV5693_FIXED_PPL / height, 30);
821 unsigned int width, height;
833 height = clamp_t(unsigned int, ALIGN(format->format.height, 2),
834 OV5693_MIN_CROP_HEIGHT, crop->height);
843 DIV_ROUND_CLOSEST(crop->height, height), 1, 2);
849 fmt->height = crop->height / vratio;
864 ov5693->mode.vts = __ov5693_calc_vts(fmt->height);
868 OV5693_TIMING_MAX_VTS - fmt->height,
869 1, ov5693->mode.vts - fmt->height);
871 ov5693->mode.vts - fmt->height);
905 sel->r.height = OV5693_NATIVE_HEIGHT;
912 sel->r.height = OV5693_ACTIVE_HEIGHT;
944 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
950 rect.height = min_t(unsigned int, rect.height,
955 if (rect.width != __crop->width || rect.height != __crop->height) {
963 format->height = rect.height;
1014 unsigned int framesize = OV5693_FIXED_PPL * (ov5693->mode.format.height +
1051 fse->min_height = __crop->height / (fse->index + 1);
1143 vblank_max = OV5693_TIMING_MAX_VTS - ov5693->mode.format.height;
1144 vblank_def = ov5693->mode.vts - ov5693->mode.format.height;
1330 ov5693->mode.vts = __ov5693_calc_vts(ov5693->mode.format.height);