drivers/powercap/dtpm_subsys.h

Source file repositories/reference/linux-study-clean/drivers/powercap/dtpm_subsys.h

File Facts

System
Linux kernel
Corpus path
drivers/powercap/dtpm_subsys.h
Extension
.h
Size
442 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/powercap
Inferred role
Driver Families: implementation source
Status
source 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

#ifndef ___DTPM_SUBSYS_H__
#define ___DTPM_SUBSYS_H__

extern struct dtpm_subsys_ops dtpm_cpu_ops;
extern struct dtpm_subsys_ops dtpm_devfreq_ops;

struct dtpm_subsys_ops *dtpm_subsys[] = {
#ifdef CONFIG_DTPM_CPU
	&dtpm_cpu_ops,
#endif
#ifdef CONFIG_DTPM_DEVFREQ
	&dtpm_devfreq_ops,
#endif
};

#endif

Annotation

Implementation Notes