Lines Matching refs:TeecResult

31 	TEEC_Result TeecResult = TEEC_SUCCESS;  in OpteeRpcAlloc()  local
40 TeecResult = TEEC_ERROR_OUT_OF_MEMORY; in OpteeRpcAlloc()
44 return TeecResult; in OpteeRpcAlloc()
83 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadTa() local
89 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdLoadTa()
102 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdLoadTa()
120 TeecResult = TEEC_ERROR_ITEM_NOT_FOUND; in OpteeRpcCmdLoadTa()
127 TeecResult = TEEC_ERROR_OUT_OF_MEMORY; in OpteeRpcCmdLoadTa()
144 TeeSmc32Arg->ret = TeecResult; in OpteeRpcCmdLoadTa()
147 debug("TEEC: OpteeRpcCmdLoadTa Exit : TeecResult=0x%X\n", TeecResult); in OpteeRpcCmdLoadTa()
149 return TeecResult; in OpteeRpcCmdLoadTa()
154 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadV2Ta() local
160 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdLoadV2Ta()
182 TeeSmc32Arg->ret = TeecResult; in OpteeRpcCmdLoadV2Ta()
185 debug("TEEC: OpteeRpcCmdLoadTa Exit : TeecResult=0x%X\n", TeecResult); in OpteeRpcCmdLoadV2Ta()
187 return TeecResult; in OpteeRpcCmdLoadV2Ta()
200 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdFreeTa() local
206 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdFreeTa()
219 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdFreeTa()
226 TeeSmc32Arg->ret = TeecResult; in OpteeRpcCmdFreeTa()
229 debug("TEEC: OpteeRpcCmdFreeTa Exit : TeecResult=0x%X\n", TeecResult); in OpteeRpcCmdFreeTa()
231 return TeecResult; in OpteeRpcCmdFreeTa()
251 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdRpmb() local
258 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdRpmb()
315 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
323 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
328 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
337 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
345 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
349 TeecResult = TEEC_SUCCESS; in OpteeRpcCmdRpmb()
355 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
363 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
368 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
377 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
385 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
390 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
398 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdRpmb()
401 debug("TEEC: RPMB TeecResult %d\n", TeecResult); in OpteeRpcCmdRpmb()
407 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
413 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
418 TeecResult = TEEC_ERROR_GENERIC; in OpteeRpcCmdRpmb()
450 TeecResult = TEEC_ERROR_BAD_PARAMETERS; in OpteeRpcCmdRpmb()
502 TeeSmc32Arg->ret = TeecResult; in OpteeRpcCmdRpmb()
505 return TeecResult; in OpteeRpcCmdRpmb()
514 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdFs() local
519 TeecResult = OpteeClientRkFsProcess((void *)(size_t)TeeSmc32Param[0].u.memref.buf_ptr, in OpteeRpcCmdFs()
524 TeecResult = OpteeClientRkFsProcess((size_t)TeeSmc32Arg->num_params, in OpteeRpcCmdFs()
526 TeeSmc32Arg->ret = TeecResult; in OpteeRpcCmdFs()
528 return TeecResult; in OpteeRpcCmdFs()
552 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCallback() local
560 TeecResult = OpteeRpcAlloc(ArmSmcArgs->Arg1, &ArmSmcArgs->Arg2); in OpteeRpcCallback()
568 TeecResult = OpteeRpcAlloc(ArmSmcArgs->Arg1, &ArmSmcArgs->Arg1); in OpteeRpcCallback()
573 TeecResult = OpteeRpcFree(ArmSmcArgs->Arg2); in OpteeRpcCallback()
578 TeecResult = OpteeRpcFree(ArmSmcArgs->Arg1); in OpteeRpcCallback()
594 TeecResult = OpteeRpcAlloc(allocsize, &tempaddr); in OpteeRpcCallback()
605 TeecResult = OpteeRpcFree(tempaddr); in OpteeRpcCallback()
611 TeecResult = OpteeRpcCmdRpmb(TeeSmc32Arg); in OpteeRpcCallback()
616 TeecResult = OpteeRpcCmdFs(TeeSmc32Arg); in OpteeRpcCallback()
620 TeecResult = OpteeRpcCmdLoadV2Ta(TeeSmc32Arg); in OpteeRpcCallback()
627 TeecResult = TEEC_ERROR_NOT_IMPLEMENTED; in OpteeRpcCallback()
636 TeecResult = OpteeRpcAlloc(ArmSmcArgs->Arg1, &ArmSmcArgs->Arg1); in OpteeRpcCallback()
642 TeecResult = OpteeRpcFree(ArmSmcArgs->Arg1); in OpteeRpcCallback()
648 TeecResult = TEEC_ERROR_NOT_IMPLEMENTED; in OpteeRpcCallback()
654 debug("TEEC: OpteeRpcCallback Exit : TeecResult=0x%X\n", TeecResult); in OpteeRpcCallback()
656 return TeecResult; in OpteeRpcCallback()