drivers/power/supply/apm_power.c

Source file repositories/reference/linux-study-clean/drivers/power/supply/apm_power.c

File Facts

System
Linux kernel
Corpus path
drivers/power/supply/apm_power.c
Extension
.c
Size
10407 bytes
Lines
377
Domain
Driver Families
Bucket
drivers/power
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(apm_battery_init);
module_exit(apm_battery_exit);

MODULE_AUTHOR("Eugeny Boger <eugenyboger@dgap.mipt.ru>");
MODULE_DESCRIPTION("APM emulation driver for battery monitoring class");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes