drivers/cpufreq/sparc-us2e-cpufreq.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/sparc-us2e-cpufreq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/sparc-us2e-cpufreq.c- Extension
.c- Size
- 8458 bytes
- Lines
- 352
- 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/delay.hlinux/init.hasm/asi.hasm/timer.h
Detected Declarations
struct us2e_freq_percpu_infofunction read_hbregfunction write_hbregfunction self_refresh_ctlfunction frob_mem_refreshfunction us2e_transitionfunction index_to_estar_modefunction index_to_divisorfunction estar_to_divisorfunction __us2e_freq_getfunction us2e_freq_getfunction __us2e_freq_targetfunction us2e_freq_targetfunction us2e_freq_cpu_initfunction us2e_freq_cpu_exitfunction us2e_freq_initfunction us2e_freq_exitmodule init us2e_freq_init
Annotated Snippet
module_init(us2e_freq_init);
module_exit(us2e_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/delay.h`.
- Detected declarations: `struct us2e_freq_percpu_info`, `function read_hbreg`, `function write_hbreg`, `function self_refresh_ctl`, `function frob_mem_refresh`, `function us2e_transition`, `function index_to_estar_mode`, `function index_to_divisor`, `function estar_to_divisor`, `function __us2e_freq_get`.
- 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.