sound/soc/codecs/cs35l41.h
Source file repositories/reference/linux-study-clean/sound/soc/codecs/cs35l41.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/codecs/cs35l41.h- Extension
.h- Size
- 1091 bytes
- Lines
- 42
- 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/gpio/consumer.hlinux/regulator/consumer.hlinux/firmware.hsound/core.hsound/cs35l41.hwm_adsp.h
Detected Declarations
struct cs35l41_private
Annotated Snippet
struct cs35l41_private {
struct wm_adsp dsp; /* needs to be first member */
struct snd_soc_codec *codec;
struct cs35l41_hw_cfg hw_cfg;
struct device *dev;
struct regmap *regmap;
struct regulator_bulk_data supplies[CS35L41_NUM_SUPPLIES];
int irq;
/* GPIO for /RST */
struct gpio_desc *reset_gpio;
};
int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg);
void cs35l41_remove(struct cs35l41_private *cs35l41);
#endif /*__CS35L41_H__*/
Annotation
- Immediate include surface: `linux/gpio/consumer.h`, `linux/regulator/consumer.h`, `linux/firmware.h`, `sound/core.h`, `sound/cs35l41.h`, `wm_adsp.h`.
- Detected declarations: `struct cs35l41_private`.
- 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.