Searched refs:esc_div (Results 1 – 2 of 2) sorted by relevance
651 unsigned long esc_div; in exynos_dsi_enable_clock() local661 esc_div = DIV_ROUND_UP(byte_clk, dsi->esc_clk_rate); in exynos_dsi_enable_clock()662 esc_clk = byte_clk / esc_div; in exynos_dsi_enable_clock()665 ++esc_div; in exynos_dsi_enable_clock()666 esc_clk = byte_clk / esc_div; in exynos_dsi_enable_clock()677 | DSIM_ESC_PRESCALER(esc_div) in exynos_dsi_enable_clock()
634 unsigned int esc_mhz, esc_div; in dsi_calc_clk_rate_v2() local655 esc_div = DIV_ROUND_UP(byte_mhz, esc_mhz); in dsi_calc_clk_rate_v2()663 if (esc_div >= 1 && esc_div <= 16) in dsi_calc_clk_rate_v2()670 msm_host->esc_clk_rate = msm_host->byte_clk_rate / esc_div; in dsi_calc_clk_rate_v2()