Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/mips/loongson32/common/
A 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-6.3-rc2/arch/mips/kernel/
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()
A Dtime.c123 unsigned int mips_hpt_frequency; variable
124 EXPORT_SYMBOL_GPL(mips_hpt_frequency);
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()
328 clockevents_config_and_register(cd, mips_hpt_frequency, min_delta, 0x7fffffff); in r4k_clockevent_init()
A Dsmp-cmp.c52 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
/linux-6.3-rc2/arch/mips/generic/
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()
/linux-6.3-rc2/arch/mips/cobalt/
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()
/linux-6.3-rc2/arch/mips/rb532/
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()
/linux-6.3-rc2/arch/mips/dec/
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()
/linux-6.3-rc2/arch/mips/sgi-ip32/
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()
/linux-6.3-rc2/arch/mips/sgi-ip30/
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()
/linux-6.3-rc2/arch/mips/mti-malta/
A Dmalta-time.c112 mips_hpt_frequency = count; in estimate_frequencies()
231 freq = mips_hpt_frequency; in plat_time_init()
/linux-6.3-rc2/arch/mips/loongson2ef/common/
A Dtime.c19 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/linux-6.3-rc2/arch/mips/ar7/
A Dtime.c30 mips_hpt_frequency = clk_get_rate(cpu_clk) / 2; in plat_time_init()
/linux-6.3-rc2/arch/mips/include/asm/
A Dtime.h29 extern unsigned int mips_hpt_frequency;
/linux-6.3-rc2/arch/mips/loongson64/
A Dtime.c42 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
/linux-6.3-rc2/arch/mips/ralink/
A Dclk.c40 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
/linux-6.3-rc2/arch/mips/pic32/pic32mzda/
A Dtime.c60 mips_hpt_frequency = rate / 2; in plat_time_init()
/linux-6.3-rc2/arch/mips/bcm47xx/
A Dtime.c80 mips_hpt_frequency = hz; in plat_time_init()
/linux-6.3-rc2/arch/mips/sgi-ip22/
A Dip22-time.c112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/linux-6.3-rc2/arch/mips/bcm63xx/
A Dsetup.c144 mips_hpt_frequency = bcm63xx_get_cpu_freq() / 2; in plat_time_init()
/linux-6.3-rc2/arch/mips/bmips/
A Dsetup.c161 mips_hpt_frequency = freq; in plat_time_init()
/linux-6.3-rc2/arch/mips/sni/
A Dtime.c156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
/linux-6.3-rc2/drivers/cpufreq/
A Dbmips-cpufreq.c62 return mips_hpt_frequency * clk_mult / 1000; in htp_freq_to_cpu_freq()
/linux-6.3-rc2/arch/mips/lantiq/
A Dclk.c197 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()

Completed in 24 milliseconds

12