Lines Matching refs:p
20 static inline unsigned int g450_vco2f(unsigned char p, unsigned int fvco) { in g450_vco2f() argument
21 return (p & 0x40) ? fvco : fvco >> ((p & 3) + 1); in g450_vco2f()
24 static inline unsigned int g450_f2vco(unsigned char p, unsigned int fin) { in g450_f2vco() argument
25 return (p & 0x40) ? fin : fin << ((p & 3) + 1); in g450_f2vco()
59 unsigned int m, n, p; in g450_nextpll() local
63 p = mnp & 0xFF; in g450_nextpll()
68 if (p & 0x40) { in g450_nextpll()
71 if (p & 3) { in g450_nextpll()
72 p--; in g450_nextpll()
74 p = 0x40; in g450_nextpll()
83 p &= 0x43; in g450_nextpll()
87 p |= 0x08; in g450_nextpll()
89 p |= 0x10; in g450_nextpll()
91 p |= 0x18; in g450_nextpll()
93 p |= 0x20; in g450_nextpll()
101 return (m << 16) | (n << 8) | p; in g450_nextpll()
108 unsigned int p; in g450_firstpll() local
118 p = 0x40; in g450_firstpll()
122 p = 3; in g450_firstpll()
123 tvco = g450_f2vco(p, fout); in g450_firstpll()
124 while (p && (tvco > vcomax)) { in g450_firstpll()
125 p--; in g450_firstpll()
133 return g450_nextpll(minfo, pi, vco, 0xFF0000 | p); in g450_firstpll()
178 unsigned char p = mnp; in g450_cmppll() local
184 matroxfb_DAC_in(minfo, M1064_XPIXPLLAP) != p); in g450_cmppll()
189 matroxfb_DAC_in(minfo, M1064_XPIXPLLBP) != p); in g450_cmppll()
194 matroxfb_DAC_in(minfo, M1064_XPIXPLLCP) != p); in g450_cmppll()
199 matroxfb_DAC_in(minfo, DAC1064_XSYSPLLP) != p); in g450_cmppll()
204 matroxfb_DAC_in(minfo, M1064_XVIDPLLP) != p); in g450_cmppll()