Home
last modified time | relevance | path

Searched refs:mips_hpt_frequency (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/arch/mips/kernel/
H A Dcsrc-r4k.c110 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 Dtime.c123 unsigned int mips_hpt_frequency; variable
124 EXPORT_SYMBOL_GPL(mips_hpt_frequency);
H A Dcevt-r4k.c266 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 Dinit.c159 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 Dtime.c39 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 Dtime.c32 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 Dtime.c152 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 Dip32-setup.c72 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 Dip30-setup.c98 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 Dtime.c19 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/openbmc/linux/arch/mips/ar7/
H A Dtime.c30 mips_hpt_frequency = clk_get_rate(cpu_clk) / 2; in plat_time_init()
/openbmc/linux/arch/mips/loongson32/common/
H A Dtime.c22 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-time.c112 mips_hpt_frequency = count; in estimate_frequencies()
231 freq = mips_hpt_frequency; in plat_time_init()
/openbmc/linux/arch/mips/include/asm/
H A Dtime.h29 extern unsigned int mips_hpt_frequency;
/openbmc/linux/arch/mips/loongson64/
H A Dtime.c42 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/openbmc/linux/arch/mips/pic32/pic32mzda/
H A Dtime.c60 mips_hpt_frequency = rate / 2; in plat_time_init()
/openbmc/linux/arch/mips/bcm47xx/
H A Dtime.c80 mips_hpt_frequency = hz; in plat_time_init()
/openbmc/linux/arch/mips/ralink/
H A Dclk.c83 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/openbmc/linux/arch/mips/sgi-ip22/
H A Dip22-time.c112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/openbmc/linux/arch/mips/bcm63xx/
H A Dsetup.c144 mips_hpt_frequency = bcm63xx_get_cpu_freq() / 2; in plat_time_init()
/openbmc/linux/arch/mips/bmips/
H A Dsetup.c169 mips_hpt_frequency = freq; in plat_time_init()
/openbmc/linux/arch/mips/sni/
H A Dtime.c156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/openbmc/linux/arch/mips/n64/
H A Dinit.c163 mips_hpt_frequency = 93750000 / 2; in plat_time_init()
/openbmc/linux/arch/mips/lantiq/
H A Dclk.c197 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()
/openbmc/linux/drivers/cpufreq/
H A Dbmips-cpufreq.c62 return mips_hpt_frequency * clk_mult / 1000; in htp_freq_to_cpu_freq()

12