Home
last modified time | relevance | path

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

/drivers/tee/optee/
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
735 struct optee *optee = container_of(optee_ffa, struct optee, ffa); in notif_work_fn() local
742 struct optee *optee = cb_data; in notif_callback() local
843 struct optee *optee) in optee_ffa_async_notif_init() argument
904 struct optee *optee; in optee_ffa_probe() local
[all …]
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 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 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 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
172 struct optee;
188 int (*to_msg_param)(struct optee *optee,
219 struct optee { struct
277 int optee_notif_init(struct optee *optee, u_int max_key);
278 void optee_notif_uninit(struct optee *optee);
280 int optee_notif_send(struct optee *optee, u_int key);
314 void optee_set_dev_group(struct optee *optee);
315 void optee_remove_common(struct optee *optee);
349 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()
214 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_recv() local
215 struct optee_supp *supp = &optee->supp; in optee_supp_recv()
323 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_send() local
324 struct optee_supp *supp = &optee->supp; in optee_supp_send()
A Doptee_trace.h10 #define TRACE_SYSTEM optee
/drivers/tee/
A DMakefile6 obj-$(CONFIG_OPTEE) += optee/
A DKconfig16 source "drivers/tee/optee/Kconfig"
/drivers/firmware/arm_scmi/transports/
A DMakefile8 scmi_transport_optee-objs := optee.o
/drivers/char/hw_random/
A DMakefile46 obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o
A DKconfig518 will be called optee-rng.
/drivers/nvmem/
A DMakefile77 nvmem_stm32_romem-$(CONFIG_NVMEM_STM32_BSEC_OPTEE_TA) += stm32-bsec-optee-ta.o
/drivers/rtc/
A DMakefile125 obj-$(CONFIG_RTC_DRV_OPTEE) += rtc-optee.o
A DKconfig1355 will be called rtc-optee.

Completed in 755 milliseconds