Lines Matching refs:mhz100
486 u32 mhz100; /* in 0.01 MHz */ in aty_var_to_pll_1703() local
495 mhz100 = 100000000 / vclk_per; in aty_var_to_pll_1703()
501 if (mhz100 == 0) in aty_var_to_pll_1703()
504 if (mhz100 < mach64MinFreq) in aty_var_to_pll_1703()
505 mhz100 = mach64MinFreq; in aty_var_to_pll_1703()
506 if (mhz100 > mach64MaxFreq) in aty_var_to_pll_1703()
507 mhz100 = mach64MaxFreq; in aty_var_to_pll_1703()
510 while (mhz100 < (mach64MinFreq << 3)) { in aty_var_to_pll_1703()
511 mhz100 <<= 1; in aty_var_to_pll_1703()
515 temp = (unsigned int)(mhz100); in aty_var_to_pll_1703()
534 temp += mhz100; in aty_var_to_pll_1703()
602 u32 mhz100; /* in 0.01 MHz */ in aty_var_to_pll_8398() local
609 mhz100 = 100000000 / vclk_per; in aty_var_to_pll_8398()
618 if (mhz100 == 0) in aty_var_to_pll_8398()
622 if (mhz100 < mach64MinFreq) in aty_var_to_pll_8398()
623 mhz100 = mach64MinFreq; in aty_var_to_pll_8398()
624 if (mhz100 > mach64MaxFreq) in aty_var_to_pll_8398()
625 mhz100 = mach64MaxFreq; in aty_var_to_pll_8398()
627 longMHz100 = mhz100 * 256 / 100; /* 8 bit scale this */ in aty_var_to_pll_8398()
629 while (mhz100 < (mach64MinFreq << 3)) in aty_var_to_pll_8398()
631 mhz100 <<= 1; in aty_var_to_pll_8398()
728 u32 mhz100; /* in 0.01 MHz */ in aty_var_to_pll_408() local
737 mhz100 = 100000000 / vclk_per; in aty_var_to_pll_408()
743 if (mhz100 == 0) in aty_var_to_pll_408()
746 if (mhz100 < mach64MinFreq) in aty_var_to_pll_408()
747 mhz100 = mach64MinFreq; in aty_var_to_pll_408()
748 if (mhz100 > mach64MaxFreq) in aty_var_to_pll_408()
749 mhz100 = mach64MaxFreq; in aty_var_to_pll_408()
751 while (mhz100 < (mach64MinFreq << 3)) { in aty_var_to_pll_408()
752 mhz100 <<= 1; in aty_var_to_pll_408()
756 temp = (unsigned int)mhz100; in aty_var_to_pll_408()
773 temp += mhz100; in aty_var_to_pll_408()