Searched refs:adda_priv (Results 1 – 3 of 3) sorted by relevance
262 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local264 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() local498 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() local563 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()
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; in mtk_dai_adda_hw_params() local715 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() local804 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()[all …]
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 …]