Home
last modified time | relevance | path

Searched refs:adda_priv (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/sound/soc/mediatek/mt8188/
Dmt8188-dai-adda.c262 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local
264 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adda_hires_connect()
266 if (!adda_priv) { in mtk_afe_adda_hires_connect()
271 return (adda_priv->hires_required) ? 1 : 0; in mtk_afe_adda_hires_connect()
490 struct mtk_dai_adda_priv *adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params() local
498 adda_priv->hires_required = (rate > ADDA_HIRES_THRES); in mtk_dai_adda_hw_params()
558 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local
563 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()
566 if (!adda_priv) in init_adda_priv_data()
569 afe_priv->dai_priv[adda_dai_list[i]] = adda_priv; in init_adda_priv_data()
/Linux-v6.6/sound/soc/mediatek/mt8195/
Dmt8195-dai-adda.c378 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local
380 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adda_hires_connect()
382 if (!adda_priv) { in mtk_afe_adda_hires_connect()
387 return (adda_priv->hires_required) ? 1 : 0; in mtk_afe_adda_hires_connect()
707 struct mtk_dai_adda_priv *adda_priv; in mtk_dai_adda_hw_params() local
715 adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params()
721 adda_priv->hires_required = 1; in mtk_dai_adda_hw_params()
723 adda_priv->hires_required = 0; in mtk_dai_adda_hw_params()
795 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local
804 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()
[all …]
/Linux-v6.6/sound/soc/mediatek/mt8186/
Dmt8186-dai-adda.c543 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_dac_hires_connect() local
545 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_dac_hires_connect()
547 if (!adda_priv) { in mtk_afe_dac_hires_connect()
552 return (adda_priv->dl_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_dac_hires_connect()
561 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_adc_hires_connect() local
563 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adc_hires_connect()
565 if (!adda_priv) { in mtk_afe_adc_hires_connect()
570 return (adda_priv->ul_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_adc_hires_connect()
649 struct mtk_afe_adda_priv *adda_priv = afe_priv->dai_priv[id]; in mtk_dai_adda_hw_params() local
658 adda_priv->dl_rate = rate; in mtk_dai_adda_hw_params()
[all …]