Lines Matching refs:mhz100
498 u32 mhz100; /* in 0.01 MHz */ in aty_var_to_pll_1703() local
507 mhz100 = 100000000 / vclk_per; in aty_var_to_pll_1703()
513 if (mhz100 == 0) in aty_var_to_pll_1703()
516 if (mhz100 < mach64MinFreq) in aty_var_to_pll_1703()
517 mhz100 = mach64MinFreq; in aty_var_to_pll_1703()
518 if (mhz100 > mach64MaxFreq) in aty_var_to_pll_1703()
519 mhz100 = mach64MaxFreq; in aty_var_to_pll_1703()
522 while (mhz100 < (mach64MinFreq << 3)) { in aty_var_to_pll_1703()
523 mhz100 <<= 1; in aty_var_to_pll_1703()
527 temp = (unsigned int) (mhz100); in aty_var_to_pll_1703()
549 temp += mhz100; in aty_var_to_pll_1703()
616 u32 mhz100; /* in 0.01 MHz */ in aty_var_to_pll_8398() local
623 mhz100 = 100000000 / vclk_per; in aty_var_to_pll_8398()
631 if (mhz100 == 0) in aty_var_to_pll_8398()
634 if (mhz100 < mach64MinFreq) in aty_var_to_pll_8398()
635 mhz100 = mach64MinFreq; in aty_var_to_pll_8398()
636 if (mhz100 > mach64MaxFreq) in aty_var_to_pll_8398()
637 mhz100 = mach64MaxFreq; in aty_var_to_pll_8398()
639 longMHz100 = mhz100 * 256 / 100; /* 8 bit scale this */ in aty_var_to_pll_8398()
641 while (mhz100 < (mach64MinFreq << 3)) { in aty_var_to_pll_8398()
642 mhz100 <<= 1; in aty_var_to_pll_8398()
737 u32 mhz100; /* in 0.01 MHz */ in aty_var_to_pll_408() local
746 mhz100 = 100000000 / vclk_per; in aty_var_to_pll_408()
752 if (mhz100 == 0) in aty_var_to_pll_408()
755 if (mhz100 < mach64MinFreq) in aty_var_to_pll_408()
756 mhz100 = mach64MinFreq; in aty_var_to_pll_408()
757 if (mhz100 > mach64MaxFreq) in aty_var_to_pll_408()
758 mhz100 = mach64MaxFreq; in aty_var_to_pll_408()
760 while (mhz100 < (mach64MinFreq << 3)) { in aty_var_to_pll_408()
761 mhz100 <<= 1; in aty_var_to_pll_408()
765 temp = (unsigned int) mhz100; in aty_var_to_pll_408()
785 temp += mhz100; in aty_var_to_pll_408()