Lines Matching defs:optee
187 static void handle_rpc_func_cmd_wq(struct optee *optee,
199 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b);
202 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b);
267 struct optee *optee = tee_get_drvdata(ctx->teedev);
279 mutex_lock(&optee->supp.mutex);
281 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c);
282 mutex_unlock(&optee->supp.mutex);
287 struct optee *optee,
317 shm = tee_shm_alloc(optee->ctx, sz,
451 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee,
468 handle_rpc_func_cmd_wq(optee, arg);
475 handle_rpc_func_cmd_shm_alloc(ctx, optee, arg, call_ctx);
500 struct optee *optee = tee_get_drvdata(teedev);
506 shm = tee_shm_alloc(optee->ctx, param->a1,
533 handle_rpc_func_cmd(ctx, optee, shm, call_ctx);