Lines Matching refs:__crop
520 struct v4l2_rect *__crop; in mt9v032_set_format() local
526 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, in mt9v032_set_format()
531 max_t(unsigned int, __crop->width / 4, in mt9v032_set_format()
533 __crop->width); in mt9v032_set_format()
535 max_t(unsigned int, __crop->height / 4, in mt9v032_set_format()
537 __crop->height); in mt9v032_set_format()
539 hratio = mt9v032_calc_ratio(__crop->width, width); in mt9v032_set_format()
540 vratio = mt9v032_calc_ratio(__crop->height, height); in mt9v032_set_format()
544 __format->width = __crop->width / hratio; in mt9v032_set_format()
545 __format->height = __crop->height / vratio; in mt9v032_set_format()
577 struct v4l2_rect *__crop; in mt9v032_set_selection() local
604 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_set_selection()
606 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9v032_set_selection()
621 *__crop = rect; in mt9v032_set_selection()