Lines Matching refs:width
298 hratio = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9t001_s_stream()
317 ret = mt9t001_write(client, MT9T001_WINDOW_WIDTH, crop->width - 1); in mt9t001_s_stream()
373 unsigned int width; in mt9t001_set_format() local
382 width = clamp_t(unsigned int, ALIGN(format->format.width, 2), in mt9t001_set_format()
383 max_t(unsigned int, __crop->width / 8, in mt9t001_set_format()
385 __crop->width); in mt9t001_set_format()
391 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9t001_set_format()
396 __format->width = __crop->width / hratio; in mt9t001_set_format()
438 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9t001_set_selection()
445 rect.width = min_t(unsigned int, rect.width, in mt9t001_set_selection()
452 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9t001_set_selection()
458 __format->width = rect.width; in mt9t001_set_selection()
796 crop->width = MT9T001_WINDOW_WIDTH_DEF + 1; in mt9t001_open()
801 format->width = MT9T001_WINDOW_WIDTH_DEF + 1; in mt9t001_open()
922 mt9t001->crop.width = MT9T001_WINDOW_WIDTH_DEF + 1; in mt9t001_probe()
926 mt9t001->format.width = MT9T001_WINDOW_WIDTH_DEF + 1; in mt9t001_probe()