Lines Matching refs:pll
35 return (minfo->features.pll.ref_freq * n + (m >> 1)) / m;
99 n = ((tvco * (m+1) + minfo->features.pll.ref_freq) / (minfo->features.pll.ref_freq * 2)) - 2;
137 unsigned int mnp, unsigned int pll)
139 switch (pll) {
174 unsigned int mnp, unsigned int pll)
180 switch (pll) {
230 unsigned int pll)
232 return g450_isplllocked(minfo, g450_setpll(minfo, mnp, pll));
235 static void updatehwstate_clk(struct matrox_hw_state* hw, unsigned int mnp, unsigned int pll) {
236 switch (pll) {
246 unsigned int pll)
248 if (g450_cmppll(minfo, mnp, pll)) {
249 g450_setpll(minfo, mnp, pll);
254 unsigned int pll,
281 if (g450_testpll(minfo, mnp - 0x0300, pll) &&
282 g450_testpll(minfo, mnp + 0x0300, pll) &&
283 g450_testpll(minfo, mnp - 0x0200, pll) &&
284 g450_testpll(minfo, mnp + 0x0200, pll) &&
285 g450_testpll(minfo, mnp - 0x0100, pll) &&
286 g450_testpll(minfo, mnp + 0x0100, pll)) {
287 if (g450_testpll(minfo, mnp, pll)) {
290 } else if (!found && g450_testpll(minfo, mnp, pll)) {
296 g450_setpll(minfo, mnpfound, pll);
332 unsigned int pll, unsigned int *mnparray,
341 switch (pll) {
382 switch (pll) {
445 if (pll == M_VIDEO_PLL) {
501 matroxfb_g450_setpll_cond(minfo, mnp, pll);
503 mnp = g450_findworkingpll(minfo, pll, mnparray, mnpcount);
506 updatehwstate_clk(&minfo->hw, mnp, pll);
517 unsigned int pll)
525 r = __g450_setclk(minfo, fout, pll, arr, arr + MNP_TABLE_SIZE);