drivers/clk/stm32/clk-stm32mp21.c
Source file repositories/reference/linux-study-clean/drivers/clk/stm32/clk-stm32mp21.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/clk/stm32/clk-stm32mp21.c- Extension
.c- Size
- 51223 bytes
- Lines
- 1587
- Domain
- Driver Families
- Bucket
- drivers/clk
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bus/stm32_firewall_device.hlinux/clk-provider.hlinux/io.hlinux/platform_device.hclk-stm32-core.hreset-stm32.hstm32mp21_rcc.hdt-bindings/clock/st,stm32mp21-rcc.hdt-bindings/reset/st,stm32mp21-rcc.h
Detected Declarations
enum enum_mux_cfgenum enum_gate_cfgfunction stm32_rcc_get_accessfunction stm32mp21_check_securityfunction stm32mp21_rcc_clocks_probefunction stm32mp21_clocks_initmodule init stm32mp21_clocks_init
Annotated Snippet
core_initcall(stm32mp21_clocks_init);
Annotation
- Immediate include surface: `linux/bus/stm32_firewall_device.h`, `linux/clk-provider.h`, `linux/io.h`, `linux/platform_device.h`, `clk-stm32-core.h`, `reset-stm32.h`, `stm32mp21_rcc.h`, `dt-bindings/clock/st,stm32mp21-rcc.h`.
- Detected declarations: `enum enum_mux_cfg`, `enum enum_gate_cfg`, `function stm32_rcc_get_access`, `function stm32mp21_check_security`, `function stm32mp21_rcc_clocks_probe`, `function stm32mp21_clocks_init`, `module init stm32mp21_clocks_init`.
- Atlas domain: Driver Families / drivers/clk.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.