Lines Matching refs:pllvals
395 uint32_t pll2, struct nouveau_pll_vals *pllvals)
402 pllvals->log2P = (pll1 >> 16) & 0x7;
403 pllvals->N2 = pllvals->M2 = 1;
406 pllvals->NM1 = pll2 & 0xffff;
409 pllvals->NM2 = pll2 >> 16;
411 pllvals->NM1 = pll1 & 0xffff;
413 pllvals->NM2 = pll2 & 0xffff;
415 pllvals->M1 &= 0xf; /* only 4 bits */
417 pllvals->M2 = (pll1 >> 4) & 0x7;
418 pllvals->N2 = ((pll1 >> 21) & 0x18) |
427 struct nouveau_pll_vals *pllvals)
469 nouveau_hw_decode_pll(dev, reg1, pll1, pll2, pllvals);
475 pllvals->refclk = pll_lim.refclk;
493 struct nouveau_pll_vals pllvals;
511 nouveau_hw_get_pllvals(dev, plltype, &pllvals);
513 return nouveau_hw_pllvals_to_clk(&pllvals);
664 nouveau_hw_get_pllvals(dev, head ? VPLL2 : VPLL1, ®p->pllvals);
740 nouveau_hw_setpll(dev, pllreg, ®p->pllvals);