| /Linux-v5.10/drivers/tee/optee/ |
| D | core.c | 215 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local 217 if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) in optee_get_version() 219 if (optee->sec_caps & OPTEE_SMC_SEC_CAP_MEMREF_NULL) in optee_get_version() 233 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local 239 if (teedev == optee->supp_teedev) { in optee_open() 242 mutex_lock(&optee->supp.mutex); in optee_open() 243 if (!optee->supp.ctx) { in optee_open() 245 optee->supp.ctx = ctx; in optee_open() 247 mutex_unlock(&optee->supp.mutex); in optee_open() 253 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 | 127 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_do_call_with_arg() local 136 optee_cq_wait_init(&optee->call_queue, &w); in optee_do_call_with_arg() 140 optee->invoke_fn(param.a0, param.a1, param.a2, param.a3, in optee_do_call_with_arg() 149 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_do_call_with_arg() 168 optee_cq_wait_final(&optee->call_queue, &w); in optee_do_call_with_arg() 393 void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument 398 optee_cq_wait_init(&optee->call_queue, &w); in optee_enable_shm_cache() 402 optee->invoke_fn(OPTEE_SMC_ENABLE_SHM_CACHE, 0, 0, 0, 0, 0, 0, in optee_enable_shm_cache() 406 optee_cq_wait_for_completion(&optee->call_queue, &w); in optee_enable_shm_cache() 408 optee_cq_wait_final(&optee->call_queue, &w); in optee_enable_shm_cache() [all …]
|
| D | rpc.c | 186 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument 198 wq_sleep(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 201 wq_wakeup(&optee->wait_queue, arg->params[0].u.value.b); in handle_rpc_func_cmd_wq() 266 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local 278 mutex_lock(&optee->supp.mutex); in cmd_alloc_suppl() 280 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl() 281 mutex_unlock(&optee->supp.mutex); in cmd_alloc_suppl() 448 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd() argument 465 handle_rpc_func_cmd_wq(optee, arg); in handle_rpc_func_cmd() 497 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local [all …]
|
| 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()
|
| D | optee_private.h | 86 struct optee { struct 160 void optee_enable_shm_cache(struct optee *optee); 161 void optee_disable_shm_cache(struct optee *optee);
|
| /Linux-v5.10/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-v5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-optee-devices | 1 What: /sys/bus/tee/devices/optee-ta-<uuid>/ 8 are free to create needed API under optee-ta-<uuid> directory.
|
| /Linux-v5.10/arch/arm64/boot/dts/mediatek/ |
| D | pumpkin-common.dtsi | 20 optee: optee@4fd00000 { label 21 compatible = "linaro,optee-tz";
|
| /Linux-v5.10/drivers/tee/ |
| D | Makefile | 6 obj-$(CONFIG_OPTEE) += optee/
|
| D | Kconfig | 18 source "drivers/tee/optee/Kconfig"
|
| /Linux-v5.10/arch/arm64/boot/dts/socionext/ |
| D | uniphier-ld20-akebi96.dts | 96 optee { 97 compatible = "linaro,optee-tz";
|
| /Linux-v5.10/arch/arm64/boot/dts/ti/ |
| D | k3-am65.dtsi | 39 optee { 40 compatible = "linaro,optee-tz";
|
| D | k3-j7200.dtsi | 97 optee { 98 compatible = "linaro,optee-tz";
|
| D | k3-j7200-som-p0.dtsi | 23 secure_ddr: optee@9e800000 {
|
| D | k3-j721e.dtsi | 98 optee { 99 compatible = "linaro,optee-tz";
|
| D | k3-j721e-som-p0.dtsi | 23 secure_ddr: optee@9e800000 {
|
| /Linux-v5.10/drivers/char/hw_random/ |
| D | Makefile | 45 obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o
|
| /Linux-v5.10/Documentation/staging/ |
| D | tee.rst | 182 OP-TEE provides a pseudo Trusted Application: drivers/tee/optee/device.c in 272 [3] drivers/tee/optee/optee_smc.h 274 [4] drivers/tee/optee/optee_msg.h
|
| /Linux-v5.10/arch/arm64/boot/dts/hisilicon/ |
| D | hi6220-hikey.dts | 255 optee { 256 compatible = "linaro,optee-tz";
|
| D | hi3660-hikey960.dts | 195 optee { 196 compatible = "linaro,optee-tz";
|
| /Linux-v5.10/arch/arm64/boot/dts/freescale/ |
| D | fsl-ls1012a.dtsi | 534 optee { 535 compatible = "linaro,optee-tz";
|
| D | fsl-ls1088a.dtsi | 820 optee { 821 compatible = "linaro,optee-tz";
|
| D | fsl-ls208xa.dtsi | 921 optee { 922 compatible = "linaro,optee-tz";
|
| D | fsl-ls1046a.dtsi | 893 optee { 894 compatible = "linaro,optee-tz";
|