sound/soc/meson/meson-codec-glue.h

Source file repositories/reference/linux-study-clean/sound/soc/meson/meson-codec-glue.h

File Facts

System
Linux kernel
Corpus path
sound/soc/meson/meson-codec-glue.h
Extension
.h
Size
937 bytes
Lines
33
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 meson_codec_glue_input {
	struct snd_soc_pcm_stream params;
	unsigned int fmt;
};

/* Input helpers */
struct meson_codec_glue_input *
meson_codec_glue_input_get_data(struct snd_soc_dai *dai);
int meson_codec_glue_input_hw_params(struct snd_pcm_substream *substream,
				     struct snd_pcm_hw_params *params,
				     struct snd_soc_dai *dai);
int meson_codec_glue_input_set_fmt(struct snd_soc_dai *dai,
				   unsigned int fmt);
int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai);
int meson_codec_glue_input_dai_remove(struct snd_soc_dai *dai);

/* Output helpers */
int meson_codec_glue_output_startup(struct snd_pcm_substream *substream,
				    struct snd_soc_dai *dai);

#endif /* _MESON_CODEC_GLUE_H */

Annotation

Implementation Notes