Lines Matching refs:pll
451 struct aty128_pll pll; member
1340 static void aty128_set_pll(struct aty128_pll *pll, in aty128_set_pll() argument
1362 div3 |= pll->feedback_divider; in aty128_set_pll()
1364 div3 |= post_conv[pll->post_divider] << 16; in aty128_set_pll()
1380 static int aty128_var_to_pll(u32 period_in_ps, struct aty128_pll *pll, in aty128_var_to_pll() argument
1402 pll->post_divider = post_dividers[i]; in aty128_var_to_pll()
1414 pll->feedback_divider = round_div(n, d); in aty128_var_to_pll()
1415 pll->vclk = vclk; in aty128_var_to_pll()
1418 "vclk_per: %d\n", pll->post_divider, in aty128_var_to_pll()
1419 pll->feedback_divider, vclk, output_freq, in aty128_var_to_pll()
1426 static int aty128_pll_to_var(const struct aty128_pll *pll, in aty128_pll_to_var() argument
1429 var->pixclock = 100000000 / pll->vclk; in aty128_pll_to_var()
1444 const struct aty128_pll *pll, in aty128_ddafifo() argument
1459 d = pll->vclk * bpp; in aty128_ddafifo()
1532 aty128_set_pll(&par->pll, par); in aty128fb_set_par()
1578 struct aty128_pll pll; in aty128_decode_var() local
1584 if ((err = aty128_var_to_pll(var->pixclock, &pll, par))) in aty128_decode_var()
1587 if ((err = aty128_ddafifo(&fifo_reg, &pll, crtc.depth, par))) in aty128_decode_var()
1591 par->pll = pll; in aty128_decode_var()
1607 if ((err = aty128_pll_to_var(&par->pll, var))) in aty128_encode_var()