sound/soc/codecs/da7213.h
Source file repositories/reference/linux-study-clean/sound/soc/codecs/da7213.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/da7213.h- Extension
.h- Size
- 19123 bytes
- Lines
- 615
- 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
linux/clk.hlinux/regmap.hlinux/regulator/consumer.hsound/da7213.h
Detected Declarations
struct da7213_privenum da7213_clk_srcenum da7213_sys_clkenum da7213_supplies
Annotated Snippet
struct da7213_priv {
struct regmap *regmap;
struct device *dev;
struct mutex ctrl_lock;
struct regulator_bulk_data supplies[DA7213_NUM_SUPPLIES];
struct clk *mclk;
unsigned int mclk_rate;
unsigned int out_rate;
unsigned int fin_min_rate;
int clk_src;
bool master;
bool alc_calib_auto;
bool alc_en;
bool fixed_clk_auto_pll;
struct da7213_platform_data *pdata;
int fmt;
};
#endif /* _DA7213_H */
Annotation
- Immediate include surface: `linux/clk.h`, `linux/regmap.h`, `linux/regulator/consumer.h`, `sound/da7213.h`.
- Detected declarations: `struct da7213_priv`, `enum da7213_clk_src`, `enum da7213_sys_clk`, `enum da7213_supplies`.
- 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.