Home
last modified time | relevance | path

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

123

/linux/drivers/tee/optee/
A Dffa_abi.c155 static int optee_ffa_from_msg_param(struct optee *optee, in optee_ffa_from_msg_param() argument
227 static int optee_ffa_to_msg_param(struct optee *optee, in optee_ffa_to_msg_param() argument
273 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_register() local
316 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister() local
344 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister_supp() local
466 struct optee *optee, in handle_ffa_rpc_func_cmd_shm_free() argument
498 struct optee *optee = tee_get_drvdata(ctx->teedev); in handle_ffa_rpc_func_cmd() local
533 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_yielding_call() local
782 struct optee *optee = ffa_dev->dev.driver_data; in optee_ffa_remove() local
797 struct optee *optee; in optee_ffa_probe() local
[all …]
A Dcore.c78 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local
88 if (!optee->supp.ctx) { in optee_open()
90 optee->supp.ctx = ctx; in optee_open()
98 if (!optee->scan_bus_done) { in optee_open()
101 if (!optee->scan_bus_wq) { in optee_open()
105 queue_work(optee->scan_bus_wq, &optee->scan_bus_work); in optee_open()
106 optee->scan_bus_done = true; in optee_open()
145 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_release_supp() local
148 if (optee->scan_bus_wq) { in optee_release_supp()
150 optee->scan_bus_wq = NULL; in optee_release_supp()
[all …]
A Dsmc_abi.c195 static int optee_to_msg_param(struct optee *optee, in optee_to_msg_param() argument
249 static void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument
272 void optee_disable_shm_cache(struct optee *optee) in optee_disable_shm_cache() argument
394 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_shm_register() local
444 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_shm_unregister() local
729 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
787 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_smc_do_call_with_arg() local
857 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local
1142 struct optee *optee = platform_get_drvdata(pdev); in optee_smc_remove() local
1177 struct optee *optee = NULL; in optee_probe() local
[all …]
A Drpc.c56 struct optee *optee = tee_get_drvdata(ctx->teedev); in handle_rpc_func_cmd_i2c_transfer() local
81 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer()
125 if (optee->ops->to_msg_param(optee, arg->params, in handle_rpc_func_cmd_i2c_transfer()
189 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument
238 static void handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_supp_cmd() argument
252 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_supp_cmd()
260 if (optee->ops->to_msg_param(optee, arg->params, arg->num_params, in handle_rpc_supp_cmd()
271 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_rpc_cmd_alloc_suppl() local
283 mutex_lock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
286 mutex_unlock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
[all …]
A D.built-in.a.cmd1optee/built-in.a := echo >/dev/null; rm -f drivers/tee/optee/built-in.a; /usr/bin/ccache /home/tes…
A Dcall.c110 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_get_msg_arg() local
120 if (optee->rpc_arg_count) in optee_get_msg_arg()
144 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_open_session() local
177 rc = optee->ops->to_msg_param(optee, msg_arg->params + 2, in optee_open_session()
203 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_open_session()
223 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_close_session_helper() local
232 optee->ops->do_call_with_arg(ctx, shm); in optee_close_session_helper()
260 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_invoke_func() local
282 rc = optee->ops->to_msg_param(optee, msg_arg->params, arg->num_params, in optee_invoke_func()
292 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_invoke_func()
[all …]
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 += device.o
8 optee-objs += smc_abi.o
9 optee-objs += ffa_abi.o
A Doptee_private.h100 struct optee;
115 int (*to_msg_param)(struct optee *optee,
118 int (*from_msg_param)(struct optee *optee, struct tee_param *params,
141 struct optee { struct
227 void optee_remove_common(struct optee *optee);
264 void optee_rpc_cmd(struct tee_context *ctx, struct optee *optee,
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()
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()
A D.smc_abi.o.cmd3 source_drivers/tee/optee/smc_abi.o := drivers/tee/optee/smc_abi.c
5 deps_drivers/tee/optee/smc_abi.o := \
1046 drivers/tee/optee/optee_private.h \
1051 drivers/tee/optee/optee_msg.h \
1052 drivers/tee/optee/optee_smc.h \
1053 drivers/tee/optee/optee_rpc_cmd.h \
1056 drivers/tee/optee/optee_trace.h \
1062 drivers/tee/optee/./optee_trace.h \
1063 drivers/tee/optee/./optee_private.h \
1065 drivers/tee/optee/smc_abi.o: $(deps_drivers/tee/optee/smc_abi.o)
[all …]
A D.ffa_abi.o.cmd1optee/ffa_abi.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch6…
3 source_drivers/tee/optee/ffa_abi.o := drivers/tee/optee/ffa_abi.c
5 deps_drivers/tee/optee/ffa_abi.o := \
1030 drivers/tee/optee/optee_private.h \
1035 drivers/tee/optee/optee_msg.h \
1036 drivers/tee/optee/optee_ffa.h \
1037 drivers/tee/optee/optee_rpc_cmd.h \
1039 drivers/tee/optee/ffa_abi.o: $(deps_drivers/tee/optee/ffa_abi.o)
1041 $(deps_drivers/tee/optee/ffa_abi.o):
A D.device.o.cmd1optee/device.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64…
3 source_drivers/tee/optee/device.o := drivers/tee/optee/device.c
5 deps_drivers/tee/optee/device.o := \
934 drivers/tee/optee/optee_private.h \
939 drivers/tee/optee/optee_msg.h \
941 drivers/tee/optee/device.o: $(deps_drivers/tee/optee/device.o)
943 $(deps_drivers/tee/optee/device.o):
A D.supp.o.cmd1optee/supp.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/b…
3 source_drivers/tee/optee/supp.o := drivers/tee/optee/supp.c
5 deps_drivers/tee/optee/supp.o := \
931 drivers/tee/optee/optee_private.h \
939 drivers/tee/optee/optee_msg.h \
941 drivers/tee/optee/supp.o: $(deps_drivers/tee/optee/supp.o)
943 $(deps_drivers/tee/optee/supp.o):
A D.call.o.cmd1optee/call.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/b…
3 source_drivers/tee/optee/call.o := drivers/tee/optee/call.c
5 deps_drivers/tee/optee/call.o := \
1001 drivers/tee/optee/optee_private.h \
1006 drivers/tee/optee/optee_msg.h \
1008 drivers/tee/optee/call.o: $(deps_drivers/tee/optee/call.o)
1010 $(deps_drivers/tee/optee/call.o):
A D.core.o.cmd1optee/core.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/b…
3 source_drivers/tee/optee/core.o := drivers/tee/optee/core.c
5 deps_drivers/tee/optee/core.o := \
1071 drivers/tee/optee/optee_private.h \
1076 drivers/tee/optee/optee_msg.h \
1078 drivers/tee/optee/core.o: $(deps_drivers/tee/optee/core.o)
1080 $(deps_drivers/tee/optee/core.o):
/linux/drivers/tee/
A Dbuilt-in.a6 optee/core.o/
7 optee/call.o/
8 optee/rpc.o/
9 optee/supp.o/
10 optee/device.o/
11 optee/smc_abi.o/
12 optee/ffa_abi.o/
A DMakefile6 obj-$(CONFIG_OPTEE) += optee/
/linux/Documentation/devicetree/bindings/arm/firmware/
A Dlinaro,optee-tz.yaml4 $id: http://devicetree.org/schemas/arm/firmware/linaro,optee-tz.yaml#
22 const: optee
25 const: linaro,optee-tz
35 register assignments are specified in drivers/tee/optee/optee_smc.h
46 optee {
47 compatible = "linaro,optee-tz";
54 optee {
55 compatible = "linaro,optee-tz";
/linux/Documentation/ABI/testing/
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.
/linux/arch/arm64/boot/dts/mediatek/
A Dpumpkin-common.dtsi20 optee: optee@4fd00000 { label
21 compatible = "linaro,optee-tz";
/linux/arch/arm/boot/dts/
A Dstm32mp157c-dk2.dts20 optee_memory: optee@0xde000000 {
110 &optee {
/linux/arch/arm64/boot/dts/arm/
A Dfoundation-v8.dtsi78 optee@0x83000000 {
238 optee {
239 compatible = "linaro,optee-tz";
/linux/arch/arm64/boot/dts/socionext/
A Duniphier-ld20-akebi96.dts96 optee {
97 compatible = "linaro,optee-tz";
/linux/arch/arm64/boot/dts/hisilicon/
A Dhi3798cv200-poplar.dts76 optee {
77 compatible = "linaro,optee-tz";
/linux/drivers/char/hw_random/
A Dbuilt-in.a15 optee-rng.o/

Completed in 44 milliseconds

123