Lines Matching full:optee
188 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument
200 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq()
203 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq()
268 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local
280 mutex_lock(&optee->supp.mutex); in cmd_alloc_suppl()
282 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl()
283 mutex_unlock(&optee->supp.mutex); in cmd_alloc_suppl()
450 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() argument
467 handle_rpc_func_cmd_wq(optee, arg); in handle_rpc_func_cmd()
499 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
532 handle_rpc_func_cmd(ctx, optee, shm, call_ctx); in optee_handle_rpc()