Home
last modified time | relevance | path

Searched refs:size_enum (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/i2c/
H A Dov5648.c2302 struct v4l2_subdev_frame_size_enum *size_enum) in ov5648_enum_frame_size() argument
2306 if (size_enum->index >= ARRAY_SIZE(ov5648_modes)) in ov5648_enum_frame_size()
2309 mode = &ov5648_modes[size_enum->index]; in ov5648_enum_frame_size()
2311 size_enum->min_width = size_enum->max_width = mode->output_size_x; in ov5648_enum_frame_size()
2312 size_enum->min_height = size_enum->max_height = mode->output_size_y; in ov5648_enum_frame_size()
H A Dov8865.c2797 struct v4l2_subdev_frame_size_enum *size_enum) in ov8865_enum_frame_size() argument
2801 if (size_enum->index >= ARRAY_SIZE(ov8865_modes)) in ov8865_enum_frame_size()
2804 mode = &ov8865_modes[size_enum->index]; in ov8865_enum_frame_size()
2806 size_enum->min_width = size_enum->max_width = mode->output_size_x; in ov8865_enum_frame_size()
2807 size_enum->min_height = size_enum->max_height = mode->output_size_y; in ov8865_enum_frame_size()