Lines Matching refs:adpll
227 const struct ad_pll *adpll = (struct ad_pll *)base; in pll_config() local
244 read_clkctrl = readl(&adpll->clkctrl); in pll_config()
245 writel((read_clkctrl | ADPLLJ_CLKCTRL_IDLE), &adpll->clkctrl); in pll_config()
246 while ((readl(&adpll->status) & ADPLLJ_STATUS_BYPASSANDACK) in pll_config()
251 read_clkctrl = readl(&adpll->clkctrl); in pll_config()
252 writel((read_clkctrl & ~ADPLLJ_CLKCTRL_TINITZ), &adpll->clkctrl); in pll_config()
259 read_clkctrl = readl(&adpll->clkctrl) & in pll_config()
263 writel(m2nval, &adpll->m2ndiv); in pll_config()
264 writel(mn2val, &adpll->mn2div); in pll_config()
268 writel(sig_val, &adpll->fracdiv); in pll_config()
269 writel((read_clkctrl | hs_mod), &adpll->clkctrl); in pll_config()
273 writel(ADPLLJ_TENABLEDIV_ENB, &adpll->tenablediv); in pll_config()
274 writel(~ADPLLJ_TENABLEDIV_ENB, &adpll->tenablediv); in pll_config()
277 writel(ADPLLJ_TENABLE_ENB, &adpll->tenable); in pll_config()
278 writel(~ADPLLJ_TENABLE_ENB, &adpll->tenable); in pll_config()
281 read_clkctrl = readl(&adpll->clkctrl) & ~ADPLLJ_CLKCTRL_CLKDCO; in pll_config()
284 &adpll->clkctrl); in pll_config()
287 read_clkctrl = readl(&adpll->clkctrl) & ~ADPLLJ_CLKCTRL_IDLE; in pll_config()
288 writel((read_clkctrl | ADPLLJ_CLKCTRL_TINITZ), &adpll->clkctrl); in pll_config()
291 while ((readl(&adpll->status) & ADPLLJ_STATUS_PHSFRQLOCK) != in pll_config()