Lines Matching refs:height
411 ret = mt9p031_write(client, MT9P031_WINDOW_HEIGHT, crop->height - 1); in mt9p031_set_params()
419 yskip = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9p031_set_params()
554 unsigned int height; in mt9p031_set_format() local
566 height = clamp_t(unsigned int, ALIGN(format->format.height, 2), in mt9p031_set_format()
567 max_t(unsigned int, __crop->height / 8, in mt9p031_set_format()
569 __crop->height); in mt9p031_set_format()
572 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9p031_set_format()
577 __format->height = __crop->height / vratio; in mt9p031_set_format()
619 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9p031_set_selection()
625 rect.height = min_t(unsigned int, rect.height, in mt9p031_set_selection()
630 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9p031_set_selection()
637 __format->height = rect.height; in mt9p031_set_selection()
953 crop->height = MT9P031_WINDOW_HEIGHT_DEF; in mt9p031_open()
963 format->height = MT9P031_WINDOW_HEIGHT_DEF; in mt9p031_open()
1122 mt9p031->crop.height = MT9P031_WINDOW_HEIGHT_DEF; in mt9p031_probe()
1132 mt9p031->format.height = MT9P031_WINDOW_HEIGHT_DEF; in mt9p031_probe()