Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_pm.c49 clk_info->vcodec_clk = devm_clk_get(&pdev->dev, in mtk_vcodec_init_enc_clk()
51 if (IS_ERR(clk_info->vcodec_clk)) { in mtk_vcodec_init_enc_clk()
54 return PTR_ERR(clk_info->vcodec_clk); in mtk_vcodec_init_enc_clk()
87 ret = clk_prepare_enable(enc_clk->clk_info[i].vcodec_clk); in mtk_vcodec_enc_clock_on()
99 clk_disable_unprepare(enc_clk->clk_info[i].vcodec_clk); in mtk_vcodec_enc_clock_on()
108 clk_disable_unprepare(enc_clk->clk_info[i].vcodec_clk); in mtk_vcodec_enc_clock_off()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_pm.c45 clk_info->vcodec_clk = devm_clk_get(&pdev->dev, in mtk_vcodec_init_dec_clk()
47 if (IS_ERR(clk_info->vcodec_clk)) { in mtk_vcodec_init_dec_clk()
49 return PTR_ERR(clk_info->vcodec_clk); in mtk_vcodec_init_dec_clk()
84 ret = clk_prepare_enable(dec_clk->clk_info[i].vcodec_clk); in mtk_vcodec_dec_clock_on()
95 clk_disable_unprepare(dec_clk->clk_info[i].vcodec_clk); in mtk_vcodec_dec_clock_on()
105 clk_disable_unprepare(dec_clk->clk_info[i].vcodec_clk); in mtk_vcodec_dec_clock_off()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_cmn_drv.h59 struct clk *vcodec_clk; member
/openbmc/linux/drivers/clk/qcom/
H A Dmmcc-msm8960.c1684 static struct clk_branch vcodec_clk = { variable
2783 [VCODEC_CLK] = &vcodec_clk.clkr,
2959 [VCODEC_CLK] = &vcodec_clk.clkr,