Home
last modified time | relevance | path

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

/f-stack/freebsd/mips/nlm/
H A Dtick.c61 uint64_t counter_freq; variable
94 counter_freq = clock_hz; in mips_timer_early_init()
151 counter_freq = platform_counter_freq; in mips_timer_init_params()
158 counter_freq /= 2; in mips_timer_init_params()
161 set_cputicker(tick_ticker, counter_freq, 1); in mips_timer_init_params()
172 freq = counter_freq; in sysctl_machdep_counter_freq()
175 counter_freq = freq; in sysctl_machdep_counter_freq()
176 softc->et.et_frequency = counter_freq; in sysctl_machdep_counter_freq()
177 softc->tc.tc_frequency = counter_freq; in sysctl_machdep_counter_freq()
346 sc->tc.tc_frequency = counter_freq; in clock_attach()
[all …]
/f-stack/freebsd/mips/mips/
H A Dtick.c60 uint64_t counter_freq; variable
93 counter_freq = clock_hz; in mips_timer_early_init()
150 counter_freq = platform_counter_freq; in mips_timer_init_params()
157 counter_freq /= 2; in mips_timer_init_params()
160 set_cputicker(tick_ticker, counter_freq, 1); in mips_timer_init_params()
171 freq = counter_freq; in sysctl_machdep_counter_freq()
174 counter_freq = freq; in sysctl_machdep_counter_freq()
175 softc->et.et_frequency = counter_freq; in sysctl_machdep_counter_freq()
176 softc->tc.tc_frequency = counter_freq; in sysctl_machdep_counter_freq()
364 sc->tc.tc_frequency = counter_freq; in clock_attach()
[all …]
/f-stack/freebsd/mips/ingenic/
H A Djz4780_timer.c151 pcell_t counter_freq; in jz4780_timer_attach() local
165 counter_freq = 0; in jz4780_timer_attach()
170 counter_freq = (uint32_t)clk_freq / 16; in jz4780_timer_attach()
173 if (counter_freq == 0) { in jz4780_timer_attach()
176 counter_freq = 48000000 / 16; in jz4780_timer_attach()
219 sc->et.et_frequency = counter_freq; in jz4780_timer_attach()
231 sc->tc.tc_frequency = counter_freq; in jz4780_timer_attach()
/f-stack/freebsd/mips/include/
H A Dclock.h32 extern uint64_t counter_freq;