Home
last modified time | relevance | path

Searched refs:link_freq_menu_items (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/drivers/media/i2c/
Dov8856.c1455 const s64 link_freq_menu_items[2]; member
1605 static u64 to_rate(const s64 *link_freq_menu_items, in to_rate() argument
1608 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * nlanes; in to_rate()
1615 static u64 to_pixels_per_line(const s64 *link_freq_menu_items, u32 hts, in to_pixels_per_line() argument
1618 u64 ppl = hts * to_rate(link_freq_menu_items, f_index, nlanes); in to_pixels_per_line()
1946 (ov8856->priv_lane->link_freq_menu_items) in ov8856_init_controls()
1948 0, ov8856->priv_lane->link_freq_menu_items); in ov8856_init_controls()
1954 to_rate(ov8856->priv_lane->link_freq_menu_items, in ov8856_init_controls()
1957 to_rate(ov8856->priv_lane->link_freq_menu_items, in ov8856_init_controls()
1966 h_blank = to_pixels_per_line(ov8856->priv_lane->link_freq_menu_items, in ov8856_init_controls()
[all …]
Dog01a1b.c392 static const s64 link_freq_menu_items[] = { variable
444 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OG01A1B_DATA_LANES; in to_pixel_rate()
618 (link_freq_menu_items) - 1, in og01a1b_init_controls()
619 0, link_freq_menu_items); in og01a1b_init_controls()
997 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in og01a1b_check_hwcfg()
999 if (link_freq_menu_items[i] == in og01a1b_check_hwcfg()
1006 link_freq_menu_items[i]); in og01a1b_check_hwcfg()
Dhi556.c438 static const s64 link_freq_menu_items[] = { variable
505 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * HI556_DATA_LANES; in to_pixel_rate()
702 ARRAY_SIZE(link_freq_menu_items) - 1, in hi556_init_controls()
703 0, link_freq_menu_items); in hi556_init_controls()
1083 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in hi556_check_hwcfg()
1085 if (link_freq_menu_items[i] == in hi556_check_hwcfg()
1092 link_freq_menu_items[i]); in hi556_check_hwcfg()
Dov9734.c295 static const s64 link_freq_menu_items[] = { variable
352 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV9734_DATA_LANES; in to_pixel_rate()
555 size = ARRAY_SIZE(link_freq_menu_items); in ov9734_init_controls()
559 link_freq_menu_items); in ov9734_init_controls()
912 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov9734_check_hwcfg()
914 if (link_freq_menu_items[i] == in ov9734_check_hwcfg()
921 link_freq_menu_items[i]); in ov9734_check_hwcfg()
Dov13b10.c497 static const s64 link_freq_menu_items[] = { variable
999 link_freq = link_freq_menu_items[mode->link_freq_index]; in ov13b10_set_pad_format()
1215 max = ARRAY_SIZE(link_freq_menu_items) - 1; in ov13b10_init_controls()
1221 link_freq_menu_items); in ov13b10_init_controls()
1225 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in ov13b10_init_controls()
1358 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov13b10_check_hwcfg()
1360 if (link_freq_menu_items[i] == in ov13b10_check_hwcfg()
1367 link_freq_menu_items[i]); in ov13b10_check_hwcfg()
Dhi847.c2121 static const s64 link_freq_menu_items[] = { variable
2194 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * HI847_DATA_LANES; in to_pixel_rate()
2495 ARRAY_SIZE(link_freq_menu_items) - 1, in hi847_init_controls()
2496 0, link_freq_menu_items); in hi847_init_controls()
2885 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in hi847_check_hwcfg()
2887 if (link_freq_menu_items[i] == in hi847_check_hwcfg()
2894 link_freq_menu_items[i]); in hi847_check_hwcfg()
Dimx208.c221 static const s64 link_freq_menu_items[] = { variable
601 link_freq = link_freq_menu_items[mode->link_freq_index]; in imx208_set_pad_format()
900 ARRAY_SIZE(link_freq_menu_items) - 1, in imx208_init_controls()
901 0, link_freq_menu_items); in imx208_init_controls()
906 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in imx208_init_controls()
908 link_freq_to_pixel_rate(link_freq_menu_items[ARRAY_SIZE(link_freq_menu_items) - 1]); in imx208_init_controls()
Dov5675.c443 static const s64 link_freq_menu_items[] = { variable
510 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV5675_DATA_LANES; in to_pixel_rate()
779 ARRAY_SIZE(link_freq_menu_items) - 1, in ov5675_init_controls()
780 0, link_freq_menu_items); in ov5675_init_controls()
1157 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov5675_check_hwcfg()
1159 if (link_freq_menu_items[i] == in ov5675_check_hwcfg()
1166 link_freq_menu_items[i]); in ov5675_check_hwcfg()
Dov02a10.c245 static const s64 link_freq_menu_items[] = { variable
251 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV02A10_DATA_LANES; in to_pixel_rate()
755 link_freq_menu_items); in ov02a10_initialize_controls()
836 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov02a10_check_hwcfg()
838 if (link_freq_menu_items[i] == in ov02a10_check_hwcfg()
845 link_freq_menu_items[i]); in ov02a10_check_hwcfg()
Dimx258.c543 static const s64 link_freq_menu_items[] = { variable
919 link_freq = link_freq_menu_items[mode->link_freq_index]; in imx258_set_pad_format()
1168 ARRAY_SIZE(link_freq_menu_items) - 1, in imx258_init_controls()
1170 link_freq_menu_items); in imx258_init_controls()
1175 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in imx258_init_controls()
1176 pixel_rate_min = link_freq_to_pixel_rate(link_freq_menu_items[1]); in imx258_init_controls()
Dov2740.c297 static const s64 link_freq_menu_items[] = { variable
360 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * OV2740_DATA_LANES; in to_pixel_rate()
588 size = ARRAY_SIZE(link_freq_menu_items); in ov2740_init_controls()
593 link_freq_menu_items); in ov2740_init_controls()
1035 for (i = 0; i < ARRAY_SIZE(link_freq_menu_items); i++) { in ov2740_check_hwcfg()
1037 if (link_freq_menu_items[i] == in ov2740_check_hwcfg()
1044 link_freq_menu_items[i]); in ov2740_check_hwcfg()
Dov13858.c958 static const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = { variable
1380 link_freq = link_freq_menu_items[mode->link_freq_index]; in ov13858_set_pad_format()
1620 link_freq_menu_items); in ov13858_init_controls()
1624 pixel_rate_max = link_freq_to_pixel_rate(link_freq_menu_items[0]); in ov13858_init_controls()
1625 pixel_rate_min = link_freq_to_pixel_rate(link_freq_menu_items[1]); in ov13858_init_controls()
Dov2685.c211 static const s64 link_freq_menu_items[] = { variable
626 0, 0, link_freq_menu_items); in ov2685_initialize_controls()
630 pixel_rate = (link_freq_menu_items[0] * 2 * OV2685_LANES) / in ov2685_initialize_controls()
Dimx319.c1660 static const s64 link_freq_menu_items[] = { variable
2290 max = ARRAY_SIZE(link_freq_menu_items) - 1; in imx319_init_controls()
2293 link_freq_menu_items); in imx319_init_controls()
2464 imx319->link_def_freq = link_freq_menu_items[IMX319_LINK_FREQ_INDEX]; in imx319_probe()
Dimx355.c886 static const s64 link_freq_menu_items[] = { variable
1579 max = ARRAY_SIZE(link_freq_menu_items) - 1; in imx355_init_controls()
1582 link_freq_menu_items); in imx355_init_controls()
1749 imx355->link_def_freq = link_freq_menu_items[IMX355_LINK_FREQ_INDEX]; in imx355_probe()
Disl7998x.c435 static const s64 link_freq_menu_items[] = { variable
1409 link_freq_index >= ARRAY_SIZE(link_freq_menu_items)) { in isl7998x_init_controls()
1420 ARRAY_SIZE(link_freq_menu_items) - 1, in isl7998x_init_controls()
1422 link_freq_menu_items); in isl7998x_init_controls()
Dov5670.c1738 static const s64 link_freq_menu_items[] = { variable
2084 0, 0, link_freq_menu_items); in ov5670_init_controls()
Dov5695.c692 static const s64 link_freq_menu_items[] = { variable
1181 0, 0, link_freq_menu_items); in ov5695_initialize_controls()
Dov5693.c356 static const s64 link_freq_menu_items[] = { variable
1225 0, 0, link_freq_menu_items); in ov5693_init_controls()