Lines Matching refs:supported_modes
486 static const struct gc2145_mode supported_modes[] = { variable
701 gc2145_update_pad_format(gc2145, &supported_modes[0], format, in gc2145_init_state()
707 *crop = supported_modes[0].crop; in gc2145_init_state()
761 if (fse->index >= ARRAY_SIZE(supported_modes)) in gc2145_enum_frame_size()
769 fse->min_width = supported_modes[fse->index].width; in gc2145_enum_frame_size()
771 fse->min_height = supported_modes[fse->index].height; in gc2145_enum_frame_size()
789 mode = v4l2_find_nearest_size(supported_modes, in gc2145_set_pad_format()
790 ARRAY_SIZE(supported_modes), in gc2145_set_pad_format()
796 mode == &supported_modes[GC2145_MODE_640X480]) in gc2145_set_pad_format()
797 mode = &supported_modes[GC2145_MODE_1280X720]; in gc2145_set_pad_format()
1239 supported_modes[0].pixel_rate); in gc2145_init_controls()
1403 gc2145->mode = &supported_modes[0]; in gc2145_probe()