drivers/cpufreq/pasemi-cpufreq.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/pasemi-cpufreq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/pasemi-cpufreq.c- Extension
.c- Size
- 6105 bytes
- Lines
- 274
- 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/cpufreq.hlinux/timer.hlinux/module.hlinux/of_address.hasm/hw_irq.hasm/io.hasm/time.hasm/smp.hplatforms/pasemi/pasemi.h
Detected Declarations
function get_astate_freqfunction get_cur_astatefunction get_gizmo_latencyfunction set_astatefunction check_astatefunction restore_astatefunction pas_cpufreq_cpu_initfunction pas_cpufreq_cpu_exitfunction pas_cpufreq_targetfunction pas_cpufreq_initfunction pas_cpufreq_exitmodule init pas_cpufreq_init
Annotated Snippet
module_init(pas_cpufreq_init);
module_exit(pas_cpufreq_exit);
MODULE_DESCRIPTION("cpufreq driver for PA Semi PWRficient");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>, Olof Johansson <olof@lixom.net>");
Annotation
- Immediate include surface: `linux/cpufreq.h`, `linux/timer.h`, `linux/module.h`, `linux/of_address.h`, `asm/hw_irq.h`, `asm/io.h`, `asm/time.h`, `asm/smp.h`.
- Detected declarations: `function get_astate_freq`, `function get_cur_astate`, `function get_gizmo_latency`, `function set_astate`, `function check_astate`, `function restore_astate`, `function pas_cpufreq_cpu_init`, `function pas_cpufreq_cpu_exit`, `function pas_cpufreq_target`, `function pas_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.