Searched refs:adda_priv (Results 1 – 2 of 2) sorted by relevance
543 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_dac_hires_connect() local545 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() local563 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() local658 adda_priv->dl_rate = rate; in mtk_dai_adda_hw_params()[all …]
378 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local380 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() local716 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() local799 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()802 if (!adda_priv) in init_adda_priv_data()[all …]