Lines Matching refs:freq
51 static unsigned int freqround(unsigned int freq, unsigned int amount) in freqround() argument
53 freq += amount; in freqround()
54 freq -= freq % (amount*2); in freqround()
55 return freq; in freqround()
181 unsigned char freq, ctrl; in init_rtc() local
184 freq = CMOS_READ(RTC_FREQ_SELECT); in init_rtc()
185 if ((freq & RTC_DIV_CTL) != RTC_REF_CLCK_32KHZ) in init_rtc()
224 unsigned int freq; in plat_time_init() local
229 freq = mips_hpt_frequency; in plat_time_init()
232 freq *= 2; in plat_time_init()
233 freq = freqround(freq, 5000); in plat_time_init()
234 printk("CPU frequency %d.%02d MHz\n", freq/1000000, in plat_time_init()
235 (freq%1000000)*100/1000000); in plat_time_init()
243 freq = freqround(gic_frequency, 5000); in plat_time_init()
244 printk("GIC frequency %d.%02d MHz\n", freq/1000000, in plat_time_init()
245 (freq%1000000)*100/1000000); in plat_time_init()