Home
last modified time | relevance | path

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

/Linux-v6.1/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 …]
/Linux-v6.1/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 = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params() local
716 adda_priv->hires_required = 1; in mtk_dai_adda_hw_params()
718 adda_priv->hires_required = 0; in mtk_dai_adda_hw_params()
790 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local
799 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()
802 if (!adda_priv) in init_adda_priv_data()
[all …]