Home
last modified time | relevance | path

Searched refs:ccount_freq (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/xtensa/kernel/
Dtime.c34 unsigned long ccount_freq; /* ccount Hz */ variable
35 EXPORT_SYMBOL(ccount_freq);
139 clockevents_config_and_register(clockevent, ccount_freq, in local_timer_setup()
155 ccount_freq = clk_get_rate(clk); in calibrate_ccount()
185 (int)ccount_freq / 1000000, in time_init()
186 (int)(ccount_freq / 10000) % 100); in time_init()
188 ccount_freq = CONFIG_XTENSA_CPU_CLOCK*1000000UL; in time_init()
190 WARN(!ccount_freq, in time_init()
193 clocksource_register_hz(&ccount_clocksource, ccount_freq); in time_init()
198 sched_clock_register(ccount_sched_clock_read, 32, ccount_freq); in time_init()
[all …]
Dplatform.c42 ccount_freq = 10 * 1000000UL; in platform_calibrate_ccount()
Dsetup.c574 ccount_freq/1000000, in c_show()
575 (ccount_freq/10000) % 100, in c_show()
/linux-6.12.1/arch/xtensa/include/asm/
Ddelay.h40 unsigned long cycles = (usecs * (ccount_freq >> 15)) >> 5; in __udelay()
61 unsigned long cycles = (nsec * (ccount_freq >> 15)) >> 15; in __ndelay()
Dtimex.h30 extern unsigned long ccount_freq;
/linux-6.12.1/arch/xtensa/platforms/xtfpga/
Dsetup.c67 ccount_freq = *(long *)XTFPGA_CLKFRQ_VADDR; in platform_calibrate_ccount()