| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2016 MediaTek Inc. |
|---|
| 3 | 4 | * Author: Tiffany Lin <tiffany.lin@mediatek.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 7 | | - * published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | 5 | */ |
|---|
| 14 | 6 | |
|---|
| 15 | 7 | #ifndef _MTK_VCODEC_DEC_PM_H_ |
|---|
| .. | .. |
|---|
| 20 | 12 | int mtk_vcodec_init_dec_pm(struct mtk_vcodec_dev *dev); |
|---|
| 21 | 13 | void mtk_vcodec_release_dec_pm(struct mtk_vcodec_dev *dev); |
|---|
| 22 | 14 | |
|---|
| 23 | | -void mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm); |
|---|
| 15 | +int mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm); |
|---|
| 24 | 16 | void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm); |
|---|
| 25 | 17 | void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm); |
|---|
| 26 | 18 | void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm); |
|---|