Searched refs:ideal_clk (Results 1 – 2 of 2) sorted by relevance
419 unsigned long ideal_clk, lcd_rate; in fimd_atomic_check() local427 ideal_clk = mode->clock * 1000; in fimd_atomic_check()434 ideal_clk *= 2; in fimd_atomic_check()438 if (2 * lcd_rate < ideal_clk) { in fimd_atomic_check()441 lcd_rate, ideal_clk); in fimd_atomic_check()446 clkdiv = DIV_ROUND_CLOSEST(lcd_rate, ideal_clk); in fimd_atomic_check()449 ideal_clk); in fimd_atomic_check()
143 unsigned long ideal_clk = mode->clock; in decon_calc_clkdiv() local147 clkdiv = DIV_ROUND_UP(clk_get_rate(ctx->vclk), ideal_clk); in decon_calc_clkdiv()