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.

Dependency Surface

Detected Declarations

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

Implementation Notes