Lines Matching defs:height
333 vmax = format->height + sensor->vblank->cur.val;
343 imx296_write(sensor, IMX296_VMAX, format->height + ctrl->val,
522 crop->height != IMX296_PIXEL_ARRAY_HEIGHT) {
528 imx296_write(sensor, IMX296_FID0_ROIWV1, crop->height, &ret);
536 (crop->height != format->height ?
560 format->height + sensor->vblank->cur.val, &ret);
704 crop->height == IMX296_PIXEL_ARRAY_HEIGHT) {
706 unsigned int height;
710 /* Clamp the width and height to avoid dividing by zero. */
713 height = clamp_t(unsigned int, fmt->format.height,
714 crop->height / 2, crop->height);
717 vratio = DIV_ROUND_CLOSEST(crop->height, height);
720 format->height = crop->height / vratio;
723 format->height = crop->height;
754 sel->r.height = IMX296_PIXEL_ARRAY_HEIGHT;
785 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 4),
790 rect.height = min_t(unsigned int, rect.height,
795 if (rect.width != crop->width || rect.height != crop->height) {
802 format->height = rect.height;
817 .r.height = IMX296_PIXEL_ARRAY_HEIGHT,
822 .height = IMX296_PIXEL_ARRAY_HEIGHT,