Home
last modified time | relevance | path

Searched refs:est_freq (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/mips/alchemy/common/
Dsetup.c43 unsigned long est_freq; in plat_mem_setup() local
46 est_freq = au1xxx_calc_clock(); in plat_mem_setup()
47 est_freq += 5000; /* round */ in plat_mem_setup()
48 est_freq -= est_freq % 10000; in plat_mem_setup()
50 est_freq / 1000000, ((est_freq % 1000000) * 100) / 1000000); in plat_mem_setup()
53 preset_lpj = (est_freq >> 1) / HZ; in plat_mem_setup()
/linux-2.6.39/arch/mips/rb532/
Dtime.c51 unsigned int est_freq; in plat_time_init() local
60 est_freq = 2 * r4k_offset * HZ; in plat_time_init()
61 est_freq += 5000; /* round */ in plat_time_init()
62 est_freq -= est_freq % 10000; in plat_time_init()
63 printk(KERN_INFO "CPU frequency %d.%02d MHz\n", est_freq / 1000000, in plat_time_init()
64 (est_freq % 1000000) * 100 / 1000000); in plat_time_init()
/linux-2.6.39/arch/mips/mipssim/
Dsim_time.c105 unsigned int est_freq; in plat_time_init() local
110 est_freq = estimate_cpu_frequency(); in plat_time_init()
112 printk(KERN_INFO "CPU frequency %d.%02d MHz\n", est_freq / 1000000, in plat_time_init()
113 (est_freq % 1000000) * 100 / 1000000); in plat_time_init()
115 cpu_khz = est_freq / 1000; in plat_time_init()
/linux-2.6.39/arch/mips/mti-malta/
Dmalta-time.c146 unsigned int est_freq; in plat_time_init() local
151 est_freq = estimate_cpu_frequency(); in plat_time_init()
153 printk("CPU frequency %d.%02d MHz\n", est_freq/1000000, in plat_time_init()
154 (est_freq%1000000)*100/1000000); in plat_time_init()
156 cpu_khz = est_freq / 1000; in plat_time_init()