drivers/clk/x86/clk-cgu-pll.c
Source file repositories/reference/linux-study-clean/drivers/clk/x86/clk-cgu-pll.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/clk/x86/clk-cgu-pll.c- Extension
.c- Size
- 3263 bytes
- Lines
- 146
- Domain
- Driver Families
- Bucket
- drivers/clk
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- 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/clk-provider.hlinux/delay.hlinux/device.hlinux/iopoll.hlinux/of.hclk-cgu.h
Detected Declarations
function Copyrightfunction lgm_pll_recalc_ratefunction lgm_pll_is_enabledfunction lgm_pll_enablefunction lgm_pll_disablefunction lgm_clk_register_pllfunction lgm_clk_register_plls
Annotated Snippet
if (IS_ERR(hw)) {
dev_err(ctx->dev, "failed to register pll: %s\n",
list->name);
return PTR_ERR(hw);
}
ctx->clk_data.hws[list->id] = hw;
}
return 0;
}
Annotation
- Immediate include surface: `linux/clk-provider.h`, `linux/delay.h`, `linux/device.h`, `linux/iopoll.h`, `linux/of.h`, `clk-cgu.h`.
- Detected declarations: `function Copyright`, `function lgm_pll_recalc_rate`, `function lgm_pll_is_enabled`, `function lgm_pll_enable`, `function lgm_pll_disable`, `function lgm_clk_register_pll`, `function lgm_clk_register_plls`.
- Atlas domain: Driver Families / drivers/clk.
- Implementation status: source 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.