Lines Matching refs:apll
321 int mt8365_afe_enable_apll_tuner_cfg(struct mtk_base_afe *afe, unsigned int apll)
327 afe_priv->apll_tuner_ref_cnt[apll]++;
328 if (afe_priv->apll_tuner_ref_cnt[apll] != 1) {
333 if (apll == MT8365_AFE_APLL1) {
349 int mt8365_afe_disable_apll_tuner_cfg(struct mtk_base_afe *afe, unsigned int apll)
355 afe_priv->apll_tuner_ref_cnt[apll]--;
356 if (afe_priv->apll_tuner_ref_cnt[apll] == 0) {
357 if (apll == MT8365_AFE_APLL1)
364 } else if (afe_priv->apll_tuner_ref_cnt[apll] < 0) {
365 afe_priv->apll_tuner_ref_cnt[apll] = 0;
372 int mt8365_afe_enable_apll_associated_cfg(struct mtk_base_afe *afe, unsigned int apll)
376 if (apll == MT8365_AFE_APLL1) {
401 int mt8365_afe_disable_apll_associated_cfg(struct mtk_base_afe *afe, unsigned int apll)
405 if (apll == MT8365_AFE_APLL1) {