// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016 MediaTek Inc. * Author: Tiffany Lin <[email protected]> */ #include <linux/clk.h> #include <linux/of.h> #include <linux/pm_runtime.h> #include "mtk_vcodec_enc_drv.h" #include "mtk_vcodec_enc_pm.h" int mtk_vcodec_init_enc_clk(struct mtk_vcodec_enc_dev *mtkdev) { … } int mtk_vcodec_enc_pw_on(struct mtk_vcodec_pm *pm) { … } void mtk_vcodec_enc_pw_off(struct mtk_vcodec_pm *pm) { … } void mtk_vcodec_enc_clock_on(struct mtk_vcodec_pm *pm) { … } void mtk_vcodec_enc_clock_off(struct mtk_vcodec_pm *pm) { … }