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