Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec_pm.c65 clk_info->vcodec_clk = devm_clk_get(&pdev->dev, in mtk_vcodec_init_dec_pm()
67 if (IS_ERR(clk_info->vcodec_clk)) { in mtk_vcodec_init_dec_pm()
70 return PTR_ERR(clk_info->vcodec_clk); in mtk_vcodec_init_dec_pm()
108 ret = clk_prepare_enable(dec_clk->clk_info[i].vcodec_clk); in mtk_vcodec_dec_clock_on()
125 clk_disable_unprepare(dec_clk->clk_info[i].vcodec_clk); in mtk_vcodec_dec_clock_on()
135 clk_disable_unprepare(dec_clk->clk_info[i].vcodec_clk); in mtk_vcodec_dec_clock_off()
Dmtk_vcodec_enc_pm.c85 clk_info->vcodec_clk = devm_clk_get(&pdev->dev, in mtk_vcodec_init_enc_pm()
87 if (IS_ERR(clk_info->vcodec_clk)) { in mtk_vcodec_init_enc_pm()
90 return PTR_ERR(clk_info->vcodec_clk); in mtk_vcodec_init_enc_pm()
108 ret = clk_prepare_enable(enc_clk->clk_info[i].vcodec_clk); in mtk_vcodec_enc_clock_on()
133 clk_disable_unprepare(enc_clk->clk_info[i].vcodec_clk); in mtk_vcodec_enc_clock_on()
144 clk_disable_unprepare(enc_clk->clk_info[i].vcodec_clk); in mtk_vcodec_enc_clock_off()
Dmtk_vcodec_drv.h176 struct clk *vcodec_clk; member
/Linux-v5.10/drivers/clk/qcom/
Dmmcc-msm8960.c1624 static struct clk_branch vcodec_clk = { variable
2699 [VCODEC_CLK] = &vcodec_clk.clkr,
2875 [VCODEC_CLK] = &vcodec_clk.clkr,