Lines Matching refs:decim_y
105 int *x_predecim, int *y_predecim, int *decim_x, int *decim_y,
2284 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_24xx() argument
2290 int min_factor = min(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2296 in_height = height / *decim_y; in dispc_ovl_calc_scaling_24xx()
2303 if (*decim_x == *decim_y) { in dispc_ovl_calc_scaling_24xx()
2305 ++*decim_y; in dispc_ovl_calc_scaling_24xx()
2307 swap(*decim_x, *decim_y); in dispc_ovl_calc_scaling_24xx()
2308 if (*decim_x < *decim_y) in dispc_ovl_calc_scaling_24xx()
2312 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_24xx()
2333 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_34xx() argument
2342 in_height = height / *decim_y; in dispc_ovl_calc_scaling_34xx()
2387 ++*decim_y; in dispc_ovl_calc_scaling_34xx()
2388 } while (*decim_x <= *x_predecim && *decim_y <= *y_predecim && error); in dispc_ovl_calc_scaling_34xx()
2421 int *decim_x, int *decim_y, in dispc_ovl_calc_scaling_44xx() argument
2427 u16 in_height = height / *decim_y; in dispc_ovl_calc_scaling_44xx()
2497 int decim_x, decim_y, ret; in dispc_ovl_calc_scaling() local
2547 decim_y = DIV_ROUND_UP(DIV_ROUND_UP(height, out_height), maxvdownscale); in dispc_ovl_calc_scaling()
2552 if (decim_y > *y_predecim || out_height > height * 8) in dispc_ovl_calc_scaling()
2558 &decim_x, &decim_y, pos_x, &core_clk, in dispc_ovl_calc_scaling()
2569 decim_x, decim_y, in dispc_ovl_calc_scaling()
2570 width / decim_x, height / decim_y, in dispc_ovl_calc_scaling()
2572 out_height / (height / decim_y), DIV_FRAC(out_height, height / decim_y), in dispc_ovl_calc_scaling()
2586 *y_predecim = decim_y; in dispc_ovl_calc_scaling()