drivers/soc/loongson/loongson2_guts.c

Source file repositories/reference/linux-study-clean/drivers/soc/loongson/loongson2_guts.c

File Facts

System
Linux kernel
Corpus path
drivers/soc/loongson/loongson2_guts.c
Extension
.c
Size
4700 bytes
Lines
192
Domain
Driver Families
Bucket
drivers/soc
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

core_initcall(loongson2_guts_init);

static void __exit loongson2_guts_exit(void)
{
	platform_driver_unregister(&loongson2_guts_driver);
}
module_exit(loongson2_guts_exit);

MODULE_DESCRIPTION("Loongson2 GUTS driver");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes