Lines Matching defs:cur_mode
331 const struct ov2740_mode *cur_mode;
468 exposure_max = ov2740->cur_mode->height + ctrl->val -
498 ov2740->cur_mode->height + ctrl->val);
522 const struct ov2740_mode *cur_mode;
534 cur_mode = ov2740->cur_mode;
549 vblank_min = cur_mode->vts_min - cur_mode->height;
550 vblank_max = OV2740_VTS_MAX - cur_mode->height;
551 vblank_default = cur_mode->vts_def - cur_mode->height;
556 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index);
557 h_blank -= cur_mode->width;
570 exposure_max = cur_mode->vts_def - OV2740_EXPOSURE_MAX_MARGIN;
606 link_freq_index = ov2740->cur_mode->link_freq_index;
614 reg_list = &ov2740->cur_mode->reg_list;
732 ov2740->cur_mode = mode;
765 ov2740_update_pad_format(ov2740->cur_mode, &fmt->format);
1085 ov2740->cur_mode = &supported_modes[0];