Lines Matching refs:__crop
500 struct v4l2_rect *__crop; in mt9v032_set_format() local
506 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, in mt9v032_set_format()
511 max_t(unsigned int, __crop->width / 4, in mt9v032_set_format()
513 __crop->width); in mt9v032_set_format()
515 max_t(unsigned int, __crop->height / 4, in mt9v032_set_format()
517 __crop->height); in mt9v032_set_format()
519 hratio = mt9v032_calc_ratio(__crop->width, width); in mt9v032_set_format()
520 vratio = mt9v032_calc_ratio(__crop->height, height); in mt9v032_set_format()
524 __format->width = __crop->width / hratio; in mt9v032_set_format()
525 __format->height = __crop->height / vratio; in mt9v032_set_format()
557 struct v4l2_rect *__crop; in mt9v032_set_selection() local
584 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_set_selection()
586 if (rect.width != __crop->width || rect.height != __crop->height) { in mt9v032_set_selection()
601 *__crop = rect; in mt9v032_set_selection()