1 /* 2 * Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 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 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 */ 18 19 #ifndef __SOURCE_MSP_DRV_TDE_INIT__ 20 #define __SOURCE_MSP_DRV_TDE_INIT__ 21 22 #include "hi_type.h" 23 #include <linux/module.h> 24 #include <linux/interrupt.h> 25 26 #ifdef __cplusplus 27 #if __cplusplus 28 extern "C" { 29 #endif 30 #endif 31 32 hi_void set_tde_irq(unsigned int temp_tde_irq); 33 hi_s32 tde_drv_mod_init(hi_void); 34 hi_void tde_drv_mod_exit(hi_void); 35 hi_void tde_hal_set_base_vir_addr(hi_u32 *temp_base_vir_addr); 36 hi_void tde_init_set_buf(hi_u32 tde_buf); 37 hi_void tde_set_resize_filter(hi_bool is_resize_filter); 38 hi_void tde_set_tde_tmp_buffer(hi_u32 tde_tmp_buf); 39 40 #ifdef __cplusplus 41 #if __cplusplus 42 } 43 #endif 44 #endif 45 46 #endif /* __SOURCE_MSP_DRV_TDE_INIT__ */ 47