GNU Linux-libre 5.19-rc6-gnu
[releases.git] / drivers / media / platform / mediatek / vcodec / mtk_vcodec_dec_pm.h
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_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_ctx *ctx, int hw_idx);
15 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_ctx *ctx, int hw_idx);
16
17 #endif /* _MTK_VCODEC_DEC_PM_H_ */