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()
226 unsigned int freq; in plat_time_init() local
231 freq = mips_hpt_frequency; in plat_time_init()
234 freq *= 2; in plat_time_init()
235 freq = freqround(freq, 5000); in plat_time_init()
236 printk("CPU frequency %d.%02d MHz\n", freq/1000000, in plat_time_init()
237 (freq%1000000)*100/1000000); in plat_time_init()
245 freq = freqround(gic_frequency, 5000); in plat_time_init()
246 printk("GIC frequency %d.%02d MHz\n", freq/1000000, in plat_time_init()
247 (freq%1000000)*100/1000000); in plat_time_init()