/linux-master/drivers/tee/optee/ |
H A D | Makefile | 2 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
|
H A D | notif.c | 21 static bool have_key(struct optee *optee, u_int key) argument 25 list_for_each_entry(entry, &optee->notif.db, link) 32 int optee_notif_wait(struct optee *optee, u_int key) argument 38 if (key > optee->notif.max_key) 47 spin_lock_irqsave(&optee->notif.lock, flags); 53 if (test_bit(key, optee->notif.bitmap)) { 54 clear_bit(key, optee->notif.bitmap); 62 if (have_key(optee, ke 85 optee_notif_send(struct optee *optee, u_int key) argument 109 optee_notif_init(struct optee *optee, u_int max_key) argument 122 optee_notif_uninit(struct optee *optee) argument [all...] |
H A D | smc_abi.c | 131 * @optee: main service struct 137 static int optee_from_msg_param(struct optee *optee, struct tee_param *params, argument 221 * @optee: main service struct 227 static int optee_to_msg_param(struct optee *optee, argument 279 * @optee: main service struct 281 static void optee_enable_shm_cache(struct optee *optee) argument 286 optee_cq_wait_init(&optee 306 __optee_disable_shm_cache(struct optee *optee, bool is_mapped) argument 347 optee_disable_shm_cache(struct optee *optee) argument 358 optee_disable_unmapped_shm_cache(struct optee *optee) argument 456 struct optee *optee = tee_get_drvdata(ctx->teedev); local 522 struct optee *optee = tee_get_drvdata(ctx->teedev); local 676 handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg, struct optee_call_ctx *call_ctx) argument 785 handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg, struct optee_call_ctx *call_ctx) argument 818 struct optee *optee = tee_get_drvdata(teedev); local 890 struct optee *optee = tee_get_drvdata(ctx->teedev); local 988 irq_handler(struct optee *optee) argument 1014 struct optee *optee = dev_id; local 1021 struct optee *optee = dev_id; local 1028 init_irq(struct optee *optee, u_int irq) argument 1046 struct optee *optee = pcpu->optee; local 1059 struct optee *optee = container_of(optee_smc, struct optee, smc); local 1064 init_pcpu_irq(struct optee *optee, u_int irq) argument 1112 optee_smc_notif_init_irq(struct optee *optee, u_int irq) argument 1120 uninit_pcpu_irq(struct optee *optee) argument 1130 optee_smc_notif_uninit_irq(struct optee *optee) argument 1162 struct optee *optee = tee_get_drvdata(teedev); local 1173 struct optee *optee = tee_get_drvdata(ctx->teedev); local 1438 struct optee *optee = platform_get_drvdata(pdev); local 1469 struct optee *optee = platform_get_drvdata(pdev); local 1592 struct optee *optee = NULL; local [all...] |
H A D | ffa_abi.c | 58 static struct tee_shm *optee_shm_from_ffa_handle(struct optee *optee, argument 64 mutex_lock(&optee->ffa.mutex); 65 r = rhashtable_lookup_fast(&optee->ffa.global_ids, &global_id, 69 mutex_unlock(&optee->ffa.mutex); 74 static int optee_shm_add_ffa_handle(struct optee *optee, struct tee_shm *shm, argument 86 mutex_lock(&optee->ffa.mutex); 87 rc = rhashtable_lookup_insert_fast(&optee->ffa.global_ids, &r->linkage, 89 mutex_unlock(&optee 97 optee_shm_rem_ffa_handle(struct optee *optee, u64 global_id) argument 123 from_msg_param_ffa_mem(struct optee *optee, struct tee_param *p, u32 attr, const struct optee_msg_param *mp) argument 155 optee_ffa_from_msg_param(struct optee *optee, struct tee_param *params, size_t num_params, const struct optee_msg_param *msg_params) argument 227 optee_ffa_to_msg_param(struct optee *optee, struct optee_msg_param *msg_params, size_t num_params, const struct tee_param *params) argument 273 struct optee *optee = tee_get_drvdata(ctx->teedev); local 316 struct optee *optee = tee_get_drvdata(ctx->teedev); local 345 struct optee *optee = tee_get_drvdata(ctx->teedev); local 426 handle_ffa_rpc_func_cmd_shm_alloc(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) argument 466 handle_ffa_rpc_func_cmd_shm_free(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) argument 496 handle_ffa_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) argument 513 optee_handle_ffa_rpc(struct tee_context *ctx, struct optee *optee, u32 cmd, struct optee_msg_arg *arg) argument 534 struct optee *optee = tee_get_drvdata(ctx->teedev); local 726 struct optee *optee = cb_data; local 734 enable_async_notif(struct optee *optee) argument 810 struct optee *optee = ffa_dev_get_drvdata(ffa_dev); local 824 optee_ffa_async_notif_init(struct ffa_device *ffa_dev, struct optee *optee) argument 874 struct optee *optee; local [all...] |
H A D | rpc.c | 39 struct optee *optee = tee_get_drvdata(ctx->teedev); local 64 if (optee->ops->from_msg_param(optee, params, arg->num_params, 108 if (optee->ops->to_msg_param(optee, arg->params, 130 static void handle_rpc_func_cmd_wq(struct optee *optee, argument 142 if (optee_notif_wait(optee, arg->params[0].u.value.b)) 146 if (optee_notif_send(optee, ar 181 handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) argument 214 struct optee *optee = tee_get_drvdata(ctx->teedev); local 258 optee_rpc_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) argument [all...] |
H A D | core.c | 92 struct optee *optee = tee_get_drvdata(teedev); local 98 if (teedev == optee->supp_teedev) { 101 mutex_lock(&optee->supp.mutex); 102 if (!optee->supp.ctx) { 104 optee->supp.ctx = ctx; 106 mutex_unlock(&optee->supp.mutex); 112 if (!optee->scan_bus_done) { 113 INIT_WORK(&optee->scan_bus_work, optee_bus_scan); 114 schedule_work(&optee 155 struct optee *optee = tee_get_drvdata(ctx->teedev); local 162 optee_remove_common(struct optee *optee) argument [all...] |
H A D | call.c | 34 * (optee->rpc_param_count). 217 void optee_shm_arg_cache_init(struct optee *optee, u32 flags) argument 219 INIT_LIST_HEAD(&optee->shm_arg_cache.shm_args); 220 mutex_init(&optee->shm_arg_cache.mutex); 221 optee->shm_arg_cache.flags = flags; 224 void optee_shm_arg_cache_uninit(struct optee *optee) argument 226 struct list_head *head = &optee->shm_arg_cache.shm_args; 229 mutex_destroy(&optee 269 struct optee *optee = tee_get_drvdata(ctx->teedev); local 343 struct optee *optee = tee_get_drvdata(ctx->teedev); local 366 struct optee *optee = tee_get_drvdata(ctx->teedev); local 448 struct optee *optee = tee_get_drvdata(ctx->teedev); local 470 struct optee *optee = tee_get_drvdata(ctx->teedev); local 515 struct optee *optee = tee_get_drvdata(ctx->teedev); local 568 struct optee *optee = tee_get_drvdata(ctx->teedev); local 646 struct optee *optee = tee_get_drvdata(ctx->teedev); local [all...] |
H A D | optee_private.h | 16 #define DRIVER_NAME "optee" 117 * @optee optee device reference 120 struct optee *optee; member in struct:optee_pcpu 124 * struct optee_smc - optee smc communication struct 130 * @optee_pcpu per_cpu optee instance for per cpu work or NULL 163 struct optee; 179 int (*to_msg_param)(struct optee *optee, 204 struct optee { struct [all...] |
H A D | supp.c | 80 struct optee *optee = tee_get_drvdata(ctx->teedev); local 81 struct optee_supp *supp = &optee->supp; 233 struct optee *optee = tee_get_drvdata(teedev); local 234 struct optee_supp *supp = &optee->supp; 342 struct optee *optee = tee_get_drvdata(teedev); local 343 struct optee_supp *supp = &optee->supp;
|
H A D | optee_trace.h | 3 * optee trace points 10 #define TRACE_SYSTEM optee
|
/linux-master/drivers/tee/ |
H A D | Makefile | 6 obj-$(CONFIG_OPTEE) += optee/
|
/linux-master/drivers/firmware/arm_scmi/ |
H A D | Makefile | 12 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_OPTEE) += optee.o
|
/linux-master/drivers/char/hw_random/ |
H A D | Makefile | 44 obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o
|
/linux-master/drivers/nvmem/ |
H A D | Makefile | 71 nvmem_stm32_romem-$(CONFIG_NVMEM_STM32_BSEC_OPTEE_TA) += stm32-bsec-optee-ta.o
|
/linux-master/drivers/rtc/ |
H A D | Makefile | 121 obj-$(CONFIG_RTC_DRV_OPTEE) += rtc-optee.o
|