Lines Matching refs:cur_mode
331 const struct ov2740_mode *cur_mode; member
468 exposure_max = ov2740->cur_mode->height + ctrl->val - in ov2740_set_ctrl()
498 ov2740->cur_mode->height + ctrl->val); in ov2740_set_ctrl()
522 const struct ov2740_mode *cur_mode; in ov2740_init_controls() local
534 cur_mode = ov2740->cur_mode; in ov2740_init_controls()
549 vblank_min = cur_mode->vts_min - cur_mode->height; in ov2740_init_controls()
550 vblank_max = OV2740_VTS_MAX - cur_mode->height; in ov2740_init_controls()
551 vblank_default = cur_mode->vts_def - cur_mode->height; in ov2740_init_controls()
556 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index); in ov2740_init_controls()
557 h_blank -= cur_mode->width; in ov2740_init_controls()
570 exposure_max = cur_mode->vts_def - OV2740_EXPOSURE_MAX_MARGIN; in ov2740_init_controls()
604 link_freq_index = ov2740->cur_mode->link_freq_index; in ov2740_start_streaming()
612 reg_list = &ov2740->cur_mode->reg_list; in ov2740_start_streaming()
730 ov2740->cur_mode = mode; in ov2740_set_format()
763 ov2740_update_pad_format(ov2740->cur_mode, &fmt->format); in ov2740_get_format()
1083 ov2740->cur_mode = &supported_modes[0]; in ov2740_probe()