Searched refs:lcd_clk (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimd.c | 154 struct clk *lcd_clk; member 320 clk_prepare_enable(ctx->lcd_clk); in fimd_clear_channels() 353 clk_disable_unprepare(ctx->lcd_clk); in fimd_clear_channels() 374 clkdiv = DIV_ROUND_UP(clk_get_rate(ctx->lcd_clk), ideal_clk); in fimd_calc_clkdiv() 763 ret = clk_prepare_enable(ctx->lcd_clk); in fimd_enable() 798 clk_disable_unprepare(ctx->lcd_clk); in fimd_disable() 1066 ctx->lcd_clk = devm_clk_get(dev, "sclk_fimd"); in fimd_probe() 1067 if (IS_ERR(ctx->lcd_clk)) { in fimd_probe() 1069 return PTR_ERR(ctx->lcd_clk); in fimd_probe()
|
/drivers/video/fbdev/ |
D | s3c-fb.c | 209 struct clk *lcd_clk; member 356 clk = clk_get_rate(sfb->lcd_clk); in s3c_fb_calc_pixclk() 1410 sfb->lcd_clk = devm_clk_get(dev, "sclk_fimd"); in s3c_fb_probe() 1411 if (IS_ERR(sfb->lcd_clk)) { in s3c_fb_probe() 1413 ret = PTR_ERR(sfb->lcd_clk); in s3c_fb_probe() 1417 clk_prepare_enable(sfb->lcd_clk); in s3c_fb_probe() 1506 clk_disable_unprepare(sfb->lcd_clk); in s3c_fb_probe() 1533 clk_disable_unprepare(sfb->lcd_clk); in s3c_fb_remove() 1562 clk_disable_unprepare(sfb->lcd_clk); in s3c_fb_suspend() 1584 clk_prepare_enable(sfb->lcd_clk); in s3c_fb_resume() [all …]
|
D | imxfb.c | 352 unsigned long lcd_clk; in imxfb_check_var() local 381 lcd_clk = clk_get_rate(fbi->clk_per); in imxfb_check_var() 383 tmp = var->pixclock * (unsigned long long)lcd_clk; in imxfb_check_var() 395 lcd_clk / pcr); in imxfb_check_var()
|
D | pxafb.c | 1224 static unsigned int __smart_timing(unsigned time_ns, unsigned long lcd_clk) in __smart_timing() argument 1226 unsigned int t = (time_ns * (lcd_clk / 1000000) / 1000); in __smart_timing()
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 576 unsigned int lcd_clk, div; in tilcdc_crtc_update_clk() local 592 lcd_clk = clk_get_rate(priv->clk); in tilcdc_crtc_update_clk() 593 div = lcd_clk / (crtc->mode.clock * 1000); in tilcdc_crtc_update_clk() 595 DBG("lcd_clk=%u, mode clock=%d, div=%u", lcd_clk, crtc->mode.clock, div); in tilcdc_crtc_update_clk()
|