Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/i2c/cx25840/
H A Dcx25840-core.c1755 u32 hsc, vsc, v_src, h_src, v_add; in cx25840_set_fmt() local
1782 v_add = is_50hz ? 4 : 7; in cx25840_set_fmt()
1792 v_add--; in cx25840_set_fmt()
1794 v_add = 0; in cx25840_set_fmt()
1798 v_src <= v_add) { in cx25840_set_fmt()
1811 if (v_add * 8 >= v_src) in cx25840_set_fmt()
1812 fmt->height = clamp(fmt->height, (u32)1, v_src - v_add); in cx25840_set_fmt()
1814 fmt->height = clamp(fmt->height, (v_src - v_add * 8 + 7) / 8, in cx25840_set_fmt()
1815 v_src - v_add); in cx25840_set_fmt()
1821 vsc = (1 << 16) - (v_src * (1 << 9) / (fmt->height + v_add) - (1 << 9)); in cx25840_set_fmt()