Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/mips/loongson32/common/
Dtime.c56 ls1x_jiffies_per_tick = DIV_ROUND_CLOSEST(mips_hpt_frequency, HZ); in ls1x_pwmtimer_init()
184 if (!mips_hpt_frequency) in ls1x_time_init()
189 clockevent_set_clock(cd, mips_hpt_frequency); in ls1x_time_init()
197 ls1x_clocksource.rating = 200 + mips_hpt_frequency / 10000000; in ls1x_time_init()
198 ret = clocksource_register_hz(&ls1x_clocksource, mips_hpt_frequency); in ls1x_time_init()
222 mips_hpt_frequency = clk_get_rate(clk); in plat_time_init()
230 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/Linux-v6.1/arch/mips/kernel/
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()
Dtime.c123 unsigned int mips_hpt_frequency; variable
124 EXPORT_SYMBOL_GPL(mips_hpt_frequency);
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()
328 clockevents_config_and_register(cd, mips_hpt_frequency, min_delta, 0x7fffffff); in r4k_clockevent_init()
Dsmp-cmp.c52 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
/Linux-v6.1/arch/mips/generic/
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()
/Linux-v6.1/arch/mips/cobalt/
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()
/Linux-v6.1/arch/mips/rb532/
Dtime.c32 mips_hpt_frequency = idt_cpu_freq * IDT_CLOCK_MULT / 2; in cal_r4koff()
34 return mips_hpt_frequency / HZ; in cal_r4koff()
/Linux-v6.1/arch/mips/dec/
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()
/Linux-v6.1/arch/mips/sgi-ip32/
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()
/Linux-v6.1/arch/mips/sgi-ip30/
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()
/Linux-v6.1/arch/mips/mti-malta/
Dmalta-time.c112 mips_hpt_frequency = count; in estimate_frequencies()
231 freq = mips_hpt_frequency; in plat_time_init()
/Linux-v6.1/arch/mips/loongson2ef/common/
Dtime.c19 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/Linux-v6.1/arch/mips/ar7/
Dtime.c30 mips_hpt_frequency = clk_get_rate(cpu_clk) / 2; in plat_time_init()
/Linux-v6.1/arch/mips/include/asm/
Dtime.h29 extern unsigned int mips_hpt_frequency;
/Linux-v6.1/arch/mips/loongson64/
Dtime.c42 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/Linux-v6.1/arch/mips/ralink/
Dclk.c40 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/Linux-v6.1/arch/mips/pic32/pic32mzda/
Dtime.c60 mips_hpt_frequency = rate / 2; in plat_time_init()
/Linux-v6.1/arch/mips/bcm47xx/
Dtime.c80 mips_hpt_frequency = hz; in plat_time_init()
/Linux-v6.1/arch/mips/sgi-ip22/
Dip22-time.c112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/Linux-v6.1/arch/mips/bcm63xx/
Dsetup.c144 mips_hpt_frequency = bcm63xx_get_cpu_freq() / 2; in plat_time_init()
/Linux-v6.1/arch/mips/bmips/
Dsetup.c161 mips_hpt_frequency = freq; in plat_time_init()
/Linux-v6.1/arch/mips/sni/
Dtime.c156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/Linux-v6.1/drivers/cpufreq/
Dbmips-cpufreq.c62 return mips_hpt_frequency * clk_mult / 1000; in htp_freq_to_cpu_freq()
/Linux-v6.1/arch/mips/lantiq/
Dclk.c197 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()

12