Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c651 unsigned long esc_div; in exynos_dsi_enable_clock() local
661 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()
/linux-6.1.9/drivers/gpu/drm/msm/dsi/
Ddsi_host.c634 unsigned int esc_mhz, esc_div; in dsi_calc_clk_rate_v2() local
655 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()