/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | notif.c | 21 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 85 optee_notif_send(struct optee *optee, u_int key) optee_notif_send() argument 109 optee_notif_init(struct optee *optee, u_int max_key) optee_notif_init() argument 122 optee_notif_uninit(struct optee *optee) optee_notif_uninit() argument [all...] |
H A D | rpc.c | 39 struct optee *optee = tee_get_drvdata(ctx->teedev); in handle_rpc_func_cmd_i2c_transfer() local 130 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument 181 handle_rpc_supp_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) handle_rpc_supp_cmd() argument 214 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_rpc_cmd_alloc_suppl() local 258 optee_rpc_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) optee_rpc_cmd() argument [all...] |
H A D | core.c | 91 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local 158 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_release_supp() local 168 optee_remove_common(struct optee *optee) optee_remove_common() argument [all...] |
H A D | supp.c | 80 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_supp_thrd_req() local 233 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_recv() local 342 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_send() local
|
H A D | call.c | 135 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); optee_get_msg_arg() local 261 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_free_msg_arg() local 284 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_open_session() local 365 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_close_session_helper() local 405 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_invoke_func() local 455 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_cancel_req() local [all...] |
H A D | ffa_abi.c | 58 static struct tee_shm *optee_shm_from_ffa_handle(struct optee *optee, in optee_shm_from_ffa_handle() argument 74 static int optee_shm_add_ffa_handle(struct optee *optee, struct tee_shm *shm, in optee_shm_add_ffa_handle() argument 97 optee_shm_rem_ffa_handle(struct optee *optee, u64 global_id) optee_shm_rem_ffa_handle() argument 123 from_msg_param_ffa_mem(struct optee *optee, struct tee_param *p, u32 attr, const struct optee_msg_param *mp) from_msg_param_ffa_mem() 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) optee_ffa_from_msg_param() 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) optee_ffa_to_msg_param() argument 273 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_ffa_shm_register() local 316 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_ffa_shm_unregister() local 345 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_ffa_shm_unregister_supp() local 426 handle_ffa_rpc_func_cmd_shm_alloc(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) handle_ffa_rpc_func_cmd_shm_alloc() argument 466 handle_ffa_rpc_func_cmd_shm_free(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) handle_ffa_rpc_func_cmd_shm_free() argument 496 handle_ffa_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg) handle_ffa_rpc_func_cmd() argument 513 optee_handle_ffa_rpc(struct tee_context *ctx, struct optee *optee, u32 cmd, struct optee_msg_arg *arg) optee_handle_ffa_rpc() argument 533 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_ffa_yielding_call() local 777 struct optee *optee = ffa_dev_get_drvdata(ffa_dev); optee_ffa_remove() local 795 struct optee *optee; optee_ffa_probe() local [all...] |
H A D | optee_private.h | 102 struct optee *optee; member 184 struct optee { global() struct [all...] |
H A D | smc_abi.c | 137 static int optee_from_msg_param(struct optee *optee, struct tee_param *params, in optee_from_msg_param() argument 227 static int optee_to_msg_param(struct optee *optee, in optee_to_msg_param() argument 281 static void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument 306 __optee_disable_shm_cache(struct optee *optee, bool is_mapped) __optee_disable_shm_cache() argument 347 optee_disable_shm_cache(struct optee *optee) optee_disable_shm_cache() argument 358 optee_disable_unmapped_shm_cache(struct optee *optee) optee_disable_unmapped_shm_cache() argument 456 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_shm_register() local 522 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_shm_unregister() 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) handle_rpc_func_cmd_shm_alloc() argument 788 handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd() argument 820 struct optee *optee = tee_get_drvdata(teedev); optee_handle_rpc() local 890 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_smc_do_call_with_arg() local 1016 irq_handler(struct optee *optee) irq_handler() argument 1042 struct optee *optee = dev_id; notif_irq_handler() local 1049 struct optee *optee = dev_id; notif_irq_thread_fn() local 1056 init_irq(struct optee *optee, u_int irq) init_irq() argument 1074 struct optee *optee = pcpu->optee; notif_pcpu_irq_handler() local 1087 struct optee *optee = container_of(optee_smc, struct optee, smc); notif_pcpu_irq_work_fn() local 1092 init_pcpu_irq(struct optee *optee, u_int irq) init_pcpu_irq() argument 1140 optee_smc_notif_init_irq(struct optee *optee, u_int irq) optee_smc_notif_init_irq() argument 1148 uninit_pcpu_irq(struct optee *optee) uninit_pcpu_irq() argument 1158 optee_smc_notif_uninit_irq(struct optee *optee) optee_smc_notif_uninit_irq() argument 1190 struct optee *optee = tee_get_drvdata(teedev); optee_get_version() local 1201 struct optee *optee = tee_get_drvdata(ctx->teedev); optee_smc_open() local 1455 struct optee *optee = platform_get_drvdata(pdev); optee_smc_remove() local 1486 struct optee *optee = platform_get_drvdata(pdev); optee_shutdown() local 1609 struct optee *optee = NULL; optee_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/tee/optee/ |
H A D | supp.c | 80 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_supp_thrd_req() local 233 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_recv() local 342 struct optee *optee = tee_get_drvdata(teedev); in optee_supp_send() local
|
H A D | rpc.c | 187 static void handle_rpc_func_cmd_wq(struct optee *optee, in handle_rpc_func_cmd_wq() argument 267 struct optee *optee = tee_get_drvdata(ctx->teedev); in cmd_alloc_suppl() local 286 handle_rpc_func_cmd_shm_alloc(struct tee_context *ctx, struct optee *optee, struct optee_msg_arg *arg, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd_shm_alloc() argument 451 handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee, struct tee_shm *shm, struct optee_call_ctx *call_ctx) handle_rpc_func_cmd() argument 500 struct optee *optee = tee_get_drvdata(teedev); optee_handle_rpc() local [all...] |
H A D | optee_private.h | 87 struct optee { struct [all...] |
H A D | core.c | 206 struct optee *optee = tee_get_drvdata(teedev); in optee_get_version() local 224 struct optee *optee = tee_get_drvdata(teedev); in optee_open() local 271 struct optee *optee = tee_get_drvdata(teedev); optee_release() local 586 struct optee *optee = platform_get_drvdata(pdev); optee_remove() local 634 struct optee *optee = NULL; optee_probe() local [all...] |
H A D | call.c | 128 struct optee *optee = tee_get_drvdata(ctx->teedev); in optee_do_call_with_arg() local 397 void optee_enable_shm_cache(struct optee *optee) in optee_enable_shm_cache() argument 422 __optee_disable_shm_cache(struct optee *optee, bool is_mapped) __optee_disable_shm_cache() argument 463 optee_disable_shm_cache(struct optee *optee) optee_disable_shm_cache() argument 474 optee_disable_unmapped_shm_cache(struct optee *optee) optee_disable_unmapped_shm_cache() argument [all...] |