Home
last modified time | relevance | path

Searched refs:mtk_base_afe (Results 1 – 25 of 88) sorted by relevance

1234

/linux-6.12.1/sound/soc/mediatek/mt8365/
Dmt8365-afe-clk.h13 struct mtk_base_afe;
16 int mt8365_afe_init_audio_clk(struct mtk_base_afe *afe);
17 void mt8365_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk);
18 int mt8365_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk, unsigned int rate);
19 int mt8365_afe_set_clk_parent(struct mtk_base_afe *afe, struct clk *clk, struct clk *parent);
20 int mt8365_afe_enable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type);
21 int mt8365_afe_disable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type);
22 int mt8365_afe_enable_main_clk(struct mtk_base_afe *afe);
23 int mt8365_afe_disable_main_clk(struct mtk_base_afe *afe);
24 int mt8365_afe_emi_clk_on(struct mtk_base_afe *afe);
[all …]
Dmt8365-afe-clk.c34 int mt8365_afe_init_audio_clk(struct mtk_base_afe *afe) in mt8365_afe_init_audio_clk()
50 void mt8365_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8365_afe_disable_clk()
56 int mt8365_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk, in mt8365_afe_set_clk_rate()
71 int mt8365_afe_set_clk_parent(struct mtk_base_afe *afe, struct clk *clk, in mt8365_afe_set_clk_parent()
192 int mt8365_afe_enable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type) in mt8365_afe_enable_top_cg()
211 int mt8365_afe_disable_top_cg(struct mtk_base_afe *afe, unsigned int cg_type) in mt8365_afe_disable_top_cg()
232 int mt8365_afe_enable_main_clk(struct mtk_base_afe *afe) in mt8365_afe_enable_main_clk()
243 int mt8365_afe_disable_main_clk(struct mtk_base_afe *afe) in mt8365_afe_disable_main_clk()
254 int mt8365_afe_emi_clk_on(struct mtk_base_afe *afe) in mt8365_afe_emi_clk_on()
259 int mt8365_afe_emi_clk_off(struct mtk_base_afe *afe) in mt8365_afe_emi_clk_off()
[all …]
Dmt8365-afe-common.h427 int mt8365_dai_i2s_register(struct mtk_base_afe *afe);
428 int mt8365_dai_set_priv(struct mtk_base_afe *afe,
435 void mt8365_afe_set_i2s_out_enable(struct mtk_base_afe *afe, bool enable);
436 int mt8365_afe_set_i2s_out(struct mtk_base_afe *afe, unsigned int rate, int bit_width);
438 int mt8365_dai_adda_register(struct mtk_base_afe *afe);
439 int mt8365_dai_enable_adda_on(struct mtk_base_afe *afe);
440 int mt8365_dai_disable_adda_on(struct mtk_base_afe *afe);
442 int mt8365_dai_dmic_register(struct mtk_base_afe *afe);
444 int mt8365_dai_pcm_register(struct mtk_base_afe *afe);
446 int mt8365_dai_tdm_register(struct mtk_base_afe *afe);
Dmt8365-dai-dmic.c52 static void audio_dmic_adda_enable(struct mtk_base_afe *afe) in audio_dmic_adda_enable()
60 static void audio_dmic_adda_disable(struct mtk_base_afe *afe) in audio_dmic_adda_disable()
68 static void mt8365_dai_enable_dmic(struct mtk_base_afe *afe, in mt8365_dai_enable_dmic()
88 static void mt8365_dai_disable_dmic(struct mtk_base_afe *afe, in mt8365_dai_disable_dmic()
111 static int mt8365_dai_configure_dmic(struct mtk_base_afe *afe, in mt8365_dai_configure_dmic()
165 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_startup()
182 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_shutdown()
199 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_dmic_prepare()
265 static int init_dmic_priv_data(struct mtk_base_afe *afe) in init_dmic_priv_data()
292 int mt8365_dai_dmic_register(struct mtk_base_afe *afe) in mt8365_dai_dmic_register()
Dmt8365-dai-adda.c21 static int mt8365_dai_set_adda_out(struct mtk_base_afe *afe, unsigned int rate) in mt8365_dai_set_adda_out()
50 static int mt8365_dai_set_adda_in(struct mtk_base_afe *afe, unsigned int rate) in mt8365_dai_set_adda_in()
64 int mt8365_dai_enable_adda_on(struct mtk_base_afe *afe) in mt8365_dai_enable_adda_on()
82 int mt8365_dai_disable_adda_on(struct mtk_base_afe *afe) in mt8365_dai_disable_adda_on()
104 static void mt8365_dai_set_adda_out_enable(struct mtk_base_afe *afe, in mt8365_dai_set_adda_out_enable()
115 static void mt8365_dai_set_adda_in_enable(struct mtk_base_afe *afe, bool enable) in mt8365_dai_set_adda_in_enable()
137 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_int_adda_startup()
155 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_int_adda_shutdown()
184 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_int_adda_prepare()
296 int mt8365_dai_adda_register(struct mtk_base_afe *afe) in mt8365_dai_adda_register()
Dmt8365-dai-pcm.c25 static void mt8365_dai_enable_pcm1(struct mtk_base_afe *afe) in mt8365_dai_enable_pcm1()
31 static void mt8365_dai_disable_pcm1(struct mtk_base_afe *afe) in mt8365_dai_disable_pcm1()
40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_configure_pcm1()
110 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_pcm1_startup()
123 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_pcm1_shutdown()
135 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_pcm1_prepare()
158 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8365_dai_pcm1_set_fmt()
263 static int init_pcmif_priv_data(struct mtk_base_afe *afe) in init_pcmif_priv_data()
277 int mt8365_dai_pcm_register(struct mtk_base_afe *afe) in mt8365_dai_pcm_register()
/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-afe-clk.h81 struct mtk_base_afe;
82 int mt8186_set_audio_int_bus_parent(struct mtk_base_afe *afe, int clk_id);
83 int mt8186_init_clock(struct mtk_base_afe *afe);
84 int mt8186_afe_enable_cgs(struct mtk_base_afe *afe);
85 void mt8186_afe_disable_cgs(struct mtk_base_afe *afe);
86 int mt8186_afe_enable_clock(struct mtk_base_afe *afe);
87 void mt8186_afe_disable_clock(struct mtk_base_afe *afe);
88 int mt8186_afe_suspend_clock(struct mtk_base_afe *afe);
89 int mt8186_afe_resume_clock(struct mtk_base_afe *afe);
91 int mt8186_apll1_enable(struct mtk_base_afe *afe);
[all …]
Dmt8186-afe-common.h175 int mt8186_dai_adda_register(struct mtk_base_afe *afe);
176 int mt8186_dai_i2s_register(struct mtk_base_afe *afe);
177 int mt8186_dai_tdm_register(struct mtk_base_afe *afe);
178 int mt8186_dai_hw_gain_register(struct mtk_base_afe *afe);
179 int mt8186_dai_src_register(struct mtk_base_afe *afe);
180 int mt8186_dai_pcm_register(struct mtk_base_afe *afe);
181 int mt8186_dai_hostless_register(struct mtk_base_afe *afe);
192 int mt8186_dai_i2s_set_share(struct mtk_base_afe *afe, const char *main_i2s_name,
195 int mt8186_dai_set_priv(struct mtk_base_afe *afe, int id,
Dmt8186-afe-clk.c73 int mt8186_set_audio_int_bus_parent(struct mtk_base_afe *afe, in mt8186_set_audio_int_bus_parent()
91 static int apll1_mux_setting(struct mtk_base_afe *afe, bool enable) in apll1_mux_setting()
152 static int apll2_mux_setting(struct mtk_base_afe *afe, bool enable) in apll2_mux_setting()
213 int mt8186_afe_enable_cgs(struct mtk_base_afe *afe) in mt8186_afe_enable_cgs()
231 void mt8186_afe_disable_cgs(struct mtk_base_afe *afe) in mt8186_afe_disable_cgs()
240 int mt8186_afe_enable_clock(struct mtk_base_afe *afe) in mt8186_afe_enable_clock()
320 void mt8186_afe_disable_clock(struct mtk_base_afe *afe) in mt8186_afe_disable_clock()
332 int mt8186_afe_suspend_clock(struct mtk_base_afe *afe) in mt8186_afe_suspend_clock()
359 int mt8186_afe_resume_clock(struct mtk_base_afe *afe) in mt8186_afe_resume_clock()
387 int mt8186_apll1_enable(struct mtk_base_afe *afe) in mt8186_apll1_enable()
[all …]
Dmt8186-dai-tdm.c104 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event()
131 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
203 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_connect()
216 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_apll_connect()
233 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_hd_connect()
246 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect()
276 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_tdm_hd_get()
290 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_tdm_hd_set()
335 static int mtk_dai_tdm_cal_mclk(struct mtk_base_afe *afe, in mtk_dai_tdm_cal_mclk()
367 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_hw_params()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.h20 struct mtk_base_afe;
22 int mt8183_init_clock(struct mtk_base_afe *afe);
23 int mt8183_afe_enable_clock(struct mtk_base_afe *afe);
24 int mt8183_afe_disable_clock(struct mtk_base_afe *afe);
26 int mt8183_apll1_enable(struct mtk_base_afe *afe);
27 void mt8183_apll1_disable(struct mtk_base_afe *afe);
29 int mt8183_apll2_enable(struct mtk_base_afe *afe);
30 void mt8183_apll2_disable(struct mtk_base_afe *afe);
32 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll);
33 int mt8183_get_apll_by_rate(struct mtk_base_afe *afe, int rate);
[all …]
Dmt8183-afe-common.h102 int mt8183_dai_i2s_set_share(struct mtk_base_afe *afe, const char *main_i2s_name,
106 int mt8183_dai_adda_register(struct mtk_base_afe *afe);
107 int mt8183_dai_pcm_register(struct mtk_base_afe *afe);
108 int mt8183_dai_i2s_register(struct mtk_base_afe *afe);
109 int mt8183_dai_tdm_register(struct mtk_base_afe *afe);
110 int mt8183_dai_hostless_register(struct mtk_base_afe *afe);
/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-afe-clk.h106 struct mtk_base_afe;
109 int mt8188_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
111 int mt8188_get_apll_by_rate(struct mtk_base_afe *afe, int rate);
112 int mt8188_get_apll_by_name(struct mtk_base_afe *afe, const char *name);
113 int mt8188_afe_init_clock(struct mtk_base_afe *afe);
114 int mt8188_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk);
115 void mt8188_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk);
116 int mt8188_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk,
118 int mt8188_afe_set_clk_parent(struct mtk_base_afe *afe, struct clk *clk,
120 int mt8188_apll1_enable(struct mtk_base_afe *afe);
[all …]
Dmt8188-afe-clk.c226 static int mt8188_afe_setup_apll_tuner(struct mtk_base_afe *afe, unsigned int id) in mt8188_afe_setup_apll_tuner()
251 static int mt8188_afe_enable_tuner_clk(struct mtk_base_afe *afe, in mt8188_afe_enable_tuner_clk()
272 static int mt8188_afe_disable_tuner_clk(struct mtk_base_afe *afe, in mt8188_afe_disable_tuner_clk()
293 static int mt8188_afe_enable_apll_tuner(struct mtk_base_afe *afe, unsigned int id) in mt8188_afe_enable_apll_tuner()
324 static int mt8188_afe_disable_apll_tuner(struct mtk_base_afe *afe, unsigned int id) in mt8188_afe_disable_apll_tuner()
367 int mt8188_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll) in mt8188_afe_get_mclk_source_rate()
386 int mt8188_get_apll_by_rate(struct mtk_base_afe *afe, int rate) in mt8188_get_apll_by_rate()
391 int mt8188_get_apll_by_name(struct mtk_base_afe *afe, const char *name) in mt8188_get_apll_by_name()
399 int mt8188_afe_init_clock(struct mtk_base_afe *afe) in mt8188_afe_init_clock()
439 int mt8188_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8188_afe_enable_clk()
[all …]
Dmt8188-dai-adda.c32 static int mt8188_adda_mtkaif_init(struct mtk_base_afe *afe) in mt8188_adda_mtkaif_init()
80 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
101 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
118 static void mtk_adda_ul_mictype(struct mtk_base_afe *afe, bool dmic) in mtk_adda_ul_mictype()
138 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
160 static struct mtk_dai_adda_priv *get_adda_priv_by_name(struct mtk_base_afe *afe, in get_adda_priv_by_name()
178 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adda_hires_connect()
315 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8188_adda_dmic_get()
327 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8188_adda_dmic_set()
351 static int mtk_dai_da_configure(struct mtk_base_afe *afe, in mtk_dai_da_configure()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-afe-clk.h98 struct mtk_base_afe;
101 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll);
103 int mt8195_afe_init_clock(struct mtk_base_afe *afe);
104 int mt8195_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk);
105 void mt8195_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk);
106 int mt8195_afe_prepare_clk(struct mtk_base_afe *afe, struct clk *clk);
107 void mt8195_afe_unprepare_clk(struct mtk_base_afe *afe, struct clk *clk);
108 int mt8195_afe_enable_clk_atomic(struct mtk_base_afe *afe, struct clk *clk);
109 void mt8195_afe_disable_clk_atomic(struct mtk_base_afe *afe, struct clk *clk);
110 int mt8195_afe_set_clk_rate(struct mtk_base_afe *afe, struct clk *clk,
[all …]
Dmt8195-afe-clk.c217 static int mt8195_afe_setup_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_setup_apll_tuner()
240 static int mt8195_afe_enable_tuner_clk(struct mtk_base_afe *afe, in mt8195_afe_enable_tuner_clk()
261 static int mt8195_afe_disable_tuner_clk(struct mtk_base_afe *afe, in mt8195_afe_disable_tuner_clk()
282 static int mt8195_afe_enable_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_enable_apll_tuner()
314 static int mt8195_afe_disable_apll_tuner(struct mtk_base_afe *afe, in mt8195_afe_disable_apll_tuner()
358 int mt8195_afe_get_mclk_source_rate(struct mtk_base_afe *afe, int apll) in mt8195_afe_get_mclk_source_rate()
377 int mt8195_afe_init_clock(struct mtk_base_afe *afe) in mt8195_afe_init_clock()
413 int mt8195_afe_enable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_enable_clk()
431 void mt8195_afe_disable_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_disable_clk()
440 int mt8195_afe_prepare_clk(struct mtk_base_afe *afe, struct clk *clk) in mt8195_afe_prepare_clk()
[all …]
Dmt8195-dai-adda.c38 static int mt8195_adda_mtkaif_init(struct mtk_base_afe *afe) in mt8195_adda_mtkaif_init()
113 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
134 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
151 static void mtk_adda_ul_mictype(struct mtk_base_afe *afe, int adda, bool dmic) in mtk_adda_ul_mictype()
184 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
211 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda6_ul_event()
247 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_audio_hires_event()
270 static struct mtk_dai_adda_priv *get_adda_priv_by_name(struct mtk_base_afe *afe, in get_adda_priv_by_name()
293 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adda_hires_connect()
459 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8195_adda_dl_gain_put()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt2701/
Dmt2701-afe-clock-ctrl.h13 struct mtk_base_afe;
16 int mt2701_init_clock(struct mtk_base_afe *afe);
17 int mt2701_afe_enable_clock(struct mtk_base_afe *afe);
18 int mt2701_afe_disable_clock(struct mtk_base_afe *afe);
20 int mt2701_afe_enable_i2s(struct mtk_base_afe *afe,
23 void mt2701_afe_disable_i2s(struct mtk_base_afe *afe,
26 int mt2701_afe_enable_mclk(struct mtk_base_afe *afe, int id);
27 void mt2701_afe_disable_mclk(struct mtk_base_afe *afe, int id);
29 int mt2701_enable_btmrg_clk(struct mtk_base_afe *afe);
30 void mt2701_disable_btmrg_clk(struct mtk_base_afe *afe);
[all …]
Dmt2701-afe-clock-ctrl.c25 int mt2701_init_clock(struct mtk_base_afe *afe) in mt2701_init_clock()
101 int mt2701_afe_enable_i2s(struct mtk_base_afe *afe, in mt2701_afe_enable_i2s()
127 void mt2701_afe_disable_i2s(struct mtk_base_afe *afe, in mt2701_afe_disable_i2s()
135 int mt2701_afe_enable_mclk(struct mtk_base_afe *afe, int id) in mt2701_afe_enable_mclk()
143 void mt2701_afe_disable_mclk(struct mtk_base_afe *afe, int id) in mt2701_afe_disable_mclk()
151 int mt2701_enable_btmrg_clk(struct mtk_base_afe *afe) in mt2701_enable_btmrg_clk()
158 void mt2701_disable_btmrg_clk(struct mtk_base_afe *afe) in mt2701_disable_btmrg_clk()
165 static int mt2701_afe_enable_audsys(struct mtk_base_afe *afe) in mt2701_afe_enable_audsys()
220 static void mt2701_afe_disable_audsys(struct mtk_base_afe *afe) in mt2701_afe_disable_audsys()
233 int mt2701_afe_enable_clock(struct mtk_base_afe *afe) in mt2701_afe_enable_clock()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8192/
Dmt8192-afe-clk.h221 struct mtk_base_afe;
223 int mt8192_init_clock(struct mtk_base_afe *afe);
224 int mt8192_afe_enable_clock(struct mtk_base_afe *afe);
225 void mt8192_afe_disable_clock(struct mtk_base_afe *afe);
227 int mt8192_apll1_enable(struct mtk_base_afe *afe);
228 void mt8192_apll1_disable(struct mtk_base_afe *afe);
230 int mt8192_apll2_enable(struct mtk_base_afe *afe);
231 void mt8192_apll2_disable(struct mtk_base_afe *afe);
233 int mt8192_get_apll_rate(struct mtk_base_afe *afe, int apll);
234 int mt8192_get_apll_by_rate(struct mtk_base_afe *afe, int rate);
[all …]
Dmt8192-afe-common.h155 int mt8192_dai_adda_register(struct mtk_base_afe *afe);
156 int mt8192_dai_i2s_register(struct mtk_base_afe *afe);
157 int mt8192_dai_hw_gain_register(struct mtk_base_afe *afe);
158 int mt8192_dai_src_register(struct mtk_base_afe *afe);
159 int mt8192_dai_pcm_register(struct mtk_base_afe *afe);
160 int mt8192_dai_tdm_register(struct mtk_base_afe *afe);
162 int mt8192_dai_i2s_set_share(struct mtk_base_afe *afe, const char *main_i2s_name,
170 int mt8192_dai_set_priv(struct mtk_base_afe *afe, int id,
/linux-6.12.1/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.h13 struct mtk_base_afe;
32 int mtk_dynamic_irq_acquire(struct mtk_base_afe *afe);
33 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id);
37 int mtk_memif_set_enable(struct mtk_base_afe *afe, int id);
38 int mtk_memif_set_disable(struct mtk_base_afe *afe, int id);
39 int mtk_memif_set_addr(struct mtk_base_afe *afe, int id,
43 int mtk_memif_set_channel(struct mtk_base_afe *afe,
45 int mtk_memif_set_rate(struct mtk_base_afe *afe,
49 int mtk_memif_set_format(struct mtk_base_afe *afe,
51 int mtk_memif_set_pbuf_size(struct mtk_base_afe *afe,
Dmtk-afe-fe-dai.c41 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_startup()
102 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_shutdown()
124 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_hw_params()
187 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_hw_free()
201 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_trigger()
267 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_prepare()
291 int mtk_dynamic_irq_acquire(struct mtk_base_afe *afe) in mtk_dynamic_irq_acquire()
308 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id) in mtk_dynamic_irq_release()
323 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_suspend()
350 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_resume()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt6797/
Dmt6797-afe-clk.h12 struct mtk_base_afe;
14 int mt6797_init_clock(struct mtk_base_afe *afe);
15 int mt6797_afe_enable_clock(struct mtk_base_afe *afe);
16 int mt6797_afe_disable_clock(struct mtk_base_afe *afe);

1234