Lines Matching refs:pll
85 int pll;
278 unsigned int plls_enabled = 0, pll;
299 while (tgt_s->pll != ACPU_PLL_TCXO && tgt_s->pll != cur_s->pll)
303 if (strt_s->pll != ACPU_PLL_TCXO)
304 plls_enabled |= 1 << strt_s->pll;
308 if (strt_s->pll != tgt_s->pll && tgt_s->pll != ACPU_PLL_TCXO) {
309 rc = pc_pll_request(tgt_s->pll, 1);
312 tgt_s->pll, rc);
315 plls_enabled |= 1 << tgt_s->pll;
358 printk(KERN_DEBUG "%s: STEP khz = %u, pll = %d\n",
359 __FUNCTION__, cur_s->a11clk_khz, cur_s->pll);
361 if (!for_power_collapse&& cur_s->pll != ACPU_PLL_TCXO
362 && !(plls_enabled & (1 << cur_s->pll))) {
363 rc = pc_pll_request(cur_s->pll, 1);
366 cur_s->pll, rc);
369 plls_enabled |= 1 << cur_s->pll;
384 plls_enabled &= ~(1 << tgt_s->pll);
385 for (pll = ACPU_PLL_0; pll <= ACPU_PLL_2; pll++)
386 if (plls_enabled & (1 << pll)) {
387 rc = pc_pll_request(pll, 0);
389 pr_err("PLL%d disable failed (%d)\n", pll, rc);