drivers/cpufreq/pmac32-cpufreq.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/pmac32-cpufreq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/pmac32-cpufreq.c- Extension
.c- Size
- 17996 bytes
- Lines
- 692
- 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/module.hlinux/types.hlinux/errno.hlinux/kernel.hlinux/delay.hlinux/sched.hlinux/adb.hlinux/pmu.hlinux/cpufreq.hlinux/init.hlinux/device.hlinux/hardirq.hlinux/of.hlinux/of_address.hasm/machdep.hasm/irq.hasm/pmac_feature.hasm/mmu_context.hasm/sections.hasm/cputable.hasm/time.hasm/mpic.hasm/keylargo.hasm/switch_to.h
Detected Declarations
function local_delayfunction debug_calc_bogomipsfunction cpu_750fx_cpu_speedfunction cpu_750fx_get_cpu_speedfunction dfs_set_cpu_speedfunction dfs_get_cpu_speedfunction gpios_set_cpu_speedfunction pmu_set_cpu_speedfunction do_set_cpu_speedfunction cpu_has_featurefunction pmac_cpufreq_get_speedfunction pmac_cpufreq_targetfunction pmac_cpufreq_cpu_initfunction read_gpiofunction pmac_cpufreq_suspendfunction pmac_cpufreq_resumefunction pmac_cpufreq_init_MacRISC3function pmac_cpufreq_init_7447Afunction pmac_cpufreq_init_750FXfunction pmac_cpufreq_setupfunction of_property_read_boolfunction of_machine_is_compatiblemodule init pmac_cpufreq_setup
Annotated Snippet
module_init(pmac_cpufreq_setup);
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/errno.h`, `linux/kernel.h`, `linux/delay.h`, `linux/sched.h`, `linux/adb.h`, `linux/pmu.h`.
- Detected declarations: `function local_delay`, `function debug_calc_bogomips`, `function cpu_750fx_cpu_speed`, `function cpu_750fx_get_cpu_speed`, `function dfs_set_cpu_speed`, `function dfs_get_cpu_speed`, `function gpios_set_cpu_speed`, `function pmu_set_cpu_speed`, `function do_set_cpu_speed`, `function cpu_has_feature`.
- 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.