Home
last modified time | relevance | path

Searched defs:afe (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/mediatek/mt2701/
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 …]
Dmt2701-afe-pcm.c84 static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) in mt2701_dai_num_to_i2s()
111 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_afe_i2s_startup() local
122 static int mt2701_afe_i2s_path_disable(struct mtk_base_afe *afe, in mt2701_afe_i2s_path_disable()
146 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_afe_i2s_shutdown() local
173 static int mt2701_i2s_path_enable(struct mtk_base_afe *afe, in mt2701_i2s_path_enable()
234 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_afe_i2s_prepare() local
268 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_afe_i2s_set_sysclk() local
290 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_btmrg_startup() local
307 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_btmrg_hw_params() local
348 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt2701_btmrg_shutdown() local
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c41 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_startup() local
102 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_shutdown() local
124 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_hw_params() local
187 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_hw_free() local
201 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_trigger() local
267 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_afe_fe_prepare() local
292 int mtk_dynamic_irq_acquire(struct mtk_base_afe *afe) in mtk_dynamic_irq_acquire()
309 int mtk_dynamic_irq_release(struct mtk_base_afe *afe, int irq_id) in mtk_dynamic_irq_release()
324 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_suspend() local
349 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_resume() local
[all …]
Dmtk-afe-platform-driver.c16 int mtk_afe_combine_sub_dai(struct mtk_base_afe *afe) in mtk_afe_combine_sub_dai()
51 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_add_sub_dai_control() local
84 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_pcm_pointer() local
120 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mtk_afe_pcm_new() local
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
Dadv748x-afe.c55 static int adv748x_afe_status(struct adv748x_afe *afe, u32 *signal, in adv748x_afe_status()
112 static void adv748x_afe_fill_format(struct adv748x_afe *afe, in adv748x_afe_fill_format()
157 static int adv748x_afe_s_input(struct adv748x_afe *afe, unsigned int input) in adv748x_afe_s_input()
167 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_pixelaspect() local
186 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_std() local
195 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_s_std() local
214 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_querystd() local
257 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_g_input_status() local
272 struct adv748x_afe *afe = adv748x_sd_to_afe(sd); in adv748x_afe_s_stream() local
317 static int adv748x_afe_propagate_pixelrate(struct adv748x_afe *afe) in adv748x_afe_propagate_pixelrate()
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.c92 int mt8183_init_clock(struct mtk_base_afe *afe) in mt8183_init_clock()
115 int mt8183_afe_enable_clock(struct mtk_base_afe *afe) in mt8183_afe_enable_clock()
214 int mt8183_afe_disable_clock(struct mtk_base_afe *afe) in mt8183_afe_disable_clock()
231 static int apll1_mux_setting(struct mtk_base_afe *afe, bool enable) in apll1_mux_setting()
305 static int apll2_mux_setting(struct mtk_base_afe *afe, bool enable) in apll2_mux_setting()
379 int mt8183_apll1_enable(struct mtk_base_afe *afe) in mt8183_apll1_enable()
417 void mt8183_apll1_disable(struct mtk_base_afe *afe) in mt8183_apll1_disable()
433 int mt8183_apll2_enable(struct mtk_base_afe *afe) in mt8183_apll2_enable()
471 void mt8183_apll2_disable(struct mtk_base_afe *afe) in mt8183_apll2_disable()
487 int mt8183_get_apll_rate(struct mtk_base_afe *afe, int apll) in mt8183_get_apll_rate()
[all …]
Dmt8183-dai-i2s.c80 static int get_i2s_id_by_name(struct mtk_base_afe *afe, in get_i2s_id_by_name()
97 static struct mtk_afe_i2s_priv *get_i2s_priv_by_name(struct mtk_base_afe *afe, in get_i2s_priv_by_name()
123 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_get() local
142 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_set() local
278 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event() local
308 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() local
429 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect() local
450 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_hd_connect() local
479 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_apll_connect() local
505 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_mclk_connect() local
[all …]
Dmt8183-dai-adda.c50 static unsigned int adda_dl_rate_transform(struct mtk_base_afe *afe, in adda_dl_rate_transform()
83 static unsigned int adda_ul_rate_transform(struct mtk_base_afe *afe, in adda_ul_rate_transform()
147 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local
201 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_get() local
213 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_set() local
301 static int set_mtkaif_rx(struct mtk_base_afe *afe) in set_mtkaif_rx()
356 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_adda_hw_params() local
489 int mt8183_dai_adda_register(struct mtk_base_afe *afe) in mt8183_dai_adda_register()
Dmt8183-dai-tdm.c251 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event() local
277 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event() local
335 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect() local
436 static int mtk_dai_tdm_cal_mclk(struct mtk_base_afe *afe, in mtk_dai_tdm_cal_mclk()
468 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_hw_params() local
585 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_tdm_trigger() local
618 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_sysclk() local
639 struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); in mtk_dai_tdm_set_fmt() local
717 int mt8183_dai_tdm_register(struct mtk_base_afe *afe) in mt8183_dai_tdm_register()
Dmt8183-afe-pcm.c148 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8183_memif_fs() local
159 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt8183_irq_fs() local
929 struct mtk_base_afe *afe = dev; in mt8183_afe_irq_handler() local
979 struct mtk_base_afe *afe = dev_get_drvdata(dev); in mt8183_afe_runtime_suspend() local
1013 struct mtk_base_afe *afe = dev_get_drvdata(dev); in mt8183_afe_runtime_resume() local
1057 static int mt8183_dai_memif_register(struct mtk_base_afe *afe) in mt8183_dai_memif_register()
1089 struct mtk_base_afe *afe; in mt8183_afe_pcm_dev_probe() local
Dmt8183-dai-hostless.c40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_hostless_startup() local
101 int mt8183_dai_hostless_register(struct mtk_base_afe *afe) in mt8183_dai_hostless_register()
Dmt8183-dai-pcm.c185 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_pcm_hw_params() local
299 int mt8183_dai_pcm_register(struct mtk_base_afe *afe) in mt8183_dai_pcm_register()
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c196 static int mt8173_afe_set_i2s(struct mtk_base_afe *afe, unsigned int rate) in mt8173_afe_set_i2s()
224 static void mt8173_afe_set_i2s_enable(struct mtk_base_afe *afe, bool enable) in mt8173_afe_set_i2s_enable()
239 static int mt8173_afe_dais_enable_clks(struct mtk_base_afe *afe, in mt8173_afe_dais_enable_clks()
262 static int mt8173_afe_dais_set_clks(struct mtk_base_afe *afe, in mt8173_afe_dais_set_clks()
286 static void mt8173_afe_dais_disable_clks(struct mtk_base_afe *afe, in mt8173_afe_dais_disable_clks()
298 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8173_afe_i2s_startup() local
311 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8173_afe_i2s_shutdown() local
326 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8173_afe_i2s_prepare() local
347 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8173_afe_hdmi_startup() local
361 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mt8173_afe_hdmi_shutdown() local
[all …]
/kernel/linux/linux-5.10/drivers/iio/health/
Dafe4403.c141 struct afe4403_data *afe = iio_priv(indio_dev); in afe440x_show_register() local
165 struct afe4403_data *afe = iio_priv(indio_dev); in afe440x_store_register() local
217 static int afe4403_read(struct afe4403_data *afe, unsigned int reg, u32 *val) in afe4403_read()
247 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_read_raw() local
287 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_write_raw() local
314 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_trigger_handler() local
418 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_suspend() local
439 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_resume() local
461 struct afe4403_data *afe; in afe4403_probe() local
583 struct afe4403_data *afe = iio_priv(indio_dev); in afe4403_remove() local
Dafe4404.c172 struct afe4404_data *afe = iio_priv(indio_dev); in afe440x_show_register() local
196 struct afe4404_data *afe = iio_priv(indio_dev); in afe440x_store_register() local
252 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_read_raw() local
298 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_write_raw() local
333 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_trigger_handler() local
426 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_suspend() local
447 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_resume() local
470 struct afe4404_data *afe; in afe4404_probe() local
591 struct afe4404_data *afe = iio_priv(indio_dev); in afe4404_remove() local
/kernel/linux/linux-5.10/sound/soc/mediatek/mt6797/
Dmt6797-dai-adda.c38 static unsigned int adda_dl_rate_transform(struct mtk_base_afe *afe, in adda_dl_rate_transform()
71 static unsigned int adda_ul_rate_transform(struct mtk_base_afe *afe, in adda_ul_rate_transform()
135 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() local
234 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_adda_hw_params() local
384 int mt6797_dai_adda_register(struct mtk_base_afe *afe) in mt6797_dai_adda_register()
Dmt6797-afe-pcm.c145 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt6797_memif_fs() local
156 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt6797_irq_fs() local
604 struct mtk_base_afe *afe = dev; in mt6797_afe_irq_handler() local
650 struct mtk_base_afe *afe = dev_get_drvdata(dev); in mt6797_afe_runtime_suspend() local
675 struct mtk_base_afe *afe = dev_get_drvdata(dev); in mt6797_afe_runtime_resume() local
719 static int mt6797_dai_memif_register(struct mtk_base_afe *afe) in mt6797_dai_memif_register()
749 struct mtk_base_afe *afe; in mt6797_afe_pcm_dev_probe() local
Dmt6797-afe-clk.c34 int mt6797_init_clock(struct mtk_base_afe *afe) in mt6797_init_clock()
57 int mt6797_afe_enable_clock(struct mtk_base_afe *afe) in mt6797_afe_enable_clock()
113 int mt6797_afe_disable_clock(struct mtk_base_afe *afe) in mt6797_afe_disable_clock()
Dmt6797-dai-hostless.c40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_hostless_startup() local
101 int mt6797_dai_hostless_register(struct mtk_base_afe *afe) in mt6797_dai_hostless_register()
Dmt6797-dai-pcm.c185 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_pcm_hw_params() local
299 int mt6797_dai_pcm_register(struct mtk_base_afe *afe) in mt6797_dai_pcm_register()
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6afe.c547 struct q6afe *afe; member
834 struct q6afe *afe; in q6afe_port_free() local
846 static struct q6afe_port *q6afe_find_port(struct q6afe *afe, int token) in q6afe_find_port()
866 struct q6afe *afe = dev_get_drvdata(&adev->dev); in q6afe_callback() local
930 static int afe_apr_send_pkt(struct q6afe *afe, struct apr_pkt *pkt, in afe_apr_send_pkt()
974 static int q6afe_set_param(struct q6afe *afe, struct q6afe_port *port, in q6afe_set_param()
1032 struct q6afe *afe = port->afe; in q6afe_port_set_param_v2() local
1104 struct q6afe *afe = dev_get_drvdata(dev->parent); in q6afe_set_lpass_clock() local
1184 struct q6afe *afe = port->afe; in q6afe_port_stop() local
1483 struct q6afe *afe = port->afe; in q6afe_port_start() local
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmt2701.dtsi428 afe: audio-controller { label
Dmt7623.dtsi595 afe: audio-controller { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt7622.dtsi598 afe: audio-controller { label
Dmt8173.dtsi791 afe: audio-controller@11220000 { label

12