Lines Matching refs:row_n
43 unsigned int col_n, row_n; member
147 stk1160_write_reg(dev, STK1160_DMCTRL_V_UNITS, ctrl->row_n); in stk1160_set_fmt()
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()
466 ctrl->row_n = row_n; in stk1160_try_fmt()