drivers/cpufreq/sparc-us3-cpufreq.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/sparc-us3-cpufreq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/sparc-us3-cpufreq.c- Extension
.c- Size
- 4553 bytes
- Lines
- 200
- 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/smp.hlinux/cpufreq.hlinux/threads.hlinux/slab.hlinux/init.hasm/head.hasm/timer.h
Detected Declarations
struct us3_freq_percpu_infofunction read_safari_cfgfunction update_safari_cfgfunction get_current_freqfunction us3_freq_getfunction us3_freq_targetfunction us3_freq_cpu_initfunction us3_freq_cpu_exitfunction us3_freq_initfunction us3_freq_exitmodule init us3_freq_init
Annotated Snippet
module_init(us3_freq_init);
module_exit(us3_freq_exit);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/sched.h`, `linux/smp.h`, `linux/cpufreq.h`, `linux/threads.h`, `linux/slab.h`, `linux/init.h`.
- Detected declarations: `struct us3_freq_percpu_info`, `function read_safari_cfg`, `function update_safari_cfg`, `function get_current_freq`, `function us3_freq_get`, `function us3_freq_target`, `function us3_freq_cpu_init`, `function us3_freq_cpu_exit`, `function us3_freq_init`, `function us3_freq_exit`.
- 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.