Searched refs:enc_clk (Results 1 – 1 of 1) sorted by relevance
19 struct mtk_vcodec_clk *enc_clk; in mtk_vcodec_init_enc_clk() local27 enc_clk = &pm->venc_clk; in mtk_vcodec_init_enc_clk()29 enc_clk->clk_num = of_property_count_strings(pdev->dev.of_node, in mtk_vcodec_init_enc_clk()31 if (enc_clk->clk_num > 0) { in mtk_vcodec_init_enc_clk()32 enc_clk->clk_info = devm_kcalloc(&pdev->dev, in mtk_vcodec_init_enc_clk()33 enc_clk->clk_num, sizeof(*clk_info), in mtk_vcodec_init_enc_clk()35 if (!enc_clk->clk_info) in mtk_vcodec_init_enc_clk()42 for (i = 0; i < enc_clk->clk_num; i++) { in mtk_vcodec_init_enc_clk()43 clk_info = &enc_clk->clk_info[i]; in mtk_vcodec_init_enc_clk()64 struct mtk_vcodec_clk *enc_clk = &pm->venc_clk; in mtk_vcodec_enc_clock_on() local[all …]