Searched refs:esc_div (Results 1 – 2 of 2) sorted by relevance
653 unsigned long esc_div; in exynos_dsi_enable_clock() local663 esc_div = DIV_ROUND_UP(byte_clk, dsi->esc_clk_rate); in exynos_dsi_enable_clock()664 esc_clk = byte_clk / esc_div; in exynos_dsi_enable_clock()667 ++esc_div; in exynos_dsi_enable_clock()668 esc_clk = byte_clk / esc_div; in exynos_dsi_enable_clock()679 | DSIM_ESC_PRESCALER(esc_div) in exynos_dsi_enable_clock()
718 unsigned int esc_mhz, esc_div; in dsi_calc_clk_rate_v2() local739 esc_div = DIV_ROUND_UP(byte_mhz, esc_mhz); in dsi_calc_clk_rate_v2()747 if (esc_div >= 1 && esc_div <= 16) in dsi_calc_clk_rate_v2()754 msm_host->esc_clk_rate = msm_host->byte_clk_rate / esc_div; in dsi_calc_clk_rate_v2()