blob: ccdf313f0ca8e8906ce71c2335d25d74da957a63
1 | /* |
2 | * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
3 | * |
4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License as published by |
6 | * the Free Software Foundation; either version 2 of the License, or |
7 | * (at your option) any later version. |
8 | * |
9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
12 | * more details. |
13 | * |
14 | * You should have received a copy of the GNU General Public License along |
15 | * with this program; if not, write to the Free Software Foundation, Inc., |
16 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | * |
18 | * Description: |
19 | */ |
20 | |
21 | #ifndef _AML_VCODEC_DEC_PM_H_ |
22 | #define _AML_VCODEC_DEC_PM_H_ |
23 | |
24 | #include "aml_vcodec_drv.h" |
25 | |
26 | int aml_vcodec_init_dec_pm(struct aml_vcodec_dev *dev); |
27 | void aml_vcodec_release_dec_pm(struct aml_vcodec_dev *dev); |
28 | |
29 | void aml_vcodec_dec_pw_on(struct aml_vcodec_pm *pm); |
30 | void aml_vcodec_dec_pw_off(struct aml_vcodec_pm *pm); |
31 | void aml_vcodec_dec_clock_on(struct aml_vcodec_pm *pm); |
32 | void aml_vcodec_dec_clock_off(struct aml_vcodec_pm *pm); |
33 | |
34 | #endif /* _AML_VCODEC_DEC_PM_H_ */ |
35 |