Searched refs:byte_clk (Results 1 – 3 of 3) sorted by relevance
/drivers/video/fbdev/exynos/ |
D | exynos_mipi_dsi_common.c | 558 unsigned long hs_clk = 0, byte_clk = 0, escape_clk = 0; in exynos_mipi_dsi_set_clock() local 577 byte_clk = hs_clk / 8; in exynos_mipi_dsi_set_clock() 592 esc_div = byte_clk / (dsim->dsim_config->esc_clk); in exynos_mipi_dsi_set_clock() 595 esc_div, byte_clk, dsim->dsim_config->esc_clk); in exynos_mipi_dsi_set_clock() 596 if ((byte_clk / esc_div) >= (20 * MHZ) || in exynos_mipi_dsi_set_clock() 597 (byte_clk / esc_div) > in exynos_mipi_dsi_set_clock() 601 escape_clk = byte_clk / esc_div; in exynos_mipi_dsi_set_clock() 604 escape_clk, byte_clk, esc_div); in exynos_mipi_dsi_set_clock() 616 (byte_clk / MHZ)); in exynos_mipi_dsi_set_clock() 621 ((byte_clk / esc_div) / MHZ)); in exynos_mipi_dsi_set_clock() [all …]
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 100 struct clk *byte_clk; member 334 msm_host->byte_clk = devm_clk_get(dev, "byte_clk"); in dsi_clk_init() 335 if (IS_ERR(msm_host->byte_clk)) { in dsi_clk_init() 336 ret = PTR_ERR(msm_host->byte_clk); in dsi_clk_init() 339 msm_host->byte_clk = NULL; in dsi_clk_init() 441 ret = clk_set_rate(msm_host->byte_clk, msm_host->byte_clk_rate); in dsi_link_clk_enable() 459 ret = clk_prepare_enable(msm_host->byte_clk); in dsi_link_clk_enable() 474 clk_disable_unprepare(msm_host->byte_clk); in dsi_link_clk_enable() 485 clk_disable_unprepare(msm_host->byte_clk); in dsi_link_clk_disable()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 640 unsigned long hs_clk, byte_clk, esc_clk; in exynos_dsi_enable_clock() local 650 byte_clk = hs_clk / 8; in exynos_dsi_enable_clock() 651 esc_div = DIV_ROUND_UP(byte_clk, dsi->esc_clk_rate); in exynos_dsi_enable_clock() 652 esc_clk = byte_clk / esc_div; in exynos_dsi_enable_clock() 656 esc_clk = byte_clk / esc_div; in exynos_dsi_enable_clock() 660 hs_clk, byte_clk, esc_clk); in exynos_dsi_enable_clock()
|