Home
last modified time | relevance | path

Searched refs:col_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
391 col_n = 0; in stk1160_try_fmt()
411 col_n = div_round_integer(width, base_width - width); in stk1160_try_fmt()
412 if (col_n > 0 && col_n <= 255) { in stk1160_try_fmt()
415 f->fmt.pix.width = (base_width * col_n) / (col_n + 1); in stk1160_try_fmt()
430 col_n = div_round_integer(base_width, width) - 1; in stk1160_try_fmt()
431 if (col_n > 0 && col_n <= 255) { in stk1160_try_fmt()
434 f->fmt.pix.width = base_width / (col_n + 1); in stk1160_try_fmt()
[all …]