drivers/cpufreq/powernow-k6.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/powernow-k6.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/powernow-k6.c- Extension
.c- Size
- 8216 bytes
- Lines
- 310
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/init.hlinux/cpufreq.hlinux/ioport.hlinux/timex.hlinux/io.hasm/cpu_device_id.hasm/msr.h
Detected Declarations
function powernow_k6_get_cpu_multiplierfunction powernow_k6_set_cpu_multiplierfunction powernow_k6_targetfunction powernow_k6_cpu_initfunction cpufreq_for_each_entryfunction powernow_k6_cpu_exitfunction powernow_k6_getfunction powernow_k6_initfunction powernow_k6_exitmodule init powernow_k6_init
Annotated Snippet
module_init(powernow_k6_init);
module_exit(powernow_k6_exit);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/cpufreq.h`, `linux/ioport.h`, `linux/timex.h`, `linux/io.h`, `asm/cpu_device_id.h`.
- Detected declarations: `function powernow_k6_get_cpu_multiplier`, `function powernow_k6_set_cpu_multiplier`, `function powernow_k6_target`, `function powernow_k6_cpu_init`, `function cpufreq_for_each_entry`, `function powernow_k6_cpu_exit`, `function powernow_k6_get`, `function powernow_k6_init`, `function powernow_k6_exit`, `module init powernow_k6_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.