drivers/powercap/arm_scmi_powercap.c

Source file repositories/reference/linux-study-clean/drivers/powercap/arm_scmi_powercap.c

File Facts

System
Linux kernel
Corpus path
drivers/powercap/arm_scmi_powercap.c
Extension
.c
Size
14990 bytes
Lines
551
Domain
Driver Families
Bucket
drivers/powercap
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(scmi_powercap_init);

static void __exit scmi_powercap_exit(void)
{
	scmi_unregister(&scmi_powercap_driver);

	powercap_unregister_control_type(scmi_top_pcntrl);
}
module_exit(scmi_powercap_exit);

MODULE_AUTHOR("Cristian Marussi <cristian.marussi@arm.com>");
MODULE_DESCRIPTION("ARM SCMI Powercap driver");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes