Searched refs:fwant (Results 1 – 2 of 2) sorted by relevance
168 unsigned int fwant; in matroxfb_PLL_calcclock() local173 fwant = freq; in matroxfb_PLL_calcclock()187 if (fwant * 2 > fmax) in matroxfb_PLL_calcclock()189 fwant *= 2; in matroxfb_PLL_calcclock()191 if (fwant < pll->vco_freq_min) fwant = pll->vco_freq_min; in matroxfb_PLL_calcclock()192 if (fwant > fmax) fwant = fmax; in matroxfb_PLL_calcclock()193 for (; p-- > 0; fwant >>= 1, bestdiff >>= 1) { in matroxfb_PLL_calcclock()196 if (fwant < pll->vco_freq_min) break; in matroxfb_PLL_calcclock()201 n = (fwant * (m + 1) + (fxtal >> 1)) / fxtal - 1; in matroxfb_PLL_calcclock()207 if (fvco < fwant) in matroxfb_PLL_calcclock()[all …]
231 unsigned int fwant; in matroxfb_PLL_mavenclock() local239 fwant = htotal * vtotal; in matroxfb_PLL_mavenclock()245 if (fwant * 2 > fmax) in matroxfb_PLL_mavenclock()247 fwant *= 2; in matroxfb_PLL_mavenclock()249 if (fwant > fmax) in matroxfb_PLL_mavenclock()251 for (; p-- > 0; fwant >>= 1) { in matroxfb_PLL_mavenclock()254 if (fwant < fmin) break; in matroxfb_PLL_mavenclock()260 n = (fwant * m) / fxtal; in matroxfb_PLL_mavenclock()290 dprintk(KERN_ERR "clk: %02X %02X %02X %d %d\n", *in, *feed, *post, fxtal, fwant); in matroxfb_PLL_mavenclock()