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