Lines Matching full:apll
322 int mt8365_afe_enable_apll_tuner_cfg(struct mtk_base_afe *afe, unsigned int apll) in mt8365_afe_enable_apll_tuner_cfg() argument
328 afe_priv->apll_tuner_ref_cnt[apll]++; in mt8365_afe_enable_apll_tuner_cfg()
329 if (afe_priv->apll_tuner_ref_cnt[apll] != 1) { in mt8365_afe_enable_apll_tuner_cfg()
334 if (apll == MT8365_AFE_APLL1) { in mt8365_afe_enable_apll_tuner_cfg()
350 int mt8365_afe_disable_apll_tuner_cfg(struct mtk_base_afe *afe, unsigned int apll) in mt8365_afe_disable_apll_tuner_cfg() argument
356 afe_priv->apll_tuner_ref_cnt[apll]--; in mt8365_afe_disable_apll_tuner_cfg()
357 if (afe_priv->apll_tuner_ref_cnt[apll] == 0) { in mt8365_afe_disable_apll_tuner_cfg()
358 if (apll == MT8365_AFE_APLL1) in mt8365_afe_disable_apll_tuner_cfg()
365 } else if (afe_priv->apll_tuner_ref_cnt[apll] < 0) { in mt8365_afe_disable_apll_tuner_cfg()
366 afe_priv->apll_tuner_ref_cnt[apll] = 0; in mt8365_afe_disable_apll_tuner_cfg()
373 int mt8365_afe_enable_apll_associated_cfg(struct mtk_base_afe *afe, unsigned int apll) in mt8365_afe_enable_apll_associated_cfg() argument
377 if (apll == MT8365_AFE_APLL1) { in mt8365_afe_enable_apll_associated_cfg()
402 int mt8365_afe_disable_apll_associated_cfg(struct mtk_base_afe *afe, unsigned int apll) in mt8365_afe_disable_apll_associated_cfg() argument
406 if (apll == MT8365_AFE_APLL1) { in mt8365_afe_disable_apll_associated_cfg()