Home
last modified time | relevance | path

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

12345

/linux/drivers/tee/optee/
A Dcore.c37 struct optee *optee = container_of(work, struct optee, in optee_bus_scan_rpmb() local
52 struct optee *optee = container_of(intf, struct optee, rpmb_intf); in optee_rpmb_intf_rdev() local
67 struct optee *optee = dev_get_drvdata(dev); in rpmb_routing_model_show() local
86 void optee_set_dev_group(struct optee *optee) in optee_set_dev_group() argument
96 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local
106 if (!optee->supp.ctx) { in optee_open()
108 optee->supp.ctx = ctx; in optee_open()
159 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_release_supp() local
166 void optee_remove_common(struct optee *optee) in optee_remove_common() argument
169 &optee->rpmb_intf); in optee_remove_common()
[all …]
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, u32 timeout) 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()
90 int optee_notif_send(struct optee *optee, u_int key) in optee_notif_send() argument
95 if (key > optee->notif.max_key) in optee_notif_send()
114 int optee_notif_init(struct optee *optee, u_int max_key) in optee_notif_init() argument
117 INIT_LIST_HEAD(&optee->notif.db); in optee_notif_init()
119 if (!optee->notif.bitmap) in optee_notif_init()
122 optee->notif.max_key = max_key; in optee_notif_init()
[all …]
A Dffa_abi.c274 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_register() local
317 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister() local
346 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_ffa_shm_unregister_supp() local
428 struct optee *optee, in handle_ffa_rpc_func_cmd_shm_alloc() argument
468 struct optee *optee, in handle_ffa_rpc_func_cmd_shm_free() argument
498 struct optee *optee, in handle_ffa_rpc_func_cmd() argument
733 struct optee *optee = cb_data; in notif_callback() local
741 static int enable_async_notif(struct optee *optee) in enable_async_notif() argument
832 struct optee *optee) in optee_ffa_async_notif_init() argument
881 struct optee *optee; in optee_ffa_probe() local
[all …]
A Dsmc_abi.c228 static int optee_to_msg_param(struct optee *optee, in optee_to_msg_param() argument
677 struct optee *optee, in handle_rpc_func_cmd_shm_alloc() argument
818 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
1014 struct optee *optee = dev_id; in notif_irq_handler() local
1021 struct optee *optee = dev_id; in notif_irq_thread_fn() local
1046 struct optee *optee = pcpu->optee; in notif_pcpu_irq_handler() local
1059 struct optee *optee = container_of(optee_smc, struct optee, smc); in notif_pcpu_irq_work_fn() local
1074 per_cpu_ptr(optee_pcpu, cpu)->optee = optee; in init_pcpu_irq()
1138 free_irq(optee->smc.notif_irq, optee); in optee_smc_notif_uninit_irq()
1590 struct optee *optee = NULL; in optee_probe() local
[all …]
A Drpc.c40 struct optee *optee = tee_get_drvdata(ctx->teedev); in handle_rpc_func_cmd_i2c_transfer() local
65 if (optee->ops->from_msg_param(optee, params, arg->num_params, in handle_rpc_func_cmd_i2c_transfer()
109 if (optee->ops->to_msg_param(optee, arg->params, in handle_rpc_func_cmd_i2c_transfer()
131 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument
221 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_rpc_cmd_alloc_suppl() local
266 struct optee *optee, in handle_rpc_func_rpmb_probe_reset() argument
282 if (optee->ops->to_msg_param(optee, arg->params, in handle_rpc_func_rpmb_probe_reset()
318 struct optee *optee, in handle_rpc_func_rpmb_probe_next() argument
360 if (optee->ops->to_msg_param(optee, arg->params, in handle_rpc_func_rpmb_probe_next()
370 struct optee *optee, in handle_rpc_func_rpmb_frames() argument
[all …]
A Dcall.c217 void optee_shm_arg_cache_init(struct optee *optee, u32 flags) in optee_shm_arg_cache_init() argument
224 void optee_shm_arg_cache_uninit(struct optee *optee) in optee_shm_arg_cache_uninit() argument
269 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_get_msg_arg() local
343 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_free_msg_arg() local
366 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_open_session() local
402 rc = optee->ops->to_msg_param(optee, msg_arg->params + 2, in optee_open_session()
448 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_system_session() local
470 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_close_session_helper() local
515 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_invoke_func() local
568 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_cancel_req() local
[all …]
A Doptee_private.h127 struct optee *optee; member
170 struct optee;
186 int (*to_msg_param)(struct optee *optee,
217 struct optee { struct
275 int optee_notif_init(struct optee *optee, u_int max_key);
276 void optee_notif_uninit(struct optee *optee);
278 int optee_notif_send(struct optee *optee, u_int key);
312 void optee_set_dev_group(struct optee *optee);
313 void optee_remove_common(struct optee *optee);
347 void optee_shm_arg_cache_init(struct optee *optee, u32 flags);
[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 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()
/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
42 register assignments are specified in drivers/tee/optee/optee_smc.h
54 optee {
55 compatible = "linaro,optee-tz";
63 optee {
64 compatible = "linaro,optee-tz";
/linux/arch/arm/boot/dts/st/
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 {
65 &optee {
A Dstm32mp157c-dk2.dts20 optee_memory: optee@0xde000000 {
102 &optee {
A Dstm32mp157c-dk2-scmi.dts17 optee@de000000 {
71 &optee {
A Dstm32mp157c-ed1-scmi.dts17 optee@fe000000 {
70 &optee {
A Dstm32mp157c-ev1-scmi.dts17 optee@fe000000 {
75 &optee {
/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.
10 What: /sys/bus/tee/devices/optee-ta-<uuid>/need_supplicant
/linux/Documentation/devicetree/bindings/firmware/
A Darm,scmi.yaml53 - const: linaro,scmi-optee
139 linaro,optee-channel-id:
340 linaro,optee-channel-id:
385 const: linaro,scmi-optee
388 - linaro,optee-channel-id
535 compatible = "linaro,scmi-optee";
536 linaro,optee-channel-id = <0>;
543 linaro,optee-channel-id = <1>;
567 cpu_optee_lpri0: optee-sram-section@0 {
/linux/arch/arm64/boot/dts/mediatek/
A Dpumpkin-common.dtsi20 optee: optee { label
21 compatible = "linaro,optee-tz";
/linux/arch/arm64/boot/dts/arm/
A Dfoundation-v8.dtsi82 optee@0x83000000 {
247 optee {
248 compatible = "linaro,optee-tz";
/linux/arch/arm64/boot/dts/socionext/
A Duniphier-ld20-akebi96.dts96 optee {
97 compatible = "linaro,optee-tz";
/linux/drivers/tee/
A DMakefile6 obj-$(CONFIG_OPTEE) += optee/
/linux/drivers/firmware/arm_scmi/transports/
A DMakefile8 scmi_transport_optee-objs := optee.o
/linux/arch/arm64/boot/dts/amlogic/
A Dmeson-a1-ad402.dts38 optee {
39 compatible = "linaro,optee-tz";
/linux/arch/arm64/boot/dts/hisilicon/
A Dhi3798cv200-poplar.dts76 optee {
77 compatible = "linaro,optee-tz";

Completed in 51 milliseconds

12345