Searched refs:optee (Results 1 – 10 of 10) sorted by relevance
/drivers/tee/optee/ |
D | core.c | 206 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local 208 if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_get_version() 210 if (optee->sec_caps & OPTEE_SMC_SEC_CAP_MEMREF_NULL) in optee_get_version() 224 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local 230 if (teedev == optee->supp_teedev) { in optee_open() 233 mutex_lock(&optee->supp.mutex); in optee_open() 234 if (!optee->supp.ctx) { in optee_open() 236 optee->supp.ctx = ctx; in optee_open() 238 mutex_unlock(&optee->supp.mutex); in optee_open() 244 if (!optee->scan_bus_done) { in optee_open() [all …]
|
D | Makefile | 2 obj-$(CONFIG_OPTEE) += optee.o 3 optee-objs += core.o 4 optee-objs += call.o 5 optee-objs += rpc.o 6 optee-objs += supp.o 7 optee-objs += shm_pool.o 8 optee-objs += device.o
|
D | call.c | 128 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_do_call_with_arg() local 137 optee_cq_wait_init(&optee->call_queue, &w); in optee_do_call_with_arg() 141 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg() 150 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_do_call_with_arg() 170 optee_cq_wait_final(&optee->call_queue, &w); in optee_do_call_with_arg() 397 void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument 402 optee_cq_wait_init(&optee->call_queue, &w); in optee_enable_shm_cache() 406 optee->invoke_fn(OPTEE_SMC_ENABLE_SHM_CACHE, 0, 0, 0, 0, 0, 0, in optee_enable_shm_cache() 410 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_enable_shm_cache() 412 optee_cq_wait_final(&optee->call_queue, &w); in optee_enable_shm_cache() [all …]
|
D | rpc.c | 187 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument 199 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 202 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 267 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local 279 mutex_lock(&optee->supp.mutex); in cmd_alloc_suppl() 281 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl() 282 mutex_unlock(&optee->supp.mutex); in cmd_alloc_suppl() 287 struct optee *optee, in handle_rpc_func_cmd_shm_alloc() argument 317 shm = tee_shm_alloc(optee->ctx, sz, in handle_rpc_func_cmd_shm_alloc() 451 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() argument [all …]
|
D | optee_private.h | 87 struct optee { struct 162 void optee_enable_shm_cache(struct optee *optee); 163 void optee_disable_shm_cache(struct optee *optee); 164 void optee_disable_unmapped_shm_cache(struct optee *optee);
|
D | supp.c | 80 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_supp_thrd_req() local 81 struct optee_supp *supp = &optee->supp; in optee_supp_thrd_req() 233 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_recv() local 234 struct optee_supp *supp = &optee->supp; in optee_supp_recv() 342 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_send() local 343 struct optee_supp *supp = &optee->supp; in optee_supp_send()
|
/drivers/tee/ |
D | Makefile | 6 obj-$(CONFIG_OPTEE) += optee/
|
D | Kconfig | 18 source "drivers/tee/optee/Kconfig"
|
/drivers/char/hw_random/ |
D | Makefile | 45 obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o
|
D | Kconfig | 492 will be called optee-rng.
|