Home
last modified time | relevance | path

Searched refs:ov772x_win_sizes (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov772x.c517 static const struct ov772x_win_size ov772x_win_sizes[] = { variable
939 const struct ov772x_win_size *win = &ov772x_win_sizes[0]; in ov772x_select_win()
943 for (i = 0; i < ARRAY_SIZE(ov772x_win_sizes); ++i) { in ov772x_select_win()
944 u32 diff = abs(width - ov772x_win_sizes[i].rect.width) in ov772x_select_win()
945 + abs(height - ov772x_win_sizes[i].rect.height); in ov772x_select_win()
948 win = &ov772x_win_sizes[i]; in ov772x_select_win()
1431 priv->win = &ov772x_win_sizes[0]; in ov772x_probe()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov772x.c520 static const struct ov772x_win_size ov772x_win_sizes[] = { variable
958 const struct ov772x_win_size *win = &ov772x_win_sizes[0]; in ov772x_select_win()
962 for (i = 0; i < ARRAY_SIZE(ov772x_win_sizes); ++i) { in ov772x_select_win()
963 u32 diff = abs(width - ov772x_win_sizes[i].rect.width) in ov772x_select_win()
964 + abs(height - ov772x_win_sizes[i].rect.height); in ov772x_select_win()
967 win = &ov772x_win_sizes[i]; in ov772x_select_win()
1500 priv->win = &ov772x_win_sizes[0]; in ov772x_probe()

Completed in 6 milliseconds