drivers/mfd/wm8400-core.c
Source file repositories/reference/linux-study-clean/drivers/mfd/wm8400-core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mfd/wm8400-core.c- Extension
.c- Size
- 3764 bytes
- Lines
- 164
- Domain
- Driver Families
- Bucket
- drivers/mfd
- 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/init.hlinux/bug.hlinux/err.hlinux/i2c.hlinux/kernel.hlinux/mfd/core.hlinux/mfd/wm8400-private.hlinux/mfd/wm8400-audio.hlinux/regmap.hlinux/slab.h
Detected Declarations
function wm8400_volatilefunction wm8400_register_codecfunction wm8400_initfunction wm8400_reset_codec_reg_cachefunction wm8400_i2c_probefunction wm8400_driver_initmodule init wm8400_driver_initexport wm8400_reset_codec_reg_cache
Annotated Snippet
subsys_initcall(wm8400_driver_init);
Annotation
- Immediate include surface: `linux/init.h`, `linux/bug.h`, `linux/err.h`, `linux/i2c.h`, `linux/kernel.h`, `linux/mfd/core.h`, `linux/mfd/wm8400-private.h`, `linux/mfd/wm8400-audio.h`.
- Detected declarations: `function wm8400_volatile`, `function wm8400_register_codec`, `function wm8400_init`, `function wm8400_reset_codec_reg_cache`, `function wm8400_i2c_probe`, `function wm8400_driver_init`, `module init wm8400_driver_init`, `export wm8400_reset_codec_reg_cache`.
- Atlas domain: Driver Families / drivers/mfd.
- 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.