Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/aty/
Dmach64_gx.c344 u32 MHz100; /* in 0.01 MHz */ in aty_var_to_pll_18818() local
349 MHz100 = 100000000 / vclk_per; in aty_var_to_pll_18818()
354 if (MHz100 > MAX_FREQ_2595) { in aty_var_to_pll_18818()
356 } else if (MHz100 < ABS_MIN_FREQ_2595) { in aty_var_to_pll_18818()
359 while (MHz100 < MIN_FREQ_2595) { in aty_var_to_pll_18818()
360 MHz100 *= 2; in aty_var_to_pll_18818()
364 MHz100 *= 1000; in aty_var_to_pll_18818()
365 MHz100 = (REF_DIV_2595 * MHz100) / REF_FREQ_2595; in aty_var_to_pll_18818()
367 MHz100 += 500; /* + 0.5 round */ in aty_var_to_pll_18818()
368 MHz100 /= 1000; in aty_var_to_pll_18818()
[all …]