Home
last modified time | relevance | path

Searched refs:optee (Results 1 – 25 of 160) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Dcore.c206 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 …]
H A DMakefile2 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
H A Dcall.c128 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 …]
H A Drpc.c187 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 …]
H A Doptee_private.h87 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);
H A Dsupp.c80 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()
253 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_recv() local
254 struct optee_supp *supp = &optee->supp; in optee_supp_recv()
362 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_send() local
363 struct optee_supp *supp = &optee->supp; in optee_supp_send()
/OK3568_Linux_fs/u-boot/lib/optee_clientApi/
H A DREADME41 c20711e rk3036: tee: update optee version to v2.00
42 cb7d8f9 rk322x: tee with ta: update optee version to v2.11
43 4f9488e rk3128x: tee with ta: update optee version to v2.11
44 6d6473c rk312x: tee with ta: update optee version to v2.01
45 c0b025b rk3288: tee with ta: update optee version to v2.01
52 7a349fdcbd lib: optee_client: add optee initialize flag
53 74eb602743 lib: optee_client: update to new optee msg for optee v1 platform
59 90928381ffa9 ARM: dts: rockchip: add firmware and optee node
60 d752a21c0853 arm64: dts: rockchip: add firmware and optee node
66 a515160d optee: v1 rebuild ca/ta to support new OP-TEE MSG
[all …]
/OK3568_Linux_fs/buildroot/package/optee-benchmark/
H A DConfig.in2 bool "optee-benchmark"
4 depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
5 depends on !BR2_STATIC_LIBS # optee-client
6 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
17 comment "optee-benchmark needs a toolchain w/ threads, dynamic library, headers >= 4.3"
H A Doptee-benchmark.hash1 # From https://github.com/linaro-swg/optee_benchmark/archive/3.15.0/optee-benchmark-3.15.0.tar.gz
2 sha256 f1ddac5e9f58333194eb302e6d9840fa334300bc103abb3d9f783bf009a78c50 optee-benchmark-3.15.0.ta…
/OK3568_Linux_fs/external/security/rk_tee_user/v1/
H A DAndroid.mk14 CLIENT_LIB_PATH ?= $(shell pwd)/hardware/rockchip/optee/v1/arm64
16 CLIENT_LIB_PATH ?= $(shell pwd)/hardware/rockchip/optee/v1/arm
20 CLIENT_LIB_PATH ?= $(shell pwd)/vendor/rockchip/common/security/optee/v1/lib/arm64
22 CLIENT_LIB_PATH ?= $(shell pwd)/vendor/rockchip/common/security/optee/v1/lib/arm
26 CLIENT_LIB_PATH ?= $(shell pwd)/vendor/rockchip/common/security/optee/lib/arm64
28 CLIENT_LIB_PATH ?= $(shell pwd)/vendor/rockchip/common/security/optee/lib/arm
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/firmware/
H A Dlinaro,optee-tz.txt12 - 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";
/OK3568_Linux_fs/buildroot/package/optee-examples/
H A DConfig.in2 bool "optee-examples"
4 depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
5 depends on !BR2_STATIC_LIBS # optee-client
6 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
23 comment "optee-examples needs a toolchain w/ threads, dynamic library, headers >= 4.3"
H A Doptee-examples.hash1 # From https://github.com/linaro-swg/optee_examples/archive/3.15.0/optee-examples-3.15.0.tar.gz
2 sha256 9770827292eea85068913077d3406070f6182389779c5d4a5c0876bffd962353 optee-examples-3.15.0.tar…
/OK3568_Linux_fs/buildroot/package/optee-test/
H A DConfig.in2 bool "optee-test"
4 depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
6 depends on !BR2_STATIC_LIBS # optee-client
7 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
28 comment "optee-test needs a toolchain w/ threads, C++, dynamic library, headers >= 4.3"
H A Doptee-test.hash1 # From https://github.com/OP-TEE/optee_test/archive/3.15.0/optee-test-3.15.0.tar.gz
2 sha256 9c2b6b80055cbef0f9bccce17dde494725bc71d9013dacaeb3e46d0926191098 optee-test-3.15.0.tar.gz
/OK3568_Linux_fs/external/security/bin/
H A DRelease_List_CN.md3 ## optee v2
15 ## optee v2
27 ## optee v2
H A DRelease_List_EN.md3 ## optee v2
15 ## optee v2
27 ## optee v2
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3562-android.dtsi26 optee: optee { label
27 compatible = "linaro,optee-tz";
H A Drk3328-android.dtsi27 optee: optee { label
28 compatible = "linaro,optee-tz";
H A Drk3568-android.dtsi33 optee: optee { label
34 compatible = "linaro,optee-tz";
/OK3568_Linux_fs/u-boot/cmd/
H A Doptee.su
/OK3568_Linux_fs/external/security/rk_tee_user/v2/
H A DAndroid.mk30 CLIENT_LIB_PATH ?= $(shell pwd)/hardware/rockchip/optee/v2/arm64
32 CLIENT_LIB_PATH ?= $(shell pwd)/hardware/rockchip/optee/v2/arm
36 CLIENT_LIB_PATH ?= $(shell pwd)/vendor/rockchip/common/security/optee/v2/lib/arm64
38 CLIENT_LIB_PATH ?= $(shell pwd)/vendor/rockchip/common/security/optee/v2/lib/arm
/OK3568_Linux_fs/buildroot/boot/optee-os/
H A Doptee-os.hash1 # From https://github.com/OP-TEE/optee_os/archive/3.15.0/optee-os-3.15.0.tar.gz
2 sha256 e5bb3d9eedaf7785af091602addac5b52118f4cdc108af9cd6f6c96b21503ab8 optee-os-3.15.0.tar.gz
/OK3568_Linux_fs/buildroot/package/optee-client/
H A Doptee-client.hash1 # From https://github.com/OP-TEE/optee_client/archive/3.15.0/optee-client-3.15.0.tar.gz
2 sha256 e1ea6c953e3584248d7a62050813e5ac0f0112933447954c44236a233a4cbba5 optee-client-3.15.0.tar.gz
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-bus-optee-devices1 What: /sys/bus/tee/devices/optee-ta-<uuid>/
8 are free to create needed API under optee-ta-<uuid> directory.

1234567