Lines Matching refs:crop
189 struct v4l2_rect crop; member
248 struct v4l2_rect *crop = &mt9v032->crop; in mt9v032_update_hblank() local
254 min_hblank = max_t(int, mt9v032->model->data->min_row_time - crop->width, in mt9v032_update_hblank()
373 return &mt9v032->crop; in __mt9v032_get_pad_crop()
384 struct v4l2_rect *crop = &mt9v032->crop; in mt9v032_s_stream() local
403 ret = regmap_write(map, MT9V032_COLUMN_START, crop->left); in mt9v032_s_stream()
407 ret = regmap_write(map, MT9V032_ROW_START, crop->top); in mt9v032_s_stream()
411 ret = regmap_write(map, MT9V032_WINDOW_WIDTH, crop->width); in mt9v032_s_stream()
415 ret = regmap_write(map, MT9V032_WINDOW_HEIGHT, crop->height); in mt9v032_s_stream()
923 struct v4l2_rect *crop; in mt9v032_open() local
925 crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); in mt9v032_open()
926 crop->left = MT9V032_COLUMN_START_DEF; in mt9v032_open()
927 crop->top = MT9V032_ROW_START_DEF; in mt9v032_open()
928 crop->width = MT9V032_WINDOW_WIDTH_DEF; in mt9v032_open()
929 crop->height = MT9V032_WINDOW_HEIGHT_DEF; in mt9v032_open()
1142 mt9v032->crop.left = MT9V032_COLUMN_START_DEF; in mt9v032_probe()
1143 mt9v032->crop.top = MT9V032_ROW_START_DEF; in mt9v032_probe()
1144 mt9v032->crop.width = MT9V032_WINDOW_WIDTH_DEF; in mt9v032_probe()
1145 mt9v032->crop.height = MT9V032_WINDOW_HEIGHT_DEF; in mt9v032_probe()