Lines Matching defs:mode
1159 static int ov13855_get_reso_dist(const struct ov13855_mode *mode,
1162 return abs(mode->width - framefmt->width) +
1163 abs(mode->height - framefmt->height);
1191 const struct ov13855_mode *mode;
1198 mode = ov13855_find_best_fit(fmt);
1200 fmt->format.width = mode->width;
1201 fmt->format.height = mode->height;
1211 ov13855->cur_mode = mode;
1212 h_blank = mode->hts_def - mode->width;
1215 vblank_def = mode->vts_def - mode->height;
1217 OV13855_VTS_MAX - mode->height,
1219 pixel_rate = (u32)link_freq_items[mode->link_freq_idx] / mode->bpp * 2 * lane_num;
1224 mode->link_freq_idx);
1237 const struct ov13855_mode *mode = ov13855->cur_mode;
1248 fmt->format.width = mode->width;
1249 fmt->format.height = mode->height;
1306 const struct ov13855_mode *mode = ov13855->cur_mode;
1309 fi->interval = mode->max_fps;
1804 const struct ov13855_mode *mode;
1813 mode = ov13855->cur_mode;
1823 dst_pixel_rate = (u32)link_freq_items[mode->link_freq_idx] / mode->bpp * 2 * lane_num;
1831 mode->link_freq_idx);
1833 h_blank = mode->hts_def - mode->width;
1839 vblank_def = mode->vts_def - mode->height;
1842 OV13855_VTS_MAX - mode->height,
1845 exposure_max = mode->vts_def - 4;
1849 mode->exp_def);