Lines Matching refs:new_mode
1222 const struct ov7251_mode_info *new_mode; in ov7251_set_format() local
1230 new_mode = v4l2_find_nearest_size(ov7251_mode_info_data, in ov7251_set_format()
1235 __crop->width = new_mode->width; in ov7251_set_format()
1236 __crop->height = new_mode->height; in ov7251_set_format()
1240 1, new_mode->exposure_max, in ov7251_set_format()
1241 1, new_mode->exposure_def); in ov7251_set_format()
1246 new_mode->exposure_def); in ov7251_set_format()
1254 vblank_max = OV7251_TIMING_MAX_VTS - new_mode->height; in ov7251_set_format()
1255 vblank_def = new_mode->vts - new_mode->height; in ov7251_set_format()
1262 ov7251->current_mode = new_mode; in ov7251_set_format()
1402 const struct ov7251_mode_info *new_mode; in ov7251_set_frame_interval() local
1406 new_mode = ov7251_find_mode_by_ival(ov7251, &fi->interval); in ov7251_set_frame_interval()
1408 if (new_mode != ov7251->current_mode) { in ov7251_set_frame_interval()
1410 1, new_mode->exposure_max, in ov7251_set_frame_interval()
1411 1, new_mode->exposure_def); in ov7251_set_frame_interval()
1416 new_mode->exposure_def); in ov7251_set_frame_interval()
1424 ov7251->current_mode = new_mode; in ov7251_set_frame_interval()