Lines Matching refs:support_modes
211 const struct IMX464_mode *support_modes; member
1563 dist = IMX464_get_reso_dist(&IMX464->support_modes[i], framefmt); in IMX464_find_best_fit()
1565 IMX464->support_modes[i].bus_fmt == framefmt->code) { in IMX464_find_best_fit()
1571 return &IMX464->support_modes[cur_best_fit]; in IMX464_find_best_fit()
1672 if (fse->code != IMX464->support_modes[fse->index].bus_fmt) in IMX464_enum_frame_sizes()
1675 fse->min_width = IMX464->support_modes[fse->index].width; in IMX464_enum_frame_sizes()
1676 fse->max_width = IMX464->support_modes[fse->index].width; in IMX464_enum_frame_sizes()
1677 fse->max_height = IMX464->support_modes[fse->index].height; in IMX464_enum_frame_sizes()
1678 fse->min_height = IMX464->support_modes[fse->index].height; in IMX464_enum_frame_sizes()
2318 if (w == IMX464->support_modes[i].width && in IMX464_ioctl()
2319 h == IMX464->support_modes[i].height && in IMX464_ioctl()
2320 IMX464->support_modes[i].hdr_mode == hdr->hdr_mode) { in IMX464_ioctl()
2321 IMX464->cur_mode = &IMX464->support_modes[i]; in IMX464_ioctl()
2782 const struct IMX464_mode *def_mode = &IMX464->support_modes[0]; in IMX464_open()
2807 fie->code = IMX464->support_modes[fie->index].bus_fmt; in IMX464_enum_frame_interval()
2808 fie->width = IMX464->support_modes[fie->index].width; in IMX464_enum_frame_interval()
2809 fie->height = IMX464->support_modes[fie->index].height; in IMX464_enum_frame_interval()
2810 fie->interval = IMX464->support_modes[fie->index].max_fps; in IMX464_enum_frame_interval()
2811 fie->reserved[0] = IMX464->support_modes[fie->index].hdr_mode; in IMX464_enum_frame_interval()
3216 IMX464->support_modes = supported_modes; in IMX464_probe()
3219 IMX464->support_modes = supported_modes_2lane; in IMX464_probe()
3224 if (hdr_mode == IMX464->support_modes[i].hdr_mode) { in IMX464_probe()
3225 IMX464->cur_mode = &IMX464->support_modes[i]; in IMX464_probe()
3229 IMX464->cur_mode = &IMX464->support_modes[0]; in IMX464_probe()