Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c43 unsigned int col_n, row_n; member
150 val, ctrl->col_n, ctrl->row_n); in stk1160_set_fmt()
377 unsigned int col_n, row_n; in stk1160_try_fmt() local
392 row_n = 0; in stk1160_try_fmt()
439 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
440 if (row_n > 0 && row_n <= 255) { in stk1160_try_fmt()
443 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
447 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
448 if (row_n > 0 && row_n <= 255) { in stk1160_try_fmt()
451 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
[all …]