/Linux-v4.19/drivers/tee/optee/ |
D | core.c | 223 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local 225 if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_get_version() 234 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local 240 if (teedev == optee->supp_teedev) { in optee_open() 243 mutex_lock(&optee->supp.mutex); in optee_open() 244 if (!optee->supp.ctx) { in optee_open() 246 optee->supp.ctx = ctx; in optee_open() 248 mutex_unlock(&optee->supp.mutex); in optee_open() 266 struct optee *optee = tee_get_drvdata(teedev); in optee_release() local 308 if (teedev == optee->supp_teedev) in optee_release() [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
|
D | rpc.c | 103 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument 115 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 118 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 183 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local 195 mutex_lock(&optee->supp.mutex); in cmd_alloc_suppl() 197 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl() 198 mutex_unlock(&optee->supp.mutex); in cmd_alloc_suppl() 365 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() argument 382 handle_rpc_func_cmd_wq(optee, arg); in handle_rpc_func_cmd() 411 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local [all …]
|
D | call.c | 136 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_do_call_with_arg() local 145 optee_cq_wait_init(&optee->call_queue, &w); in optee_do_call_with_arg() 149 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg() 158 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_do_call_with_arg() 176 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 | supp.c | 89 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_supp_thrd_req() local 90 struct optee_supp *supp = &optee->supp; in optee_supp_thrd_req() 232 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_recv() local 233 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()
|
D | optee_private.h | 90 struct optee { struct 161 void optee_enable_shm_cache(struct optee *optee); 162 void optee_disable_shm_cache(struct optee *optee);
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/firmware/ |
D | linaro,optee-tz.txt | 12 - compatible : should contain "linaro,optee-tz" 18 in drivers/tee/optee/optee_smc.h 21 in drivers/tee/optee/optee_smc.h 27 optee { 28 compatible = "linaro,optee-tz";
|
/Linux-v4.19/arch/arm64/boot/dts/ti/ |
D | k3-am65.dtsi | 22 optee { 23 compatible = "linaro,optee-tz";
|
/Linux-v4.19/drivers/tee/ |
D | Makefile | 6 obj-$(CONFIG_OPTEE) += optee/
|
D | Kconfig | 15 source "drivers/tee/optee/Kconfig"
|
/Linux-v4.19/Documentation/ |
D | tee.txt | 122 [3] drivers/tee/optee/optee_smc.h 124 [4] drivers/tee/optee/optee_msg.h
|
/Linux-v4.19/arch/arm64/boot/dts/freescale/ |
D | fsl-ls1012a.dtsi | 503 optee { 504 compatible = "linaro,optee-tz";
|
D | fsl-ls1088a.dtsi | 644 optee { 645 compatible = "linaro,optee-tz";
|
D | fsl-ls1043a.dtsi | 740 optee { 741 compatible = "linaro,optee-tz";
|
D | fsl-ls1046a.dtsi | 737 optee { 738 compatible = "linaro,optee-tz";
|
D | fsl-ls208xa.dtsi | 755 optee { 756 compatible = "linaro,optee-tz";
|
/Linux-v4.19/arch/arm64/boot/dts/hisilicon/ |
D | hi3660-hikey960.dts | 194 optee { 195 compatible = "linaro,optee-tz";
|
D | hi6220-hikey.dts | 470 optee { 471 compatible = "linaro,optee-tz";
|
/Linux-v4.19/ |
D | MAINTAINERS | 10770 F: drivers/tee/optee/
|