Lines Matching refs:up
25 static TEE_Result copy_param(struct utee_params *up, uint32_t param_types, in copy_param() argument
83 up->types = param_types; in copy_param()
88 up->vals[n * 2] = params[n].value.a; in copy_param()
89 up->vals[n * 2 + 1] = params[n].value.b; in copy_param()
105 up->vals[n * 2] = (vaddr_t)b; in copy_param()
106 up->vals[n * 2 + 1] = s; in copy_param()
109 up->vals[n * 2] = 0; in copy_param()
110 up->vals[n * 2 + 1] = 0; in copy_param()
120 const struct utee_params *up) in update_out_param() argument
123 uint32_t types = up->types; in update_out_param()
126 uintptr_t a = up->vals[n * 2]; in update_out_param()
127 uintptr_t b = up->vals[n * 2 + 1]; in update_out_param()
156 struct utee_params up; in TEE_OpenTASession() local
168 res = copy_param(&up, paramTypes, params, &tmp_buf, &tmp_len, tmp_va); in TEE_OpenTASession()
172 &up, &s, returnOrigin); in TEE_OpenTASession()
173 update_out_param(params, tmp_va, &up); in TEE_OpenTASession()
212 struct utee_params up; in TEE_InvokeTACommand() local
225 res = copy_param(&up, paramTypes, params, &tmp_buf, &tmp_len, tmp_va); in TEE_InvokeTACommand()
230 commandID, &up, &ret_origin); in TEE_InvokeTACommand()
231 update_out_param(params, tmp_va, &up); in TEE_InvokeTACommand()