Lines Matching refs:lclk
67 int (*calc_scaling) (unsigned long pclk, unsigned long lclk,
2106 static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, in check_horiz_timing_omap3() argument
2124 blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); in check_horiz_timing_omap3()
2138 val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); in check_horiz_timing_omap3()
2149 val = div_u64((u64)nonactive * lclk, pclk); in check_horiz_timing_omap3()
2251 static int dispc_ovl_calc_scaling_24xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_24xx() argument
2297 static int dispc_ovl_calc_scaling_34xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_34xx() argument
2328 error = check_horiz_timing_omap3(pclk, lclk, mgr_timings, in dispc_ovl_calc_scaling_34xx()
2363 if (check_horiz_timing_omap3(pclk, lclk, mgr_timings, pos_x, in_width, in dispc_ovl_calc_scaling_34xx()
2382 static int dispc_ovl_calc_scaling_44xx(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling_44xx() argument
2427 static int dispc_ovl_calc_scaling(unsigned long pclk, unsigned long lclk, in dispc_ovl_calc_scaling() argument
2479 ret = dispc.feat->calc_scaling(pclk, lclk, mgr_timings, width, height, in dispc_ovl_calc_scaling()
2527 unsigned long lclk = dispc_mgr_lclk_rate(channel); in dispc_ovl_check() local
2547 return dispc_ovl_calc_scaling(pclk, lclk, caps, timings, in_width, in dispc_ovl_check()
2576 unsigned long lclk = dispc_plane_lclk_rate(plane); in dispc_ovl_setup_common() local
2616 r = dispc_ovl_calc_scaling(pclk, lclk, caps, mgr_timings, in_width, in dispc_ovl_setup_common()