xref: /linux/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_pm.h (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2016 MediaTek Inc.
4  * Author: Tiffany Lin <tiffany.lin@mediatek.com>
5  */
6 
7 #ifndef _MTK_VCODEC_DEC_PM_H_
8 #define _MTK_VCODEC_DEC_PM_H_
9 
10 #include "mtk_vcodec_dec_drv.h"
11 
12 int mtk_vcodec_init_dec_clk(struct platform_device *pdev, struct mtk_vcodec_pm *pm);
13 
14 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
15 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
16 
17 #endif /* _MTK_VCODEC_DEC_PM_H_ */
18