H A D | gp_ops.c | 49 static void free_operation(const struct tc_call_params *call_params, 343 static int alloc_for_tmp_mem(const struct tc_call_params *call_params, in alloc_for_tmp_mem() argument 357 client_param = &(call_params->context->params[index]); in alloc_for_tmp_mem() 481 static int alloc_for_ref_mem(const struct tc_call_params *call_params, in alloc_for_ref_mem() argument 495 client_param = &(call_params->context->params[index]); in alloc_for_ref_mem() 501 mutex_lock(&call_params->dev->shared_mem_lock); in alloc_for_ref_mem() 503 &call_params->dev->shared_mem_list, head) { in alloc_for_ref_mem() 525 mutex_unlock(&call_params->dev->shared_mem_lock); in alloc_for_ref_mem() 612 static int transfer_shared_mem(const struct tc_call_params *call_params, in transfer_shared_mem() argument 628 client_param = &(call_params in transfer_shared_mem() 659 transfer_shared_mem(const struct tc_call_params *call_params, const struct tc_op_params *op_params, uint8_t kernel_params, uint32_t param_type, unsigned int index) transfer_shared_mem() argument 673 transfer_client_value(const struct tc_call_params *call_params, struct tc_op_params *op_params, uint8_t kernel_params, uint32_t param_type, unsigned int index) transfer_client_value() argument 713 alloc_operation(const struct tc_call_params *call_params, struct tc_op_params *op_params) alloc_operation() argument 774 update_tmp_mem(const struct tc_call_params *call_params, const struct tc_op_params *op_params, unsigned int index, bool is_complete) update_tmp_mem() argument 826 update_for_ref_mem(const struct tc_call_params *call_params, const struct tc_op_params *op_params, unsigned int index) update_for_ref_mem() argument 882 update_for_value(const struct tc_call_params *call_params, const struct tc_op_params *op_params, unsigned int index) update_for_value() argument 918 update_client_operation(const struct tc_call_params *call_params, const struct tc_op_params *op_params, bool is_complete) update_client_operation() argument 970 free_operation(const struct tc_call_params *call_params, struct tc_op_params *op_params) free_operation() argument 1026 is_clicall_params_vaild(const struct tc_call_params *call_params) is_clicall_params_vaild() argument 1065 init_smc_cmd(const struct tc_call_params *call_params, struct tc_op_params *op_params) init_smc_cmd() argument 1106 need_check_login(const struct tc_call_params *call_params, const struct tc_op_params *op_params) need_check_login() argument 1117 check_login_for_encrypt(const struct tc_call_params *call_params, struct tc_op_params *op_params) check_login_for_encrypt() argument 1151 reset_session_id(const struct tc_call_params *call_params, const struct tc_op_params *op_params, int tee_ret) reset_session_id() argument 1191 release_tc_call_resource(const struct tc_call_params *call_params, struct tc_op_params *op_params, int tee_ret) release_tc_call_resource() argument 1213 config_smc_cmd_context(const struct tc_call_params *call_params, struct tc_op_params *op_params) config_smc_cmd_context() argument 1227 handle_ta_pending(const struct tc_call_params *call_params, struct tc_op_params *op_params, int *tee_ret) handle_ta_pending() argument 1241 post_proc_smc_return(const struct tc_call_params *call_params, struct tc_op_params *op_params, int tee_ret) post_proc_smc_return() argument 1264 tc_client_call(const struct tc_call_params *call_params) tc_client_call() argument [all...] |