sound/soc/codecs/lpass-wsa-macro.h

Source file repositories/reference/linux-study-clean/sound/soc/codecs/lpass-wsa-macro.h

File Facts

System
Linux kernel
Corpus path
sound/soc/codecs/lpass-wsa-macro.h
Extension
.h
Size
405 bytes
Lines
18
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

#ifndef __LPASS_WSA_MACRO_H__
#define __LPASS_WSA_MACRO_H__

/*
 * Selects compander and smart boost settings
 * for a given speaker mode
 */
enum {
	WSA_MACRO_SPKR_MODE_DEFAULT,
	WSA_MACRO_SPKR_MODE_1, /* COMP Gain = 12dB, Smartboost Max = 5.5V */
};

int wsa_macro_set_spkr_mode(struct snd_soc_component *component, int mode);

#endif /* __LPASS_WSA_MACRO_H__ */

Annotation

Implementation Notes