Lines Matching refs:TeecResult
50 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_OpenSession() local
69 TeecResult = TEEC_ERROR_OUT_OF_MEMORY; in TEEC_SMC_OpenSession()
81 TeecResult = TEEC_ERROR_OUT_OF_MEMORY; in TEEC_SMC_OpenSession()
120 TeecResult = OpteeSmcCall(TeeSmc32Arg); in TEEC_SMC_OpenSession()
121 if (TeecResult != TEEC_SUCCESS) in TEEC_SMC_OpenSession()
125 TeecResult = TeeSmc32Arg->ret; in TEEC_SMC_OpenSession()
137 return TeecResult; in TEEC_SMC_OpenSession()
151 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_CloseSession() local
164 TeecResult = TEEC_ERROR_OUT_OF_MEMORY; in TEEC_SMC_CloseSession()
175 TeecResult = OpteeSmcCall(TeeSmc32Arg); in TEEC_SMC_CloseSession()
177 if (TeecResult != TEEC_SUCCESS) in TEEC_SMC_CloseSession()
180 TeecResult = TeeSmc32Arg->ret; in TEEC_SMC_CloseSession()
187 return TeecResult; in TEEC_SMC_CloseSession()
198 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_InvokeCommand() local
212 TeecResult = TEEC_ERROR_OUT_OF_MEMORY; in TEEC_SMC_InvokeCommand()
229 TeecResult = OpteeSmcCall(TeeSmc32Arg); in TEEC_SMC_InvokeCommand()
230 if (TeecResult != TEEC_SUCCESS) in TEEC_SMC_InvokeCommand()
233 TeecResult = TeeSmc32Arg->ret; in TEEC_SMC_InvokeCommand()
243 return TeecResult; in TEEC_SMC_InvokeCommand()
331 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeSmcCall() local
345 TeecResult = TEEC_ERROR_NOT_IMPLEMENTED; in OpteeSmcCall()
348 TeecResult = TEEC_ERROR_COMMUNICATION; in OpteeSmcCall()
351 TeecResult = TEEC_SUCCESS; in OpteeSmcCall()
356 return TeecResult; in OpteeSmcCall()