Lines Matching refs:supported_modes
642 static const struct ov5695_mode supported_modes[] = { variable
796 for (i = 0; i < ARRAY_SIZE(supported_modes); i++) { in ov5695_find_best_fit()
797 dist = ov5695_get_reso_dist(&supported_modes[i], framefmt); in ov5695_find_best_fit()
804 return &supported_modes[cur_best_fit]; in ov5695_find_best_fit()
877 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5695_enum_frame_sizes()
883 fse->min_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes()
884 fse->max_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes()
885 fse->max_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
886 fse->min_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
1043 const struct ov5695_mode *def_mode = &supported_modes[0]; in ov5695_open()
1265 ov5695->cur_mode = &supported_modes[0]; in ov5695_probe()