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()
373 unsigned int col_n, row_n; in stk1160_try_fmt() local
388 row_n = 0; in stk1160_try_fmt()
435 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
436 if (row_n > 0 && row_n <= 255) { in stk1160_try_fmt()
439 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
443 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
444 if (row_n > 0 && row_n <= 255) { in stk1160_try_fmt()
447 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
462 ctrl->row_n = row_n; in stk1160_try_fmt()