Home
last modified time | relevance | path

Searched refs:vsync_clk (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c23 struct clk *vsync_clk; member
142 if (mdp5_mdss->vsync_clk) in mdp5_mdss_enable()
143 clk_prepare_enable(mdp5_mdss->vsync_clk); in mdp5_mdss_enable()
153 if (mdp5_mdss->vsync_clk) in mdp5_mdss_disable()
154 clk_disable_unprepare(mdp5_mdss->vsync_clk); in mdp5_mdss_disable()
175 mdp5_mdss->vsync_clk = msm_clk_get(pdev, "vsync"); in msm_mdss_get_clocks()
176 if (IS_ERR(mdp5_mdss->vsync_clk)) in msm_mdss_get_clocks()
177 mdp5_mdss->vsync_clk = NULL; in msm_mdss_get_clocks()
Dmdp5_cmd_encoder.c28 if (IS_ERR_OR_NULL(mdp5_kms->vsync_clk)) { in pingpong_tearcheck_setup()
40 vsync_clk_speed = clk_round_rate(mdp5_kms->vsync_clk, VSYNC_CLK_RATE); in pingpong_tearcheck_setup()
81 ret = clk_set_rate(mdp5_kms->vsync_clk, in pingpong_tearcheck_enable()
82 clk_round_rate(mdp5_kms->vsync_clk, VSYNC_CLK_RATE)); in pingpong_tearcheck_enable()
88 ret = clk_prepare_enable(mdp5_kms->vsync_clk); in pingpong_tearcheck_enable()
107 clk_disable_unprepare(mdp5_kms->vsync_clk); in pingpong_tearcheck_disable()
Dmdp5_kms.h58 struct clk *vsync_clk; member
Dmdp5_kms.c867 ret = get_clk(pdev, &mdp5_kms->vsync_clk, "vsync", true); in mdp5_init()