Lines Matching defs:optee
138 static int optee_from_msg_param(struct optee *optee, struct tee_param *params, in optee_from_msg_param()
228 static int optee_to_msg_param(struct optee *optee, in optee_to_msg_param()
282 static void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache()
307 static void __optee_disable_shm_cache(struct optee *optee, bool is_mapped) in __optee_disable_shm_cache()
348 static void optee_disable_shm_cache(struct optee *optee) in optee_disable_shm_cache()
359 static void optee_disable_unmapped_shm_cache(struct optee *optee) in optee_disable_unmapped_shm_cache()
457 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_shm_register() local
523 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_shm_unregister() local
677 struct optee *optee, in handle_rpc_func_cmd_shm_alloc()
785 static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, in handle_rpc_func_cmd()
818 struct optee *optee = tee_get_drvdata(teedev); in optee_handle_rpc() local
890 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_smc_do_call_with_arg() local
988 static irqreturn_t irq_handler(struct optee *optee) in irq_handler()
1014 struct optee *optee = dev_id; in notif_irq_handler() local
1021 struct optee *optee = dev_id; in notif_irq_thread_fn() local
1028 static int init_irq(struct optee *optee, u_int irq) in init_irq()
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
1064 static int init_pcpu_irq(struct optee *optee, u_int irq) in init_pcpu_irq()
1112 static int optee_smc_notif_init_irq(struct optee *optee, u_int irq) in optee_smc_notif_init_irq()
1120 static void uninit_pcpu_irq(struct optee *optee) in uninit_pcpu_irq()
1130 static void optee_smc_notif_uninit_irq(struct optee *optee) in optee_smc_notif_uninit_irq()
1162 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local
1173 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_smc_open() local
1439 struct optee *optee = platform_get_drvdata(pdev); in optee_smc_remove() local
1468 struct optee *optee = platform_get_drvdata(pdev); in optee_shutdown() local
1591 struct optee *optee = NULL; in optee_probe() local