Lines Matching refs:height
299 vratio = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9t001_s_stream()
321 ret = mt9t001_write(client, MT9T001_WINDOW_HEIGHT, crop->height - 1); in mt9t001_s_stream()
374 unsigned int height; in mt9t001_set_format() local
386 height = clamp_t(unsigned int, ALIGN(format->format.height, 2), in mt9t001_set_format()
387 max_t(unsigned int, __crop->height / 8, in mt9t001_set_format()
389 __crop->height); in mt9t001_set_format()
392 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9t001_set_format()
397 __format->height = __crop->height / vratio; in mt9t001_set_format()
441 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9t001_set_selection()
447 rect.height = min_t(unsigned int, rect.height, in mt9t001_set_selection()
452 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9t001_set_selection()
459 __format->height = rect.height; in mt9t001_set_selection()
797 crop->height = MT9T001_WINDOW_HEIGHT_DEF + 1; in mt9t001_open()
802 format->height = MT9T001_WINDOW_HEIGHT_DEF + 1; in mt9t001_open()
923 mt9t001->crop.height = MT9T001_WINDOW_HEIGHT_DEF + 1; in mt9t001_probe()
927 mt9t001->format.height = MT9T001_WINDOW_HEIGHT_DEF + 1; in mt9t001_probe()