1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2015, Linaro Limited 4 */ 5 #ifndef TEE_API_PRIVATE 6 #define TEE_API_PRIVATE 7 8 #include <tee_api_types.h> 9 #include <utee_types.h> 10 11 12 void __utee_from_attr(struct utee_attribute *ua, const TEE_Attribute *attrs, 13 uint32_t attr_count); 14 15 void __utee_from_param(struct utee_params *up, uint32_t param_types, 16 const TEE_Param params[TEE_NUM_PARAMS]); 17 18 void __utee_to_param(TEE_Param params[TEE_NUM_PARAMS], 19 uint32_t *param_types, const struct utee_params *up); 20 21 void __utee_entry(unsigned long func, unsigned long session_id, 22 struct utee_params *up, unsigned long cmd_id); 23 24 25 #if defined(CFG_TA_GPROF_SUPPORT) 26 void __utee_gprof_init(void); 27 void __utee_gprof_fini(void); 28 #else 29 static inline void __utee_gprof_init(void) {} 30 static inline void __utee_gprof_fini(void) {} 31 #endif 32 33 #endif /*TEE_API_PRIVATE*/ 34 35