drivers/cpufreq/ti-cpufreq.c
Source file repositories/reference/linux-study-clean/drivers/cpufreq/ti-cpufreq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpufreq/ti-cpufreq.c- Extension
.c- Size
- 16840 bytes
- Lines
- 619
- 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/cpu.hlinux/io.hlinux/mfd/syscon.hlinux/module.hlinux/init.hlinux/of.hlinux/platform_device.hlinux/pm_opp.hlinux/regmap.hlinux/slab.hlinux/sys_soc.h
Detected Declarations
struct ti_cpufreq_datastruct ti_cpufreq_soc_datastruct ti_cpufreq_datafunction amx3_efuse_xlatefunction dra7_efuse_xlatefunction omap3_efuse_xlatefunction am62p5_efuse_xlatefunction am62a7_efuse_xlatefunction am625_efuse_xlatefunction am62l3_efuse_xlatefunction ti_cpufreq_get_efusefunction ti_cpufreq_get_revfunction ti_cpufreq_setup_syscon_registerfunction ti_cpufreq_probefunction ti_cpufreq_initmodule init ti_cpufreq_init
Annotated Snippet
module_init(ti_cpufreq_init);
static struct platform_driver ti_cpufreq_driver = {
.probe = ti_cpufreq_probe,
.driver = {
.name = "ti-cpufreq",
},
};
builtin_platform_driver(ti_cpufreq_driver);
MODULE_DESCRIPTION("TI CPUFreq/OPP hw-supported driver");
MODULE_AUTHOR("Dave Gerlach <d-gerlach@ti.com>");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/cpu.h`, `linux/io.h`, `linux/mfd/syscon.h`, `linux/module.h`, `linux/init.h`, `linux/of.h`, `linux/platform_device.h`, `linux/pm_opp.h`.
- Detected declarations: `struct ti_cpufreq_data`, `struct ti_cpufreq_soc_data`, `struct ti_cpufreq_data`, `function amx3_efuse_xlate`, `function dra7_efuse_xlate`, `function omap3_efuse_xlate`, `function am62p5_efuse_xlate`, `function am62a7_efuse_xlate`, `function am625_efuse_xlate`, `function am62l3_efuse_xlate`.
- 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.