/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2019-2021. All rights reserved. * Description:KS comon macro and API. * Author: Hisilicon * Create: 2019/06/22 */ #ifndef DRV_KS_H #define DRV_KS_H #include "osal_ext.h" #include "td_type.h" #include "drv_keyslot_define.h" #include "drv_keyslot_ext.h" #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /* end of #ifdef __cplusplus */ td_s32 ks_open_impl(td_void **private_data); td_s32 ks_release_impl(td_void *private_data); td_s32 drv_ks_init(td_void); td_void drv_ks_deinit(td_void); #ifdef __cplusplus #if __cplusplus } #endif #endif /* end of #ifdef __cplusplus */ #endif /* end of #ifndef DRV_KS_H */