Home
last modified time | relevance | path

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

12

/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-dai-tdm.c107 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_en_event()
134 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_mck_en_event()
206 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_afe_tdm_mclk_connect()
219 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_afe_tdm_mclk_apll_connect()
236 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_afe_tdm_hd_connect()
249 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_afe_tdm_apll_connect()
279 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mt8186_tdm_hd_get()
293 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mt8186_tdm_hd_set()
370 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[tdm_id]; in mtk_dai_tdm_hw_params()
464 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_sysclk()
[all …]
Dmt8186-dai-src.c174 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_set_src_1_param()
244 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_set_src_2_param()
330 src_priv = afe_priv->dai_priv[id]; in mtk_hw_src_event()
491 src_priv = afe_priv->dai_priv[MT8186_DAI_SRC_1]; in mtk_afe_src_en_connect()
493 src_priv = afe_priv->dai_priv[MT8186_DAI_SRC_2]; in mtk_afe_src_en_connect()
554 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_dai_src_hw_params()
594 struct mtk_afe_src_priv *src_priv = afe_priv->dai_priv[id]; in mtk_dai_src_hw_free()
Dmt8186-dai-pcm.c224 struct mtk_afe_pcm_priv *pcm_priv = afe_priv->dai_priv[pcm_id]; in mtk_dai_pcm_hw_params()
289 struct mtk_afe_pcm_priv *pcm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_pcm_set_fmt()
416 afe_priv->dai_priv[MT8186_DAI_PCM] = pcm_priv; in mt8186_dai_pcm_register()
Dmt8186-dai-adda.c55 return afe_priv->dai_priv[dai_id]; in get_adda_priv_by_name()
563 struct mtk_afe_adda_priv *adda_priv = afe_priv->dai_priv[id]; in mtk_dai_adda_hw_params()
772 afe_priv->dai_priv[MT8186_DAI_AP_DMIC] = in mt8186_dai_adda_register()
773 afe_priv->dai_priv[MT8186_DAI_ADDA]; in mt8186_dai_adda_register()
/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-dai-etdm.c276 etdm_data = afe_priv->dai_priv[dai->id]; in is_cowork_mode()
309 etdm_data = afe_priv->dai_priv[dai->id]; in get_etdm_cowork_master_id()
1327 etdm_data = afe_priv->dai_priv[dai_id]; in mt8195_afe_enable_etdm()
1354 etdm_data = afe_priv->dai_priv[dai_id]; in mt8195_afe_disable_etdm()
1419 etdm_data = afe_priv->dai_priv[dai_id]; in mt8195_etdm_sync_mode_configure()
1597 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_startup()
1637 mst_etdm_data = afe_priv->dai_priv[mst_dai_id]; in mtk_dai_etdm_shutdown()
1706 etdm_data = afe_priv->dai_priv[dai_id]; in mtk_dai_etdm_in_configure()
1830 etdm_data = afe_priv->dai_priv[dai_id]; in mtk_dai_etdm_out_configure()
1930 etdm_data = afe_priv->dai_priv[dai_id]; in mtk_dai_etdm_mclk_configure()
[all …]
Dmt8195-dai-pcm.c139 pcmif_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_pcm_configure()
249 pcmif_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_pcm_set_fmt()
346 afe_priv->dai_priv[MT8195_AFE_IO_PCM] = pcmif_priv; in init_pcmif_priv_data()
Dmt8195-afe-common.h140 void *dai_priv[MT8195_DAI_NUM]; member
Dmt8195-dai-adda.c285 return afe_priv->dai_priv[dai_id]; in get_adda_priv_by_name()
631 adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params()
726 afe_priv->dai_priv[adda_dai_list[i]] = adda_priv; in init_adda_priv_data()
/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-dai-etdm.c254 etdm_data = afe_priv->dai_priv[dai->id]; in is_cowork_mode()
287 etdm_data = afe_priv->dai_priv[dai->id]; in get_etdm_cowork_master_id()
383 return afe_priv->dai_priv[dai_id]; in get_etdm_priv_by_name()
401 etdm_data = afe_priv->dai_priv[dai_id]; in mtk_dai_etdm_enable_mclk()
518 etdm_priv = afe_priv->dai_priv[mclk_id]; in mtk_etdm_mclk_connect()
552 etdm_priv = afe_priv->dai_priv[etdm_priv->cowork_source_id]; in mtk_etdm_cowork_connect()
1741 etdm_data = afe_priv->dai_priv[dai_id]; in mt8188_etdm_sync_mode_slv()
1796 etdm_data = afe_priv->dai_priv[dai_id]; in mt8188_etdm_sync_mode_mst()
1850 etdm_data = afe_priv->dai_priv[dai_id]; in mt8188_etdm_sync_mode_configure()
1914 etdm_data = afe_priv->dai_priv[dai_id]; in mtk_dai_etdm_in_configure()
[all …]
Dmt8188-dai-adda.c166 return afe_priv->dai_priv[MT8188_AFE_IO_UL_SRC]; in get_adda_priv_by_name()
168 return afe_priv->dai_priv[MT8188_AFE_IO_DL_SRC]; in get_adda_priv_by_name()
407 struct mtk_dai_adda_priv *adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params()
486 afe_priv->dai_priv[adda_dai_list[i]] = adda_priv; in init_adda_priv_data()
Dmt8188-dai-pcm.c140 pcmif_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_pcm_configure()
248 pcmif_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_pcm_set_fmt()
345 afe_priv->dai_priv[MT8188_AFE_IO_PCM] = pcmif_priv; in init_pcmif_priv_data()
Dmt8188-afe-common.h134 void *dai_priv[MT8188_DAI_NUM]; member
/linux-6.12.1/sound/soc/mediatek/mt8192/
Dmt8192-dai-tdm.c252 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_en_event()
284 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_bck_en_event()
316 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_tdm_mck_en_event()
385 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai_id]; in mtk_afe_tdm_apll_connect()
520 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[tdm_id]; in mtk_dai_tdm_hw_params()
635 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_sysclk()
656 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_fmt()
775 afe_priv->dai_priv[MT8192_DAI_TDM] = tdm_priv; in mt8192_dai_tdm_register()
Dmt8192-afe-control.c158 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()
Dmt8192-afe-common.h140 void *dai_priv[MT8192_DAI_NUM]; member
/linux-6.12.1/sound/soc/mediatek/mt8365/
Dmt8365-dai-dmic.c73 struct mt8365_dmic_data *dmic_data = afe_priv->dai_priv[MT8365_AFE_IO_DMIC]; in mt8365_dai_enable_dmic()
93 struct mt8365_dmic_data *dmic_data = afe_priv->dai_priv[MT8365_AFE_IO_DMIC]; in mt8365_dai_disable_dmic()
116 struct mt8365_dmic_data *dmic_data = afe_priv->dai_priv[MT8365_AFE_IO_DMIC]; in mt8365_dai_configure_dmic()
288 afe_priv->dai_priv[MT8365_AFE_IO_DMIC] = dmic_priv; in init_dmic_priv_data()
Dmt8365-dai-pcm.c42 struct mt8365_pcm_intf_data *pcm_priv = afe_priv->dai_priv[MT8365_AFE_IO_PCM1]; in mt8365_dai_configure_pcm1()
160 struct mt8365_pcm_intf_data *pcm_priv = afe_priv->dai_priv[MT8365_AFE_IO_PCM1]; in mt8365_dai_pcm1_set_fmt()
273 afe_priv->dai_priv[MT8365_AFE_IO_PCM1] = pcmif_priv; in init_pcmif_priv_data()
Dmt8365-dai-i2s.c334 afe_priv->dai_priv[MT8365_AFE_IO_I2S]; in mt8365_afe_set_i2s_out()
472 i2s_data = afe_priv->dai_priv[mt8365_i2s_priv[i].id]; in mt8365_afe_set_i2s_out_enable()
521 struct mtk_afe_i2s_priv *i2s_data = afe_priv->dai_priv[dai->id]; in mt8365_dai_i2s_startup()
547 struct mtk_afe_i2s_priv *i2s_data = afe_priv->dai_priv[dai->id]; in mt8365_dai_i2s_shutdown()
594 struct mtk_afe_i2s_priv *i2s_data = afe_priv->dai_priv[dai->id]; in mt8365_dai_i2s_prepare()
/linux-6.12.1/sound/soc/mediatek/mt8183/
Dmt8183-dai-tdm.c253 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_bck_en_event()
279 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_mck_en_event()
337 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_afe_tdm_apll_connect()
471 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[tdm_id]; in mtk_dai_tdm_hw_params()
620 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_sysclk()
641 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_fmt()
746 afe_priv->dai_priv[MT8183_DAI_TDM] = tdm_priv; in mt8183_dai_tdm_register()
Dmt8183-dai-i2s.c105 return afe_priv->dai_priv[dai_id]; in get_i2s_priv_by_name()
701 struct mtk_afe_i2s_priv *i2s_priv = afe_priv->dai_priv[i2s_id]; in mtk_dai_i2s_config()
786 struct mtk_afe_i2s_priv *i2s_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_i2s_set_sysclk()
820 share_i2s_priv = afe_priv->dai_priv[i2s_priv->share_i2s_id]; in mtk_dai_i2s_set_sysclk()
852 i2s_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_i2s_set_fmt()
1030 afe_priv->dai_priv[mt8183_i2s_priv[i].id] = i2s_priv; in mt8183_dai_i2s_set_priv()
Dmt8183-afe-common.h83 void *dai_priv[MT8183_DAI_NUM]; member
/linux-6.12.1/sound/soc/codecs/
Darizona.c1621 struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in arizona_startup() local
1627 switch (dai_priv->clk) { in arizona_startup()
1639 dai_priv->constraint.mask = ARIZONA_RATE_MASK; in arizona_startup()
1641 dai_priv->constraint.mask = ARIZONA_44K1_RATE_MASK; in arizona_startup()
1643 dai_priv->constraint.mask = ARIZONA_48K_RATE_MASK; in arizona_startup()
1647 &dai_priv->constraint); in arizona_startup()
1681 struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in arizona_hw_params_rate() local
1716 switch (dai_priv->clk) { in arizona_hw_params_rate()
1747 arizona_aif_err(dai, "Invalid clock %d\n", dai_priv->clk); in arizona_hw_params_rate()
1916 struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in arizona_dai_set_sysclk() local
[all …]
Dmadera.c2944 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_startup() local
2951 switch (dai_priv->clk) { in madera_startup()
2970 dai_priv->constraint.mask = MADERA_384K_RATE_MASK; in madera_startup()
2972 dai_priv->constraint.mask = MADERA_384K_44K1_RATE_MASK; in madera_startup()
2974 dai_priv->constraint.mask = MADERA_384K_48K_RATE_MASK; in madera_startup()
2978 dai_priv->constraint.mask = MADERA_192K_RATE_MASK; in madera_startup()
2980 dai_priv->constraint.mask = MADERA_192K_44K1_RATE_MASK; in madera_startup()
2982 dai_priv->constraint.mask = MADERA_192K_48K_RATE_MASK; in madera_startup()
2988 &dai_priv->constraint); in madera_startup()
2997 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_hw_params_rate() local
[all …]
/linux-6.12.1/sound/soc/mediatek/mt7986/
Dmt7986-dai-etdm.c169 struct mtk_dai_etdm_priv *etdm_data = afe_priv->dai_priv[dai->id]; in mtk_dai_etdm_config()
312 afe_priv->dai_priv[dai->id] = priv_data; in mtk_dai_etdm_set_fmt()
313 etdm_data = afe_priv->dai_priv[dai->id]; in mtk_dai_etdm_set_fmt()
Dmt7986-afe-common.h41 void *dai_priv[MT7986_DAI_NUM]; member

12