mhz100 500 drivers/video/fbdev/aty/mach64_gx.c u32 mhz100; /* in 0.01 MHz */ mhz100 509 drivers/video/fbdev/aty/mach64_gx.c mhz100 = 100000000 / vclk_per; mhz100 515 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 == 0) mhz100 518 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 < mach64MinFreq) mhz100 519 drivers/video/fbdev/aty/mach64_gx.c mhz100 = mach64MinFreq; mhz100 520 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 > mach64MaxFreq) mhz100 521 drivers/video/fbdev/aty/mach64_gx.c mhz100 = mach64MaxFreq; mhz100 524 drivers/video/fbdev/aty/mach64_gx.c while (mhz100 < (mach64MinFreq << 3)) { mhz100 525 drivers/video/fbdev/aty/mach64_gx.c mhz100 <<= 1; mhz100 529 drivers/video/fbdev/aty/mach64_gx.c temp = (unsigned int) (mhz100); mhz100 551 drivers/video/fbdev/aty/mach64_gx.c temp += mhz100; mhz100 618 drivers/video/fbdev/aty/mach64_gx.c u32 mhz100; /* in 0.01 MHz */ mhz100 625 drivers/video/fbdev/aty/mach64_gx.c mhz100 = 100000000 / vclk_per; mhz100 634 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 == 0) mhz100 637 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 < mach64MinFreq) mhz100 638 drivers/video/fbdev/aty/mach64_gx.c mhz100 = mach64MinFreq; mhz100 639 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 > mach64MaxFreq) mhz100 640 drivers/video/fbdev/aty/mach64_gx.c mhz100 = mach64MaxFreq; mhz100 642 drivers/video/fbdev/aty/mach64_gx.c longMHz100 = mhz100 * 256 / 100; /* 8 bit scale this */ mhz100 644 drivers/video/fbdev/aty/mach64_gx.c while (mhz100 < (mach64MinFreq << 3)) { mhz100 645 drivers/video/fbdev/aty/mach64_gx.c mhz100 <<= 1; mhz100 740 drivers/video/fbdev/aty/mach64_gx.c u32 mhz100; /* in 0.01 MHz */ mhz100 749 drivers/video/fbdev/aty/mach64_gx.c mhz100 = 100000000 / vclk_per; mhz100 755 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 == 0) mhz100 758 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 < mach64MinFreq) mhz100 759 drivers/video/fbdev/aty/mach64_gx.c mhz100 = mach64MinFreq; mhz100 760 drivers/video/fbdev/aty/mach64_gx.c if (mhz100 > mach64MaxFreq) mhz100 761 drivers/video/fbdev/aty/mach64_gx.c mhz100 = mach64MaxFreq; mhz100 763 drivers/video/fbdev/aty/mach64_gx.c while (mhz100 < (mach64MinFreq << 3)) { mhz100 764 drivers/video/fbdev/aty/mach64_gx.c mhz100 <<= 1; mhz100 768 drivers/video/fbdev/aty/mach64_gx.c temp = (unsigned int) mhz100; mhz100 788 drivers/video/fbdev/aty/mach64_gx.c temp += mhz100;