Searched refs:sys_tick_freq (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dhardclk.c52 uint64_t sys_tick_freq = 0; variable
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 !
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dhardclk.c50 uint64_t sys_tick_freq = 0; variable
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 !
[all...]
/illumos-gate/usr/src/uts/sun4/sys/
H A Dclock.h46 extern uint64_t sys_tick_freq;
197 * The challenge is to multiply a %tick value by (NANOSEC / sys_tick_freq)
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_kdi.c98 endtick = gettick() + (uint64_t)sys_tick_freq;
H A Dspitfire.c644 sys_tick_freq = tod_ops.tod_get_cpufrequency();
657 sys_tick_freq = system_clock_freq;
659 sys_tick_freq = cpunodes[CPU->cpu_id].clock_freq;
H A Dopl_olympus.c654 sys_tick_freq = system_clock_freq;
H A Dus3_common.c595 sys_tick_freq = system_clock_freq;
/illumos-gate/usr/src/uts/sun4/io/
H A Dcbe.c54 return (q * sys_tick_freq + ((r * sys_tick_freq) / NANOSEC));
269 hrtime_t resolution = NANOSEC / sys_tick_freq;
290 * If sys_tick_freq > NANOSEC (i.e. we're on a CPU with a clock rate
/illumos-gate/usr/src/uts/sun4v/os/
H A Dsuspend.c90 extern uint64_t sys_tick_freq;
308 (sys_tick_freq * suspend_tick_stick_max_delta * 2 / MICROSEC);
H A Dmach_cpu_states.c741 sys_tick_freq = cpunodes[CPU->cpu_id].clock_freq;
768 sys_tick_freq = stick_prop;
1440 tick_scale = (uint_t)(((u_longlong_t)sys_tick_freq
1462 tick_limit = tick_limit < sys_tick_freq ? sys_tick_freq : tick_limit;
1473 scale = (xc_scale * tick_limit + sys_tick_freq / 2) / tick_limit_save;
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_startup.c174 0 : sys_tick_freq / fpras_frequency;
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c127 sysc_tick_limit = ((uint64_t)sys_tick_freq * SYSC_CPU_LOOP_MSEC) / 1000;
/illumos-gate/usr/src/uts/sun4/os/
H A Dx_call.c146 ((uint64_t)sys_tick_freq * XC_SEND_MONDO_MSEC) / 1000;
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c699 sys_tick_freq;

Completed in 88 milliseconds