Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-dai-adda.c179 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local
181 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adda_hires_connect()
183 if (!adda_priv) { in mtk_afe_adda_hires_connect()
188 return (adda_priv->hires_required) ? 1 : 0; in mtk_afe_adda_hires_connect()
407 struct mtk_dai_adda_priv *adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params() local
415 adda_priv->hires_required = (rate > ADDA_HIRES_THRES); in mtk_dai_adda_hw_params()
475 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local
480 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()
483 if (!adda_priv) in init_adda_priv_data()
486 afe_priv->dai_priv[adda_dai_list[i]] = adda_priv; in init_adda_priv_data()
/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-dai-adda.c294 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local
296 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adda_hires_connect()
298 if (!adda_priv) { in mtk_afe_adda_hires_connect()
303 return (adda_priv->hires_required) ? 1 : 0; in mtk_afe_adda_hires_connect()
623 struct mtk_dai_adda_priv *adda_priv; in mtk_dai_adda_hw_params() local
631 adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params()
637 adda_priv->hires_required = 1; in mtk_dai_adda_hw_params()
639 adda_priv->hires_required = 0; in mtk_dai_adda_hw_params()
711 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local
720 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()
[all …]
/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-dai-adda.c457 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_dac_hires_connect() local
459 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_dac_hires_connect()
461 if (!adda_priv) { in mtk_afe_dac_hires_connect()
466 return (adda_priv->dl_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_dac_hires_connect()
475 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_adc_hires_connect() local
477 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adc_hires_connect()
479 if (!adda_priv) { in mtk_afe_adc_hires_connect()
484 return (adda_priv->ul_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_adc_hires_connect()
563 struct mtk_afe_adda_priv *adda_priv = afe_priv->dai_priv[id]; in mtk_dai_adda_hw_params() local
572 adda_priv->dl_rate = rate; in mtk_dai_adda_hw_params()
[all …]