drivers/tee/optee/core.c

Source file repositories/reference/linux-study-clean/drivers/tee/optee/core.c

File Facts

System
Linux kernel
Corpus path
drivers/tee/optee/core.c
Extension
.c
Size
6608 bytes
Lines
281
Domain
Driver Families
Bucket
drivers/tee
Inferred role
Driver Families: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

module_init(optee_core_init);

static void __exit optee_core_exit(void)
{
	if (IS_REACHABLE(CONFIG_RPMB) && intf_is_regged) {
		rpmb_interface_unregister(&rpmb_class_intf);
		intf_is_regged = false;
	}

	if (!smc_abi_rc)
		optee_smc_abi_unregister();
	if (!ffa_abi_rc)
		optee_ffa_abi_unregister();
}
module_exit(optee_core_exit);

MODULE_AUTHOR("Linaro");
MODULE_DESCRIPTION("OP-TEE driver");
MODULE_VERSION("1.0");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:optee");

Annotation

Implementation Notes