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()
757 unsigned int num_param, struct tee_param *param, in optee_open_session() argument
769 OPTEE_MSG_GET_ARG_SIZE(num_param + 2), in optee_open_session()
777 memset(marg, 0, OPTEE_MSG_GET_ARG_SIZE(num_param + 2)); in optee_open_session()
779 marg->num_params = num_param + 2; in optee_open_session()
789 rc = param_to_msg_param(param, num_param, marg->params + 2); in optee_open_session()
800 rc = msg_param_to_param(param, num_param, marg->params); in optee_open_session()
858 unsigned int num_param, struct tee_param *param) in optee_invoke_func() argument
869 OPTEE_MSG_GET_ARG_SIZE(num_param), in optee_invoke_func()
877 memset(marg, 0, OPTEE_MSG_GET_ARG_SIZE(num_param)); in optee_invoke_func()
879 marg->num_params = num_param; in optee_invoke_func()
884 rc = param_to_msg_param(param, num_param, marg->params); in optee_invoke_func()
895 rc = msg_param_to_param(param, num_param, marg->params); in optee_invoke_func()