0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _MTK_AFE_PLATFORM_DRIVER_H_
0010 #define _MTK_AFE_PLATFORM_DRIVER_H_
0011
0012 #define AFE_PCM_NAME "mtk-afe-pcm"
0013 extern const struct snd_soc_component_driver mtk_afe_pcm_platform;
0014
0015 struct mtk_base_afe;
0016 struct snd_pcm;
0017 struct snd_soc_component;
0018 struct snd_soc_pcm_runtime;
0019
0020 snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component,
0021 struct snd_pcm_substream *substream);
0022 int mtk_afe_pcm_new(struct snd_soc_component *component,
0023 struct snd_soc_pcm_runtime *rtd);
0024
0025 int mtk_afe_combine_sub_dai(struct mtk_base_afe *afe);
0026 int mtk_afe_add_sub_dai_control(struct snd_soc_component *component);
0027 #endif
0028