Lines Matching refs:sys_tick_freq
50 uint64_t sys_tick_freq = 0;
51 uint_t cpu_tick_freq = 0; /* deprecated, tune sys_tick_freq instead */
94 * sys_clock_mhz = (sys_tick_freq + 500000) / 1000000
98 * calibrate sys_tick_freq but can only set it to the prom value. The
101 * Only call cpu_init_tick_freq the second time around if sys_tick_freq
114 "tunable, use sys_tick_freq instead");
115 sys_tick_freq = cpu_tick_freq;
117 if (sys_tick_freq == sys_tick_freq_save) {
119 sys_tick_freq_save = sys_tick_freq;
121 ASSERT(sys_tick_freq != 0);
130 sys_tick_freq) & ~1;
135 * compare register. Just in case sys_tick_freq is like 142.5 Mhz
139 scaled_clock_mhz = (sys_tick_freq) / 1000;
140 sys_clock_mhz = (sys_tick_freq + 500000) / 1000000;
142 nsec_per_sys_tick = NANOSEC / sys_tick_freq;
147 sticks_per_usec = MAX((sys_tick_freq + (MICROSEC - 1)) / MICROSEC, 1);