Lines Matching refs:sys_tick_freq
52 uint64_t sys_tick_freq = 0;
53 uint_t cpu_tick_freq = 0; /* deprecated, tune sys_tick_freq instead */
74 * sys_clock_mhz = (sys_tick_freq + 500000) / 1000000
78 * calibrate sys_tick_freq but can only set it to the prom value. The
81 * Only call cpu_init_tick_freq the second time around if sys_tick_freq
94 "tunable, use sys_tick_freq instead");
95 sys_tick_freq = cpu_tick_freq;
97 if (sys_tick_freq == sys_tick_freq_save) {
99 sys_tick_freq_save = sys_tick_freq;
101 ASSERT(sys_tick_freq != 0);
110 sys_tick_freq) & ~1;
115 * compare register. Just in case sys_tick_freq is like 142.5 Mhz
119 scaled_clock_mhz = (sys_tick_freq) / 1000;
120 sys_clock_mhz = (sys_tick_freq + 500000) / 1000000;
122 nsec_per_sys_tick = NANOSEC / sys_tick_freq;
127 sticks_per_usec = MAX((sys_tick_freq + (MICROSEC - 1)) / MICROSEC, 1);