Lines Matching refs:context
138 TEEC_Context *context) in TEEC_InitializeContext() argument
144 name, context->devname, context->fd); in TEEC_InitializeContext()
147 if (context == NULL) { in TEEC_InitializeContext()
157 memset(context, 0, sizeof(*context)); in TEEC_InitializeContext()
181 TEEC_Result TEEC_FinalizeContext(TEEC_Context *context) in TEEC_FinalizeContext() argument
196 (size_t)context); in TEEC_FinalizeContext()
207 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context, in TEEC_AllocateSharedMemory() argument
213 context->devname, context->fd, shared_memory->size); in TEEC_AllocateSharedMemory()
215 if ((context == NULL) || (shared_memory == NULL)) { in TEEC_AllocateSharedMemory()
279 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context, in TEEC_RegisterSharedMemory() argument
284 if ((context == NULL) || (shared_memory == NULL)) { in TEEC_RegisterSharedMemory()
304 (context, &TempSharedMemory); in TEEC_RegisterSharedMemory()
324 TEEC_Result TEEC_OpenSession(TEEC_Context *context, in TEEC_OpenSession() argument
337 if ((context == NULL) || (session == NULL) || (destination == NULL)) { in TEEC_OpenSession()
357 TeecResult = TEEC_SMC_OpenSession(context, session, destination, in TEEC_OpenSession()