Home
last modified time | relevance | path

Searched refs:fxtal (Results 1 – 3 of 3) sorted by relevance

/drivers/clk/
Dclk-si570.c70 u64 fxtal; member
145 data->fxtal = div64_u64(fdco << 24, data->rfreq >> 4); in si570_get_defaults()
147 data->fxtal = div64_u64(fdco << 28, data->rfreq); in si570_get_defaults()
207 *out_rfreq = div64_u64(fdco << 28, data->fxtal); in si570_calc_divs()
235 rate = (data->fxtal * rfreq) >> 28; in si570_recalc_rate()
/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c230 unsigned int fxtal = ctl->ref_freq; in matroxfb_PLL_mavenclock() local
244 fwant, fxtal, htotal, vtotal, fmax); in matroxfb_PLL_mavenclock()
261 n = (fwant * m) / fxtal; in matroxfb_PLL_mavenclock()
267 ln = fxtal * n; in matroxfb_PLL_mavenclock()
294 dprintk(KERN_ERR "clk: %02X %02X %02X %d %d\n", *in, *feed, *post, fxtal, fwant); in matroxfb_PLL_mavenclock()
295 return fxtal * (*feed) / (*in) * ctl->den; in matroxfb_PLL_mavenclock()
Dmatroxfb_misc.c133 unsigned int fxtal = pll->ref_freq; in matroxfb_PLL_calcclock() local
167 n = (fwant * (m + 1) + (fxtal >> 1)) / fxtal - 1; in matroxfb_PLL_calcclock()
172 fvco = (fxtal * (n + 1)) / (m + 1); in matroxfb_PLL_calcclock()
186 dprintk(KERN_ERR "clk: %02X %02X %02X %d %d %d\n", *in, *feed, *post, fxtal, bestvco, fwant); in matroxfb_PLL_calcclock()