Searched refs:ideal_clk (Results 1 – 2 of 2) sorted by relevance
420 unsigned long ideal_clk, lcd_rate; in fimd_atomic_check() local428 ideal_clk = mode->clock * 1000; in fimd_atomic_check()435 ideal_clk *= 2; in fimd_atomic_check()439 if (2 * lcd_rate < ideal_clk) { in fimd_atomic_check()442 lcd_rate, ideal_clk); in fimd_atomic_check()447 clkdiv = DIV_ROUND_CLOSEST(lcd_rate, ideal_clk); in fimd_atomic_check()450 ideal_clk); in fimd_atomic_check()
144 unsigned long ideal_clk = mode->clock; in decon_calc_clkdiv() local148 clkdiv = DIV_ROUND_UP(clk_get_rate(ctx->vclk), ideal_clk); in decon_calc_clkdiv()