sound/soc/mediatek/mt8196/mt8196-afe-common.h

Source file repositories/reference/linux-study-clean/sound/soc/mediatek/mt8196/mt8196-afe-common.h

File Facts

System
Linux kernel
Corpus path
sound/soc/mediatek/mt8196/mt8196-afe-common.h
Extension
.h
Size
4155 bytes
Lines
206
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 mt8196_afe_private {
	struct clk **clk;
	/* dai */
	void *dai_priv[MT8196_DAI_NUM];
	/* mck */
	int mck_rate[MT8196_MCK_NUM];
	/* channel merge */
	u32 cm_rate[CM_NUM];
	u32 cm_channels;
};

int mt8196_dai_adda_register(struct mtk_base_afe *afe);
int mt8196_dai_i2s_register(struct mtk_base_afe *afe);
int mt8196_dai_tdm_register(struct mtk_base_afe *afe);
int mt8196_dai_set_priv(struct mtk_base_afe *afe, int id,
			int priv_size, const void *priv_data);

#endif

Annotation

Implementation Notes