Home
last modified time | relevance | path

Searched refs:NSEC_SHIFT (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/i86pc/os/
H A Dtimestamp.c102 #define NSEC_SHIFT 5 macro
132 (hrt) += mul32(_l[1], scale) << NSEC_SHIFT; \
133 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \
138 (hrt) = mul32(_l[1], scale) << NSEC_SHIFT; \
139 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \
670 ASSERT(cpu_freq_hz > NANOSEC / (1 << NSEC_SHIFT)); in tsc_hrtimeinit()
672 (uint_t)(((uint64_t)NANOSEC << (32 - NSEC_SHIFT)) / cpu_freq_hz); in tsc_hrtimeinit()
674 (uint_t)(((uint64_t)cpu_freq_hz << (32 - NSEC_SHIFT)) / NANOSEC); in tsc_hrtimeinit()
/titanic_50/usr/src/uts/sun4u/sys/
H A Dmachclock.h80 #define NSEC_SHIFT 8 macro
87 #define NSEC_SHIFT 4
130 NATIVE_TIME_TO_NSEC_SCALE(nslt, nano, gnt1, NSEC_SHIFT); \
152 NATIVE_TIME_TO_NSEC_SCALE(nslt, scale, gnt1, NSEC_SHIFT); \
/titanic_50/usr/src/lib/commpage/common/
H A Dcp_main.c56 #define NSEC_SHIFT 5 macro
63 (hrt) += (uint64_t)(_l[1] * sc) << NSEC_SHIFT; \
64 (hrt) += (uint64_t)(_l[0] * sc) >> (32 - NSEC_SHIFT); \
/titanic_50/usr/src/uts/sun4/sys/
H A Dclock.h264 NATIVE_TIME_TO_NSEC_SCALE(out, scr1, scr2, NSEC_SHIFT);
268 srlx out, NSEC_SHIFT, out
/titanic_50/usr/src/uts/sun4v/sys/
H A Dmachclock.h205 #define NSEC_SHIFT 4 macro
244 NATIVE_TIME_TO_NSEC_SCALE(nslt, nano, gnt1, NSEC_SHIFT); \
267 NATIVE_TIME_TO_NSEC_SCALE(nslt, scale, gnt1, NSEC_SHIFT); \
/titanic_50/usr/src/lib/commpage/amd64/
H A Dcp_subr.s31 #define NSEC_SHIFT 5 macro
241 shrdq $_CONST(32 - NSEC_SHIFT), %rdx, %rax
/titanic_50/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c71 #define NSEC_SHIFT 5 macro
633 hrt = (mul32(l[1], nsec_scale) << NSEC_SHIFT) + in xpv_panic_gethrtime()
634 (mul32(l[0], nsec_scale) >> (32 - NSEC_SHIFT)); in xpv_panic_gethrtime()
643 CPU->cpu_m.mcpu_vcpu_info->time.tsc_to_system_mul >> NSEC_SHIFT; in xpv_panic_time_init()
/titanic_50/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c761 #define NSEC_SHIFT 5 macro
814 hrt = ((uint64_t)tscp[1] * scale) << NSEC_SHIFT; in scalehrtime_cmd()
815 hrt += ((uint64_t)tscp[0] * scale) >> (32 - NSEC_SHIFT); in scalehrtime_cmd()
/titanic_50/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s541 NATIVE_TIME_TO_NSEC_SCALE(%l0, %l5, %l2, NSEC_SHIFT)
781 .word NSEC_SHIFT
/titanic_50/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s695 NATIVE_TIME_TO_NSEC_SCALE(%l0, %l5, %l2, NSEC_SHIFT)
935 .word NSEC_SHIFT