1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
| // Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
|
| #ifndef NPU_POWERCTRL_H
| #define NPU_POWERCTRL_H
|
| #ifdef __cplusplus
| extern "C" {
| #endif
|
| void npu_power_gpio_init(void);
| void npu_power_gpio_exit(void);
| void npu_reset(void);
| int npu_suspend(void);
| int npu_resume(void);
| void npu_poweroff(void);
|
| #ifdef __cplusplus
| }
| #endif
|
| #endif
|
|