Lines Matching refs:cur_mode

149 	const struct ov4688_mode *cur_mode;  member
883 ov4688->cur_mode = mode; in ov4688_set_fmt()
903 const struct ov4688_mode *mode = ov4688->cur_mode; in ov4688_get_fmt()
937 code->code = ov4688->cur_mode->bus_fmt; in ov4688_enum_mbus_code()
977 const struct ov4688_mode *mode = ov4688->cur_mode; in ov4688_g_frame_interval()
988 const struct ov4688_mode *mode = ov4688->cur_mode; in ov4688_g_mbus_config()
1029 hdr->hdr_mode = ov4688->cur_mode->hdr_mode; in ov4688_ioctl()
1033 w = ov4688->cur_mode->width; in ov4688_ioctl()
1034 h = ov4688->cur_mode->height; in ov4688_ioctl()
1039 ov4688->cur_mode = &supported_modes[i]; in ov4688_ioctl()
1049 w = ov4688->cur_mode->hts_def - ov4688->cur_mode->width; in ov4688_ioctl()
1050 h = ov4688->cur_mode->vts_def - ov4688->cur_mode->height; in ov4688_ioctl()
1053 OV4688_VTS_MAX - ov4688->cur_mode->height, 1, h); in ov4688_ioctl()
1182 ret = ov4688_write_array(ov4688->client, ov4688->cur_mode->reg_list); in __ov4688_start_stream()
1435 if (ov4688->cur_mode->width == 2688) { in ov4688_get_selection()
1436 sel->r.left = CROP_START(ov4688->cur_mode->width, 2560); in ov4688_get_selection()
1438 sel->r.top = CROP_START(ov4688->cur_mode->height, 1440); in ov4688_get_selection()
1441 sel->r.left = CROP_START(ov4688->cur_mode->width, 1920); in ov4688_get_selection()
1443 sel->r.top = CROP_START(ov4688->cur_mode->height, 1080); in ov4688_get_selection()
1506 max = ov4688->cur_mode->height + ctrl->val - 4; in ov4688_set_ctrl()
1549 ctrl->val + ov4688->cur_mode->height); in ov4688_set_ctrl()
1609 mode = ov4688->cur_mode; in ov4688_initialize_controls()
1743 ov4688->cur_mode = &supported_modes[i]; in ov4688_probe()
1748 ov4688->cur_mode = &supported_modes[0]; in ov4688_probe()