Home
last modified time | relevance | path

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

/sound/soc/mediatek/mt2701/
Dmt2701-afe-clock-ctrl.c27 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_init_clock()
137 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_enable_mclk()
145 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_disable_mclk()
153 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_enable_btmrg_clk()
160 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_disable_btmrg_clk()
167 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_enable_audsys()
222 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_disable_audsys()
273 struct mt2701_afe_private *priv = afe->platform_priv; in mt2701_mclk_configuration()
Dmt2701-afe-pcm.c86 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_dai_num_to_i2s()
112 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_i2s_startup()
147 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_i2s_shutdown()
178 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_i2s_path_enable()
235 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_i2s_prepare()
269 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_afe_i2s_set_sysclk()
291 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_btmrg_startup()
349 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_btmrg_shutdown()
1325 afe->platform_priv = devm_kzalloc(&pdev->dev, sizeof(*afe_priv), in mt2701_afe_pcm_dev_probe()
1327 if (!afe->platform_priv) in mt2701_afe_pcm_dev_probe()
[all …]
/sound/soc/mediatek/mt8192/
Dmt8192-afe-clk.c66 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_set_audio_int_bus_parent()
82 struct mt8192_afe_private *afe_priv = afe->platform_priv; in apll1_mux_setting()
144 struct mt8192_afe_private *afe_priv = afe->platform_priv; in apll2_mux_setting()
206 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_afe_enable_clock()
277 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_afe_disable_clock()
291 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_apll1_enable()
325 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_apll1_disable()
341 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_apll2_enable()
375 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_apll2_disable()
568 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_mck_enable()
[all …]
Dmt8192-dai-tdm.c250 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event()
282 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_bck_en_event()
314 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_mck_en_event()
383 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_afe_tdm_apll_connect()
518 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_dai_tdm_hw_params()
634 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_dai_tdm_set_sysclk()
655 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_dai_tdm_set_fmt()
753 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_tdm_register()
Dmt8192-dai-adda.c303 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_adda_ul_event()
344 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_adda_ch34_ul_event()
410 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_adda_pad_top_event()
432 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_adda_mtkaif_cfg_event()
594 struct mt8192_afe_private *afe_priv = afe->platform_priv; in stf_positive_gain_get()
605 struct mt8192_afe_private *afe_priv = afe->platform_priv; in stf_positive_gain_set()
627 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_adda_dmic_get()
638 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_adda_dmic_set()
656 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_adda6_only_get()
667 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_adda6_only_set()
[all …]
Dmt8192-afe-control.c148 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_set_priv()
Dmt8192-dai-i2s.c120 struct mt8192_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name()
1594 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_dai_connsys_i2s_trigger()
1667 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_dai_i2s_config()
1778 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_dai_i2s_set_sysclk()
2042 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_i2s_get_share()
Dmt8192-afe-pcm.c2054 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_afe_runtime_suspend()
2097 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_afe_runtime_resume()
2194 afe->platform_priv = devm_kzalloc(&pdev->dev, sizeof(*afe_priv), in mt8192_afe_pcm_dev_probe()
2196 if (!afe->platform_priv) in mt8192_afe_pcm_dev_probe()
2198 afe_priv = afe->platform_priv; in mt8192_afe_pcm_dev_probe()
Dmt8192-mt6359-rt1015-rt5682.c135 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_mt6359_mtkaif_calibration()
294 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_mt6359_init()
/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.c94 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_init_clock()
117 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_afe_enable_clock()
216 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_afe_disable_clock()
233 struct mt8183_afe_private *afe_priv = afe->platform_priv; in apll1_mux_setting()
307 struct mt8183_afe_private *afe_priv = afe->platform_priv; in apll2_mux_setting()
381 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_apll1_enable()
419 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_apll1_disable()
435 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_apll2_enable()
473 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_apll2_disable()
544 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_mck_enable()
[all …]
Dmt8183-dai-tdm.c252 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_bck_en_event()
278 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_mck_en_event()
336 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_afe_tdm_apll_connect()
469 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_dai_tdm_hw_params()
619 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_dai_tdm_set_sysclk()
640 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_dai_tdm_set_fmt()
719 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_dai_tdm_register()
Dmt8183-dai-adda.c148 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_adda_ul_event()
202 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_adda_dmic_get()
214 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_adda_dmic_set()
303 struct mt8183_afe_private *afe_priv = afe->platform_priv; in set_mtkaif_rx()
Dmt8183-dai-i2s.c100 struct mt8183_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name()
709 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_dai_i2s_config()
799 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_dai_i2s_set_sysclk()
853 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_dai_i2s_set_fmt()
1011 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_dai_i2s_get_share()
1031 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_dai_i2s_set_priv()
Dmt8183-afe-pcm.c980 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_afe_runtime_suspend()
1014 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mt8183_afe_runtime_resume()
1100 afe->platform_priv = devm_kzalloc(&pdev->dev, sizeof(*afe_priv), in mt8183_afe_pcm_dev_probe()
1102 if (!afe->platform_priv) in mt8183_afe_pcm_dev_probe()
1105 afe_priv = afe->platform_priv; in mt8183_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8195/
Dmt8195-dai-adda.c124 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda_mtkaif_init()
269 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_adda_ul_event()
296 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_adda6_ul_event()
332 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_audio_hires_event()
357 struct mt8195_afe_private *afe_priv = afe->platform_priv; in get_adda_priv_by_name()
573 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda6_only_get()
585 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda6_only_set()
604 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda_dmic_get()
616 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_adda_dmic_set()
706 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_adda_hw_params()
[all …]
Dmt8195-afe-clk.c96 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_get_mclk_source_rate()
115 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_init_clock()
322 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_enable_reg_rw_clk()
343 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_disable_reg_rw_clk()
376 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_enable_timing_sys()
399 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_disable_timing_sys()
Dmt8195-dai-etdm.c238 struct mt8195_afe_private *afe_priv = afe->platform_priv; in is_cowork_mode()
266 struct mt8195_afe_private *afe_priv = afe->platform_priv; in get_etdm_cowork_master_id()
1278 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_enable_etdm()
1301 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_disable_etdm()
1359 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_etdm_sync_mode_configure()
1497 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_etdm_enable_mclk()
1510 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_etdm_disable_mclk()
1526 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_etdm_startup()
1565 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_etdm_shutdown()
1633 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_etdm_in_configure()
[all …]
Dmt8195-dai-pcm.c124 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_pcm_configure()
235 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mtk_dai_pcm_set_fmt()
327 struct mt8195_afe_private *afe_priv = afe->platform_priv; in init_pcmif_priv_data()
Dmt8195-audsys-clk.c154 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_audsys_clk_unregister()
176 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_audsys_clk_register()
Dmt8195-afe-pcm.c284 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_paired_memif_clk_prepare()
313 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_paired_memif_clk_enable()
1464 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_memif_1x_en_sel_put()
1488 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_asys_irq_1x_en_sel_put()
2918 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_runtime_suspend()
2937 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_runtime_resume()
2973 struct mt8195_afe_private *afe_priv = afe->platform_priv; in init_memif_priv_data()
3045 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_afe_parse_of()
3073 afe->platform_priv = devm_kzalloc(dev, sizeof(*afe_priv), in mt8195_afe_pcm_dev_probe()
3075 if (!afe->platform_priv) in mt8195_afe_pcm_dev_probe()
[all …]
Dmt8195-mt6359-rt1019-rt5682.c116 struct mt8195_afe_private *afe_priv = afe->platform_priv; in mt8195_mt6359_mtkaif_calibration()
/sound/soc/mediatek/mt6797/
Dmt6797-afe-clk.c36 struct mt6797_afe_private *afe_priv = afe->platform_priv; in mt6797_init_clock()
59 struct mt6797_afe_private *afe_priv = afe->platform_priv; in mt6797_afe_enable_clock()
115 struct mt6797_afe_private *afe_priv = afe->platform_priv; in mt6797_afe_disable_clock()
Dmt6797-afe-pcm.c758 afe->platform_priv = devm_kzalloc(&pdev->dev, sizeof(*afe_priv), in mt6797_afe_pcm_dev_probe()
760 if (!afe->platform_priv) in mt6797_afe_pcm_dev_probe()
763 afe_priv = afe->platform_priv; in mt6797_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c327 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_i2s_prepare()
348 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_hdmi_startup()
362 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_hdmi_shutdown()
376 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_hdmi_prepare()
953 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_runtime_suspend()
975 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_runtime_resume()
1036 struct mt8173_afe_private *afe_priv = afe->platform_priv; in mt8173_afe_init_audio_clk()
1067 afe->platform_priv = devm_kzalloc(&pdev->dev, sizeof(*afe_priv), in mt8173_afe_pcm_dev_probe()
1069 afe_priv = afe->platform_priv; in mt8173_afe_pcm_dev_probe()
/sound/soc/mediatek/common/
Dmtk-base-afe.h118 void *platform_priv; member