/openbmc/linux/arch/mips/kernel/ |
H A D | csrc-r4k.c | 110 if (!cpu_has_counter || !mips_hpt_frequency) in init_r4k_clocksource() 114 clocksource_mips.rating = 200 + mips_hpt_frequency / 10000000; in init_r4k_clocksource() 123 clocksource_register_hz(&clocksource_mips, mips_hpt_frequency); in init_r4k_clocksource() 126 sched_clock_register(r4k_read_sched_clock, 32, mips_hpt_frequency); in init_r4k_clocksource()
|
H A D | time.c | 123 unsigned int mips_hpt_frequency; variable 124 EXPORT_SYMBOL_GPL(mips_hpt_frequency);
|
H A D | cevt-r4k.c | 266 rate = cpufreq_scale(mips_hpt_frequency, mips_ref_freq, in r4k_cpufreq_callback() 300 if (!cpu_has_counter || !mips_hpt_frequency) in r4k_clockevent_init() 320 clockevents_config_and_register(cd, mips_hpt_frequency, min_delta, 0x7fffffff); in r4k_clockevent_init()
|
/openbmc/linux/arch/mips/generic/ |
H A D | init.c | 159 mips_hpt_frequency = 0; in plat_time_init() 161 mips_hpt_frequency = mach->measure_hpt_freq(); in plat_time_init() 175 mips_hpt_frequency = clk_get_rate(clk); in plat_time_init() 185 mips_hpt_frequency /= 2; in plat_time_init()
|
/openbmc/linux/arch/mips/cobalt/ |
H A D | time.c | 39 mips_hpt_frequency = (end - start) * 10; in plat_time_init() 40 printk(KERN_INFO "MIPS counter frequency %dHz\n", mips_hpt_frequency); in plat_time_init()
|
/openbmc/linux/arch/mips/rb532/ |
H A D | time.c | 32 mips_hpt_frequency = idt_cpu_freq * IDT_CLOCK_MULT / 2; in cal_r4koff() 34 return mips_hpt_frequency / HZ; in cal_r4koff()
|
/openbmc/linux/arch/mips/dec/ |
H A D | time.c | 152 mips_hpt_frequency = (end - start) * 8; in plat_time_init() 154 mips_hpt_frequency); in plat_time_init() 167 mips_hpt_frequency = 0; in plat_time_init()
|
/openbmc/linux/arch/mips/sgi-ip32/ |
H A D | ip32-setup.c | 72 mips_hpt_frequency = read_c0_count() * 1000 / WAIT_MS; in plat_time_init() 73 printk("%d MHz CPU detected\n", mips_hpt_frequency * 2 / 1000000); in plat_time_init()
|
/openbmc/linux/arch/mips/sgi-ip30/ |
H A D | ip30-setup.c | 98 mips_hpt_frequency = time_diff * 10; in ip30_cpu_time_init() 100 (mips_hpt_frequency * 2) / 1000000); in ip30_cpu_time_init()
|
/openbmc/linux/arch/mips/loongson2ef/common/ |
H A D | time.c | 19 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/ar7/ |
H A D | time.c | 30 mips_hpt_frequency = clk_get_rate(cpu_clk) / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/loongson32/common/ |
H A D | time.c | 22 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/mti-malta/ |
H A D | malta-time.c | 112 mips_hpt_frequency = count; in estimate_frequencies() 231 freq = mips_hpt_frequency; in plat_time_init()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | time.h | 29 extern unsigned int mips_hpt_frequency;
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | time.c | 42 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/pic32/pic32mzda/ |
H A D | time.c | 60 mips_hpt_frequency = rate / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/bcm47xx/ |
H A D | time.c | 80 mips_hpt_frequency = hz; in plat_time_init()
|
/openbmc/linux/arch/mips/ralink/ |
H A D | clk.c | 83 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/sgi-ip22/ |
H A D | ip22-time.c | 112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
|
/openbmc/linux/arch/mips/bcm63xx/ |
H A D | setup.c | 144 mips_hpt_frequency = bcm63xx_get_cpu_freq() / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/bmips/ |
H A D | setup.c | 169 mips_hpt_frequency = freq; in plat_time_init()
|
/openbmc/linux/arch/mips/sni/ |
H A D | time.c | 156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
|
/openbmc/linux/arch/mips/n64/ |
H A D | init.c | 163 mips_hpt_frequency = 93750000 / 2; in plat_time_init()
|
/openbmc/linux/arch/mips/lantiq/ |
H A D | clk.c | 197 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | bmips-cpufreq.c | 62 return mips_hpt_frequency * clk_mult / 1000; in htp_freq_to_cpu_freq()
|