Lines Matching refs:supported_modes
538 static const struct imx415_mode supported_modes[] = { variable
787 u64 pixel_rate = supported_modes[sensor->cur_mode].pixel_rate; in imx415_ctrls_init()
788 u64 lane_rate = supported_modes[sensor->cur_mode].lane_rate; in imx415_ctrls_init()
827 hblank = supported_modes[sensor->cur_mode].hmax_pix - in imx415_ctrls_init()
878 if (mode >= ARRAY_SIZE(supported_modes)) { in imx415_set_mode()
884 supported_modes[mode].reg_list.regs, in imx415_set_mode()
885 supported_modes[mode].reg_list.num_of_regs, in imx415_set_mode()
1304 for (j = 0; j < ARRAY_SIZE(supported_modes); ++j) { in imx415_parse_hw_config()
1305 if (sensor->num_data_lanes != supported_modes[j].lanes) in imx415_parse_hw_config()
1308 supported_modes[j].lane_rate) in imx415_parse_hw_config()
1313 if (j < ARRAY_SIZE(supported_modes)) in imx415_parse_hw_config()
1322 lane_rate = supported_modes[sensor->cur_mode].lane_rate; in imx415_parse_hw_config()