Lines Matching refs:freq
51 static unsigned int freqround(unsigned int freq, unsigned int amount)
53 freq += amount;
54 freq -= freq % (amount*2);
55 return freq;
181 unsigned char freq, ctrl;
184 freq = CMOS_READ(RTC_FREQ_SELECT);
185 if ((freq & RTC_DIV_CTL) != RTC_REF_CLCK_32KHZ)
226 unsigned int freq;
231 freq = mips_hpt_frequency;
234 freq *= 2;
235 freq = freqround(freq, 5000);
236 printk("CPU frequency %d.%02d MHz\n", freq/1000000,
237 (freq%1000000)*100/1000000);
245 freq = freqround(gic_frequency, 5000);
246 printk("GIC frequency %d.%02d MHz\n", freq/1000000,
247 (freq%1000000)*100/1000000);