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;
186 unsigned char freq, ctrl;
189 freq = CMOS_READ(RTC_FREQ_SELECT);
190 if ((freq & RTC_DIV_CTL) != RTC_REF_CLCK_32KHZ)
229 unsigned int freq;
234 freq = mips_hpt_frequency;
237 freq *= 2;
238 freq = freqround(freq, 5000);
239 printk("CPU frequency %d.%02d MHz\n", freq/1000000,
240 (freq%1000000)*100/1000000);
248 freq = freqround(gic_frequency, 5000);
249 printk("GIC frequency %d.%02d MHz\n", freq/1000000,
250 (freq%1000000)*100/1000000);