Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/video/aty/
Dmach64_gx.c330 u32 MHz100; /* in 0.01 MHz */ in aty_var_to_pll_18818() local
335 MHz100 = 100000000 / vclk_per; in aty_var_to_pll_18818()
340 if (MHz100 > MAX_FREQ_2595) { in aty_var_to_pll_18818()
341 MHz100 = MAX_FREQ_2595; in aty_var_to_pll_18818()
343 } else if (MHz100 < ABS_MIN_FREQ_2595) { in aty_var_to_pll_18818()
347 while (MHz100 < MIN_FREQ_2595) { in aty_var_to_pll_18818()
348 MHz100 *= 2; in aty_var_to_pll_18818()
352 MHz100 *= 1000; in aty_var_to_pll_18818()
353 MHz100 = (REF_DIV_2595 * MHz100) / REF_FREQ_2595; in aty_var_to_pll_18818()
355 MHz100 += 500; /* + 0.5 round */ in aty_var_to_pll_18818()
[all …]