Lines Matching refs:cur_mode
531 const struct ov2740_mode *cur_mode;
703 exposure_max = ov2740->cur_mode->height + ctrl->val -
733 ov2740->cur_mode->height + ctrl->val);
757 const struct ov2740_mode *cur_mode;
768 cur_mode = ov2740->cur_mode;
783 vblank_min = cur_mode->vts_min - cur_mode->height;
784 vblank_max = cur_mode->vts_max - cur_mode->height;
785 vblank_default = cur_mode->vts_def - cur_mode->height;
790 h_blank = cur_mode->hts - cur_mode->width;
803 exposure_max = cur_mode->vts_def - OV2740_EXPOSURE_MAX_MARGIN;
945 link_freq_index = ov2740->cur_mode->link_freq_index;
953 reg_list = &ov2740->cur_mode->reg_list;
1031 ov2740->cur_mode = mode;
1358 ov2740->cur_mode = &ov2740->supported_modes[0];