Lines Matching refs:cur_mode
337 const struct ov2740_mode *cur_mode;
520 exposure_max = ov2740->cur_mode->height + ctrl->val -
550 ov2740->cur_mode->height + ctrl->val);
574 const struct ov2740_mode *cur_mode;
586 cur_mode = ov2740->cur_mode;
601 vblank_min = cur_mode->vts_min - cur_mode->height;
602 vblank_max = OV2740_VTS_MAX - cur_mode->height;
603 vblank_default = cur_mode->vts_def - cur_mode->height;
608 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index);
609 h_blank -= cur_mode->width;
622 exposure_max = cur_mode->vts_def - OV2740_EXPOSURE_MAX_MARGIN;
755 link_freq_index = ov2740->cur_mode->link_freq_index;
763 reg_list = &ov2740->cur_mode->reg_list;
878 ov2740->cur_mode = mode;
912 ov2740_update_pad_format(ov2740->cur_mode, &fmt->format);
1157 ov2740->cur_mode = &supported_modes[0];