/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | timestamp.c | 244 TSC_CONVERT_AND_ADD(tsc, hrt, nsec_scale); in tsc_gethrtime() 286 TSC_CONVERT_AND_ADD(tsc, hrt, nsec_scale); in tsc_gethrtime_delta() 327 scale = nsec_scale; in tsc_gethrtime_params() 340 TSC_CONVERT_AND_ADD(tsc, base, nsec_scale); in tsc_gethrtime_params() 400 TSC_CONVERT_AND_ADD(tsc, hrt, nsec_scale); in dtrace_gethrtime() 497 TSC_CONVERT(mytsc, hrt, nsec_scale); in tsc_scalehrtime() 686 shadow_nsec_scale = nsec_scale; in tsc_tick() 719 TSC_CONVERT_AND_ADD(delta, tsc_hrtime_base, nsec_scale); in tsc_tick() 740 nsec_scale = in tsc_hrtimeinit() 842 tsc_adjust_delta(nsec_scale); in tsc_suspend()
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | clock.h | 43 extern uint_t nsec_scale; 262 sethi %hi(nsec_scale), scr1; /* load scaling factor */ \ 263 ld [scr1 + %lo(nsec_scale)], scr1; \
|
/illumos-gate/usr/src/uts/i86pc/ml/ |
H A D | comm_page.S | 31 uint32_t nsec_scale; 70 DGDEF2(nsec_scale, 4);
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 118 lduw [scr + %lo(nsec_scale)], nano; /* tick-to-ns factor */ \ 143 lduw [scr + %lo(nsec_scale)], scale; /* tick-to-ns factor */ \
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | comm_page.h | 84 extern uint32_t nsec_scale;
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 231 lduw [scr + %lo(nsec_scale)], nano; /* tick-to-ns factor */ \ 257 lduw [scr + %lo(nsec_scale)], scale; /* tick-to-ns factor */ \
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | hardclk.c | 129 nsec_scale = (uint_t)(((u_longlong_t)NANOSEC << (32 - nsec_shift)) / in setcpudelay()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 74 static uint_t nsec_scale; variable 629 hrt = (mul32(l[1], nsec_scale) << NSEC_SHIFT) + in xpv_panic_gethrtime() 630 (mul32(l[0], nsec_scale) >> (32 - NSEC_SHIFT)); in xpv_panic_gethrtime() 638 nsec_scale = in xpv_panic_time_init()
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 809 uint32_t nsec_scale; in scalehrtime_dcmd() local 858 if (mdb_readsym(&nsec_scale, sizeof (nsec_scale), "nsec_scale") == -1) { in scalehrtime_dcmd() 891 scale = (uint64_t)nsec_scale; in scalehrtime_dcmd()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | hardclk.c | 109 nsec_scale = (uint_t)(((u_longlong_t)NANOSEC << (32 - nsec_shift)) / in setcpudelay()
|
/illumos-gate/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 39 uint_t nsec_scale; variable
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | mach_subr_asm.S | 147 ! Use nsec_scale for sun4v which is based on %stick
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.S | 370 ld [%l4 + %lo(nsec_scale)], %l5 ! delay: %l5 = scaling factor 381 ! update hres_last_tick. %l5 has the scaling factor (nsec_scale). 587 .global hres_lock, nsec_scale, hrtime_base, traptrace_use_stick 602 nsec_scale: label
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.S | 531 ld [%l4 + %lo(nsec_scale)], %l5 ! delay: %l5 = scaling factor 542 ! update hres_last_tick. %l5 has the scaling factor (nsec_scale). 748 .global hres_lock, nsec_scale, hrtime_base, traptrace_use_stick 763 nsec_scale: label
|