Lines Matching refs:NSEC_SHIFT
65 * here. This implementation differs only in its value for NSEC_SHIFT:
66 * we implement an NSEC_SHIFT of 5 (instead of sun4u's 4) to allow for
100 #define NSEC_SHIFT 5
131 (hrt) += mul32(_l[1], scale) << NSEC_SHIFT; \
132 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \
137 (hrt) = mul32(_l[1], scale) << NSEC_SHIFT; \
138 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \
673 ASSERT(cpu_freq_hz > NANOSEC / (1 << NSEC_SHIFT));
675 (uint_t)(((uint64_t)NANOSEC << (32 - NSEC_SHIFT)) / cpu_freq_hz);
677 (uint_t)(((uint64_t)cpu_freq_hz << (32 - NSEC_SHIFT)) / NANOSEC);