Searched refs:esc_div (Results 1 – 2 of 2) sorted by relevance
674 unsigned long esc_div; in samsung_dsim_enable_clock() local694 esc_div = DIV_ROUND_UP(byte_clk, dsi->esc_clk_rate); in samsung_dsim_enable_clock()695 esc_clk = byte_clk / esc_div; in samsung_dsim_enable_clock()698 ++esc_div; in samsung_dsim_enable_clock()699 esc_clk = byte_clk / esc_div; in samsung_dsim_enable_clock()710 | DSIM_ESC_PRESCALER(esc_div) in samsung_dsim_enable_clock()
614 unsigned int esc_mhz, esc_div; in dsi_calc_clk_rate_v2() local633 esc_div = DIV_ROUND_UP(byte_mhz, esc_mhz); in dsi_calc_clk_rate_v2()641 if (esc_div >= 1 && esc_div <= 16) in dsi_calc_clk_rate_v2()648 msm_host->esc_clk_rate = msm_host->byte_clk_rate / esc_div; in dsi_calc_clk_rate_v2()