Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/tee/optee/
A Dnotif.c21 static bool have_key(struct optee *optee, u_int key) in have_key() argument
32 int optee_notif_wait(struct optee *optee, u_int key) in optee_notif_wait() argument
38 if (key > optee->notif.max_key) in optee_notif_wait()
62 if (have_key(optee, key)) { in optee_notif_wait()
85 int optee_notif_send(struct optee *optee, u_int key) in optee_notif_send() argument
90 if (key > optee->notif.max_key) in optee_notif_send()
109 int optee_notif_init(struct optee *optee, u_int max_key) in optee_notif_init() argument
112 INIT_LIST_HEAD(&optee->notif.db); in optee_notif_init()
114 if (!optee->notif.bitmap) in optee_notif_init()
117 optee->notif.max_key = max_key; in optee_notif_init()
[all …]
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
345 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister_supp() local
427 struct optee *optee, in handle_ffa_rpc_func_cmd_shm_alloc() argument
467 struct optee *optee, in handle_ffa_rpc_func_cmd_shm_free() argument
497 struct optee *optee, in handle_ffa_rpc_func_cmd() argument
533 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_yielding_call() local
795 struct optee *optee; in optee_ffa_probe() local
[all …]
A Dcore.c91 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local
101 if (!optee->supp.ctx) { in optee_open()
103 optee->supp.ctx = ctx; in optee_open()
111 if (!optee->scan_bus_done) { in optee_open()
114 if (!optee->scan_bus_wq) { in optee_open()
118 queue_work(optee->scan_bus_wq, &optee->scan_bus_work); in optee_open()
158 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_release_supp() local
161 if (optee->scan_bus_wq) { in optee_release_supp()
163 optee->scan_bus_wq = NULL; in optee_release_supp()
168 void optee_remove_common(struct optee *optee) in optee_remove_common() argument
[all …]
A Dsmc_abi.c207 static int optee_to_msg_param(struct optee *optee, in optee_to_msg_param() argument
436 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_shm_register() local
502 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_shm_unregister() local
657 struct optee *optee, in handle_rpc_func_cmd_shm_alloc() argument
800 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
996 struct optee *optee = dev_id; in notif_irq_handler() local
1021 struct optee *optee = dev_id; in notif_irq_thread_fn() local
1048 free_irq(optee->smc.notif_irq, optee); in optee_smc_notif_uninit_irq()
1071 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local
1361 struct optee *optee = NULL; in optee_probe() local
[all …]
A Dcall.c135 void optee_shm_arg_cache_init(struct optee *optee, u32 flags) in optee_shm_arg_cache_init() argument
142 void optee_shm_arg_cache_uninit(struct optee *optee) in optee_shm_arg_cache_uninit() argument
187 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_get_msg_arg() local
261 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_free_msg_arg() local
284 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_open_session() local
320 rc = optee->ops->to_msg_param(optee, msg_arg->params + 2, in optee_open_session()
346 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_open_session()
365 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_close_session_helper() local
405 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_invoke_func() local
440 if (optee->ops->from_msg_param(optee, param, arg->num_params, in optee_invoke_func()
[all …]
A Drpc.c39 struct optee *optee = tee_get_drvdata(ctx->teedev); in handle_rpc_func_cmd_i2c_transfer() local
64 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer()
108 if (optee->ops->to_msg_param(optee, arg->params, in handle_rpc_func_cmd_i2c_transfer()
130 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument
181 static void handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_supp_cmd() argument
195 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_supp_cmd()
203 if (optee->ops->to_msg_param(optee, arg->params, arg->num_params, in handle_rpc_supp_cmd()
214 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_rpc_cmd_alloc_suppl() local
226 mutex_lock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
229 mutex_unlock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
[all …]
A DMakefile2 obj-$(CONFIG_OPTEE) += optee.o
3 optee-objs += core.o
4 optee-objs += call.o
5 optee-objs += notif.o
6 optee-objs += rpc.o
7 optee-objs += supp.o
8 optee-objs += device.o
9 optee-objs += smc_abi.o
10 optee-objs += ffa_abi.o
A Doptee_private.h119 struct optee;
134 int (*to_msg_param)(struct optee *optee,
160 struct optee { struct
209 int optee_notif_init(struct optee *optee, u_int max_key);
210 void optee_notif_uninit(struct optee *optee);
211 int optee_notif_wait(struct optee *optee, u_int key);
212 int optee_notif_send(struct optee *optee, u_int key);
254 void optee_remove_common(struct optee *optee);
287 void optee_shm_arg_cache_init(struct optee *optee, u32 flags);
288 void optee_shm_arg_cache_uninit(struct optee *optee);
[all …]
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 Doptee_trace.h10 #define TRACE_SYSTEM optee
/linux-6.3-rc2/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
41 register assignments are specified in drivers/tee/optee/optee_smc.h
53 optee {
54 compatible = "linaro,optee-tz";
62 optee {
63 compatible = "linaro,optee-tz";
/linux-6.3-rc2/arch/arm/boot/dts/
A Dstm32mp15-scmi.dtsi9 optee: optee { label
10 compatible = "linaro,optee-tz";
15 compatible = "linaro,scmi-optee";
18 linaro,optee-channel-id = <0>;
A Dstm32mp157a-dk1-scmi.dts17 optee@de000000 {
/linux-6.3-rc2/Documentation/devicetree/bindings/firmware/
A Darm,scmi.yaml43 - const: linaro,scmi-optee
97 linaro,optee-channel-id:
243 linaro,optee-channel-id:
285 const: linaro,scmi-optee
288 - linaro,optee-channel-id
416 compatible = "linaro,scmi-optee";
417 linaro,optee-channel-id = <0>;
424 linaro,optee-channel-id = <1>;
448 cpu_optee_lpri0: optee-sram-section@0 {
/linux-6.3-rc2/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-6.3-rc2/arch/arm64/boot/dts/mediatek/
A Dpumpkin-common.dtsi20 optee: optee { label
21 compatible = "linaro,optee-tz";
A Dmt8195-demo.dts29 optee {
30 compatible = "linaro,optee-tz";
74 optee_reserved: optee@43200000 {
/linux-6.3-rc2/arch/arm64/boot/dts/socionext/
A Duniphier-ld20-akebi96.dts96 optee {
97 compatible = "linaro,optee-tz";
/linux-6.3-rc2/drivers/tee/
A DMakefile6 obj-$(CONFIG_OPTEE) += optee/
A DKconfig16 source "drivers/tee/optee/Kconfig"
/linux-6.3-rc2/arch/arm64/boot/dts/ti/
A Dk3-am68-sk-som.dtsi24 secure_ddr: optee@9e800000 {
A Dk3-am64.dtsi40 optee {
41 compatible = "linaro,optee-tz";
A Dk3-am62.dtsi24 optee {
25 compatible = "linaro,optee-tz";
A Dk3-am65.dtsi41 optee {
42 compatible = "linaro,optee-tz";
/linux-6.3-rc2/drivers/firmware/arm_scmi/
A DMakefile12 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_OPTEE) += optee.o

Completed in 29 milliseconds

123