Home
last modified time | relevance | path

Searched refs:esc_div (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c653 unsigned long esc_div; in exynos_dsi_enable_clock() local
663 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()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_host.c718 unsigned int esc_mhz, esc_div; in dsi_calc_clk_rate_v2() local
739 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()