drivers/cpufreq/pxa3xx-cpufreq.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/pxa3xx-cpufreq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/pxa3xx-cpufreq.c- Extension
.c- Size
- 6589 bytes
- Lines
- 235
- Domain
- Driver Families
- Bucket
- drivers/cpufreq
- 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.
- 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/sched.hlinux/init.hlinux/cpufreq.hlinux/soc/pxa/cpu.hlinux/clk/pxa.hlinux/slab.hlinux/io.h
Detected Declarations
struct pxa3xx_freq_infofunction setup_freqs_tablefunction __update_core_freqfunction __update_bus_freqfunction pxa3xx_cpufreq_getfunction pxa3xx_cpufreq_setfunction pxa3xx_cpufreq_initfunction cpufreq_initfunction cpufreq_exitmodule init cpufreq_init
Annotated Snippet
module_init(cpufreq_init);
static void __exit cpufreq_exit(void)
{
cpufreq_unregister_driver(&pxa3xx_cpufreq_driver);
}
module_exit(cpufreq_exit);
MODULE_DESCRIPTION("CPU frequency scaling driver for PXA3xx");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/sched.h`, `linux/init.h`, `linux/cpufreq.h`, `linux/soc/pxa/cpu.h`, `linux/clk/pxa.h`, `linux/slab.h`.
- Detected declarations: `struct pxa3xx_freq_info`, `function setup_freqs_table`, `function __update_core_freq`, `function __update_bus_freq`, `function pxa3xx_cpufreq_get`, `function pxa3xx_cpufreq_set`, `function pxa3xx_cpufreq_init`, `function cpufreq_init`, `function cpufreq_exit`, `module init cpufreq_init`.
- Atlas domain: Driver Families / drivers/cpufreq.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.