Lines Matching refs:cur_mode
182 const struct ov50c40_mode *cur_mode; member
6038 ov50c40->cur_mode = mode; in ov50c40_set_fmt()
6066 const struct ov50c40_mode *mode = ov50c40->cur_mode; in ov50c40_get_fmt()
6095 code->code = ov50c40->cur_mode->bus_fmt; in ov50c40_enum_mbus_code()
6138 const struct ov50c40_mode *mode = ov50c40->cur_mode; in ov50c40_g_frame_interval()
6257 const struct ov50c40_mode *mode = ov50c40->cur_mode; in ov50c40_get_channel_info()
6270 ch_info->vc = ov50c40->cur_mode->vc[ch_info->index]; in ov50c40_get_channel_info()
6271 ch_info->width = ov50c40->cur_mode->width; in ov50c40_get_channel_info()
6272 ch_info->height = ov50c40->cur_mode->height; in ov50c40_get_channel_info()
6273 ch_info->bus_fmt = ov50c40->cur_mode->bus_fmt; in ov50c40_get_channel_info()
6290 w = ov50c40->cur_mode->width; in ov50c40_ioctl()
6291 h = ov50c40->cur_mode->height; in ov50c40_ioctl()
6296 ov50c40->cur_mode = &ov50c40->support_modes[i]; in ov50c40_ioctl()
6306 w = ov50c40->cur_mode->hts_def - ov50c40->cur_mode->width; in ov50c40_ioctl()
6307 h = ov50c40->cur_mode->vts_def - ov50c40->cur_mode->height; in ov50c40_ioctl()
6310 OV50C40_VTS_MAX - ov50c40->cur_mode->height, in ov50c40_ioctl()
6314 ov50c40->cur_mode->hdr_mode); in ov50c40_ioctl()
6325 hdr_cfg->hdr_mode = ov50c40->cur_mode->hdr_mode; in ov50c40_ioctl()
6463 ret = ov50c40_write_array(ov50c40->client, ov50c40->cur_mode->reg_list); in __ov50c40_start_stream()
6492 ov50c40->cur_mode->width, in ov50c40_s_stream()
6493 ov50c40->cur_mode->height, in ov50c40_s_stream()
6494 DIV_ROUND_CLOSEST(ov50c40->cur_mode->max_fps.denominator, in ov50c40_s_stream()
6495 ov50c40->cur_mode->max_fps.numerator)); in ov50c40_s_stream()
6742 sel->r.left = CROP_START(ov50c40->cur_mode->width, DST_WIDTH); in ov50c40_get_selection()
6744 sel->r.top = CROP_START(ov50c40->cur_mode->height, DST_HEIGHT); in ov50c40_get_selection()
6810 if (ov50c40->cur_mode->height == 6144) in ov50c40_set_ctrl()
6811 max = ov50c40->cur_mode->height + ctrl->val - 44; in ov50c40_set_ctrl()
6813 max = ov50c40->cur_mode->height + ctrl->val - 22; in ov50c40_set_ctrl()
6826 if (ov50c40->cur_mode->height == 6144) in ov50c40_set_ctrl()
6857 vts = ctrl->val + ov50c40->cur_mode->height; in ov50c40_set_ctrl()
6858 if (ov50c40->cur_mode->height == 6144) in ov50c40_set_ctrl()
6919 mode = ov50c40->cur_mode; in ov50c40_initialize_controls()
7082 ov50c40->cur_mode = &ov50c40->support_modes[0]; in ov50c40_probe()