Lines Matching refs:PMINFO
37 return g450_vco2f(mnp, g450_mnp2vco(PMINFO mnp)); in g450_mnp2f()
124 return g450_nextpll(PMINFO pi, vco, 0xFF0000 | p); in g450_firstpll()
130 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAM, mnp >> 16); in g450_setpll()
131 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAN, mnp >> 8); in g450_setpll()
132 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAP, mnp); in g450_setpll()
136 matroxfb_DAC_out(PMINFO M1064_XPIXPLLBM, mnp >> 16); in g450_setpll()
137 matroxfb_DAC_out(PMINFO M1064_XPIXPLLBN, mnp >> 8); in g450_setpll()
138 matroxfb_DAC_out(PMINFO M1064_XPIXPLLBP, mnp); in g450_setpll()
142 matroxfb_DAC_out(PMINFO M1064_XPIXPLLCM, mnp >> 16); in g450_setpll()
143 matroxfb_DAC_out(PMINFO M1064_XPIXPLLCN, mnp >> 8); in g450_setpll()
144 matroxfb_DAC_out(PMINFO M1064_XPIXPLLCP, mnp); in g450_setpll()
148 matroxfb_DAC_out(PMINFO DAC1064_XSYSPLLM, mnp >> 16); in g450_setpll()
149 matroxfb_DAC_out(PMINFO DAC1064_XSYSPLLN, mnp >> 8); in g450_setpll()
150 matroxfb_DAC_out(PMINFO DAC1064_XSYSPLLP, mnp); in g450_setpll()
154 matroxfb_DAC_out(PMINFO M1064_XVIDPLLM, mnp >> 16); in g450_setpll()
155 matroxfb_DAC_out(PMINFO M1064_XVIDPLLN, mnp >> 8); in g450_setpll()
156 matroxfb_DAC_out(PMINFO M1064_XVIDPLLP, mnp); in g450_setpll()
169 return (matroxfb_DAC_in(PMINFO M1064_XPIXPLLAM) != m || in g450_cmppll()
170 matroxfb_DAC_in(PMINFO M1064_XPIXPLLAN) != n || in g450_cmppll()
171 matroxfb_DAC_in(PMINFO M1064_XPIXPLLAP) != p); in g450_cmppll()
174 return (matroxfb_DAC_in(PMINFO M1064_XPIXPLLBM) != m || in g450_cmppll()
175 matroxfb_DAC_in(PMINFO M1064_XPIXPLLBN) != n || in g450_cmppll()
176 matroxfb_DAC_in(PMINFO M1064_XPIXPLLBP) != p); in g450_cmppll()
179 return (matroxfb_DAC_in(PMINFO M1064_XPIXPLLCM) != m || in g450_cmppll()
180 matroxfb_DAC_in(PMINFO M1064_XPIXPLLCN) != n || in g450_cmppll()
181 matroxfb_DAC_in(PMINFO M1064_XPIXPLLCP) != p); in g450_cmppll()
184 return (matroxfb_DAC_in(PMINFO DAC1064_XSYSPLLM) != m || in g450_cmppll()
185 matroxfb_DAC_in(PMINFO DAC1064_XSYSPLLN) != n || in g450_cmppll()
186 matroxfb_DAC_in(PMINFO DAC1064_XSYSPLLP) != p); in g450_cmppll()
189 return (matroxfb_DAC_in(PMINFO M1064_XVIDPLLM) != m || in g450_cmppll()
190 matroxfb_DAC_in(PMINFO M1064_XVIDPLLN) != n || in g450_cmppll()
191 matroxfb_DAC_in(PMINFO M1064_XVIDPLLP) != p); in g450_cmppll()
200 if (matroxfb_DAC_in(PMINFO regidx) & 0x40) { in g450_isplllocked()
205 r += matroxfb_DAC_in(PMINFO regidx) & 0x40; in g450_isplllocked()
215 return g450_isplllocked(PMINFO g450_setpll(PMINFO mnp, pll)); in g450_testpll()
229 if (g450_cmppll(PMINFO mnp, pll)) { in matroxfb_g450_setpll_cond()
230 g450_setpll(PMINFO mnp, pll); in matroxfb_g450_setpll_cond()
258 if (g450_testpll(PMINFO mnp - 0x0300, pll) && in g450_findworkingpll()
259 g450_testpll(PMINFO mnp + 0x0300, pll) && in g450_findworkingpll()
260 g450_testpll(PMINFO mnp - 0x0200, pll) && in g450_findworkingpll()
261 g450_testpll(PMINFO mnp + 0x0200, pll) && in g450_findworkingpll()
262 g450_testpll(PMINFO mnp - 0x0100, pll) && in g450_findworkingpll()
263 g450_testpll(PMINFO mnp + 0x0100, pll)) { in g450_findworkingpll()
264 if (g450_testpll(PMINFO mnp, pll)) { in g450_findworkingpll()
267 } else if (!found && g450_testpll(PMINFO mnp, pll)) { in g450_findworkingpll()
273 g450_setpll(PMINFO mnpfound, pll); in g450_findworkingpll()
323 tmp = matroxfb_DAC_in(PMINFO M1064_XPIXCLKCTRL); in __g450_setclk()
325 matroxfb_DAC_out(PMINFO M1064_XPIXCLKCTRL, tmp | M1064_XPIXCLKCTRL_PLL_UP); in __g450_setclk()
367 tmp = matroxfb_DAC_in(PMINFO M1064_XPWRCTRL); in __g450_setclk()
369 matroxfb_DAC_out(PMINFO M1064_XPWRCTRL, tmp | 2); in __g450_setclk()
372 mnp = matroxfb_DAC_in(PMINFO M1064_XPIXPLLCM) << 16; in __g450_setclk()
373 mnp |= matroxfb_DAC_in(PMINFO M1064_XPIXPLLCN) << 8; in __g450_setclk()
374 pixel_vco = g450_mnp2vco(PMINFO mnp); in __g450_setclk()
389 …for(mnp = g450_firstpll(PMINFO pi, &xvco, fout); mnp != NO_MORE_MNP; mnp = g450_nextpll(PMINFO pi,… in __g450_setclk()
394 vco = g450_mnp2vco(PMINFO mnp); in __g450_setclk()
441 mnp = g450_checkcache(PMINFO ci, mnparray[0]); in __g450_setclk()
443 matroxfb_g450_setpll_cond(PMINFO mnp, pll); in __g450_setclk()
445 mnp = g450_findworkingpll(PMINFO pll, mnparray, mnpcount); in __g450_setclk()
465 r = __g450_setclk(PMINFO fout, pll, arr, arr + MNP_TABLE_SIZE); in matroxfb_g450_setclk()