Lines Matching refs:supported_modes
148 static const struct ov7725_mode supported_modes[] = { variable
205 for (i = 0; i < ARRAY_SIZE(supported_modes); i++) { in ov7725_find_best_fit()
206 dist = ov7725_get_reso_dist(&supported_modes[i], framefmt); in ov7725_find_best_fit()
213 return &supported_modes[cur_best_fit]; in ov7725_find_best_fit()
278 if (code->index >= ARRAY_SIZE(supported_modes)) in ov7725_enum_mbus_code()
292 if (index >= ARRAY_SIZE(supported_modes)) in ov7725_enum_frame_sizes()
297 fse->min_width = supported_modes[index].width; in ov7725_enum_frame_sizes()
298 fse->max_width = supported_modes[index].width; in ov7725_enum_frame_sizes()
299 fse->max_height = supported_modes[index].height; in ov7725_enum_frame_sizes()
300 fse->min_height = supported_modes[index].height; in ov7725_enum_frame_sizes()
393 const struct ov7725_mode *def_mode = &supported_modes[0]; in ov7725_open()
500 ov7725->cur_mode = &supported_modes[0]; in ov7725_probe()