Home
last modified time | relevance | path

Searched refs:counter_freq (Results 1 – 5 of 5) sorted by relevance

/trueos/sys/mips/rmi/
HDtick.c56 uint64_t counter_freq; variable
89 counter_freq = clock_hz; in mips_timer_early_init()
146 counter_freq = platform_counter_freq; in mips_timer_init_params()
153 counter_freq /= 2; in mips_timer_init_params()
155 cycles_per_usec = counter_freq / (1 * 1000 * 1000); in mips_timer_init_params()
156 set_cputicker(tick_ticker, counter_freq, 1); in mips_timer_init_params()
167 freq = counter_freq; in sysctl_machdep_counter_freq()
170 counter_freq = freq; in sysctl_machdep_counter_freq()
171 softc->et.et_frequency = counter_freq; in sysctl_machdep_counter_freq()
172 softc->tc.tc_frequency = counter_freq; in sysctl_machdep_counter_freq()
[all …]
/trueos/sys/mips/nlm/
HDtick.c59 uint64_t counter_freq; variable
92 counter_freq = clock_hz; in mips_timer_early_init()
149 counter_freq = platform_counter_freq; in mips_timer_init_params()
156 counter_freq /= 2; in mips_timer_init_params()
158 cycles_per_usec = counter_freq / (1 * 1000 * 1000); in mips_timer_init_params()
159 set_cputicker(tick_ticker, counter_freq, 1); in mips_timer_init_params()
170 freq = counter_freq; in sysctl_machdep_counter_freq()
173 counter_freq = freq; in sysctl_machdep_counter_freq()
174 softc->et.et_frequency = counter_freq; in sysctl_machdep_counter_freq()
175 softc->tc.tc_frequency = counter_freq; in sysctl_machdep_counter_freq()
[all …]
/trueos/sys/mips/mips/
HDtick.c54 uint64_t counter_freq; variable
87 counter_freq = clock_hz; in mips_timer_early_init()
144 counter_freq = platform_counter_freq; in mips_timer_init_params()
151 counter_freq /= 2; in mips_timer_init_params()
153 cycles_per_usec = counter_freq / (1 * 1000 * 1000); in mips_timer_init_params()
154 set_cputicker(tick_ticker, counter_freq, 1); in mips_timer_init_params()
165 freq = counter_freq; in sysctl_machdep_counter_freq()
168 counter_freq = freq; in sysctl_machdep_counter_freq()
169 softc->et.et_frequency = counter_freq; in sysctl_machdep_counter_freq()
170 softc->tc.tc_frequency = counter_freq; in sysctl_machdep_counter_freq()
[all …]
/trueos/sys/mips/sentry5/
HDs5_machdep.c204 counter_freq = 100000000; /* XXX */ in platform_start()
217 counter_freq = cpumult * refclock; in platform_start()
/trueos/sys/mips/include/
HDclock.h34 extern uint64_t counter_freq;