/linux-6.3-rc2/arch/mips/loongson32/common/ |
A D | time.c | 56 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 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()
|
A D | time.c | 123 unsigned int mips_hpt_frequency; variable 124 EXPORT_SYMBOL_GPL(mips_hpt_frequency);
|
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() 328 clockevents_config_and_register(cd, mips_hpt_frequency, min_delta, 0x7fffffff); in r4k_clockevent_init()
|
A D | smp-cmp.c | 52 write_c0_compare(read_c0_count() + (8 * mips_hpt_frequency / HZ)); in cmp_smp_finish()
|
/linux-6.3-rc2/arch/mips/generic/ |
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()
|
/linux-6.3-rc2/arch/mips/cobalt/ |
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()
|
/linux-6.3-rc2/arch/mips/rb532/ |
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()
|
/linux-6.3-rc2/arch/mips/dec/ |
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()
|
/linux-6.3-rc2/arch/mips/sgi-ip32/ |
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()
|
/linux-6.3-rc2/arch/mips/sgi-ip30/ |
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()
|
/linux-6.3-rc2/arch/mips/mti-malta/ |
A D | malta-time.c | 112 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 D | time.c | 19 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/ar7/ |
A D | time.c | 30 mips_hpt_frequency = clk_get_rate(cpu_clk) / 2; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | time.h | 29 extern unsigned int mips_hpt_frequency;
|
/linux-6.3-rc2/arch/mips/loongson64/ |
A D | time.c | 42 mips_hpt_frequency = cpu_clock_freq / 2; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/ralink/ |
A D | clk.c | 40 mips_hpt_frequency = clk_get_rate(clk) / 2; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/pic32/pic32mzda/ |
A D | time.c | 60 mips_hpt_frequency = rate / 2; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/bcm47xx/ |
A D | time.c | 80 mips_hpt_frequency = hz; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/sgi-ip22/ |
A D | ip22-time.c | 112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/bcm63xx/ |
A D | setup.c | 144 mips_hpt_frequency = bcm63xx_get_cpu_freq() / 2; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/bmips/ |
A D | setup.c | 161 mips_hpt_frequency = freq; in plat_time_init()
|
/linux-6.3-rc2/arch/mips/sni/ |
A D | time.c | 156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | bmips-cpufreq.c | 62 return mips_hpt_frequency * clk_mult / 1000; in htp_freq_to_cpu_freq()
|
/linux-6.3-rc2/arch/mips/lantiq/ |
A D | clk.c | 197 mips_hpt_frequency = clk_get_rate(clk) / get_counter_resolution(); in plat_time_init()
|