sound/soc/codecs/wm8995.h
Source file repositories/reference/linux-study-clean/sound/soc/codecs/wm8995.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/wm8995.h- Extension
.h- Size
- 251957 bytes
- Lines
- 4264
- Domain
- Driver Families
- Bucket
- sound/soc
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm/types.h
Detected Declarations
struct wm8995_reg_accessenum clk_src
Annotated Snippet
struct wm8995_reg_access {
u16 read;
u16 write;
u16 vol;
};
/* Sources for AIF1/2 SYSCLK - use with set_dai_sysclk() */
enum clk_src {
WM8995_SYSCLK_MCLK1 = 1,
WM8995_SYSCLK_MCLK2,
WM8995_SYSCLK_FLL1,
WM8995_SYSCLK_FLL2,
WM8995_SYSCLK_OPCLK
};
#define WM8995_FLL1 1
#define WM8995_FLL2 2
#define WM8995_FLL_SRC_MCLK1 1
#define WM8995_FLL_SRC_MCLK2 2
#define WM8995_FLL_SRC_LRCLK 3
#define WM8995_FLL_SRC_BCLK 4
#endif /* _WM8995_H */
Annotation
- Immediate include surface: `asm/types.h`.
- Detected declarations: `struct wm8995_reg_access`, `enum clk_src`.
- Atlas domain: Driver Families / sound/soc.
- 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.