Lines Matching refs:num_param
107 static int param_to_msg_param(const struct tee_param *param, unsigned int num_param, in param_to_msg_param() argument
118 for (i = 0; i < num_param; i++, tp++, mtp++) { in param_to_msg_param()
173 static int msg_param_to_param(struct tee_param *param, unsigned int num_param, in msg_param_to_param() argument
184 for (i = 0; i < num_param; i++, tp++, mtp++) { in msg_param_to_param()
758 unsigned int num_param, struct tee_param *param, in optee_open_session() argument
770 OPTEE_MSG_GET_ARG_SIZE(num_param + 2), in optee_open_session()
778 memset(marg, 0, OPTEE_MSG_GET_ARG_SIZE(num_param + 2)); in optee_open_session()
780 marg->num_params = num_param + 2; in optee_open_session()
790 rc = param_to_msg_param(param, num_param, marg->params + 2); in optee_open_session()
801 rc = msg_param_to_param(param, num_param, marg->params); in optee_open_session()
859 unsigned int num_param, struct tee_param *param) in optee_invoke_func() argument
870 OPTEE_MSG_GET_ARG_SIZE(num_param), in optee_invoke_func()
878 memset(marg, 0, OPTEE_MSG_GET_ARG_SIZE(num_param)); in optee_invoke_func()
880 marg->num_params = num_param; in optee_invoke_func()
885 rc = param_to_msg_param(param, num_param, marg->params); in optee_invoke_func()
896 rc = msg_param_to_param(param, num_param, marg->params); in optee_invoke_func()