/Linux-v6.1/drivers/media/i2c/ |
D | ov8856.c | 1455 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 …]
|
D | og01a1b.c | 392 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()
|
D | hi556.c | 438 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()
|
D | ov9734.c | 295 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()
|
D | ov13b10.c | 497 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()
|
D | hi847.c | 2121 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()
|
D | imx208.c | 221 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()
|
D | ov5675.c | 443 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()
|
D | ov02a10.c | 245 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()
|
D | imx258.c | 543 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()
|
D | ov2740.c | 297 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()
|
D | ov13858.c | 958 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()
|
D | ov2685.c | 211 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()
|
D | imx319.c | 1660 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()
|
D | imx355.c | 886 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()
|
D | isl7998x.c | 435 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()
|
D | ov5670.c | 1738 static const s64 link_freq_menu_items[] = { variable 2084 0, 0, link_freq_menu_items); in ov5670_init_controls()
|
D | ov5695.c | 692 static const s64 link_freq_menu_items[] = { variable 1181 0, 0, link_freq_menu_items); in ov5695_initialize_controls()
|
D | ov5693.c | 356 static const s64 link_freq_menu_items[] = { variable 1225 0, 0, link_freq_menu_items); in ov5693_init_controls()
|