Lines Matching refs:rtclock_sec_divisor
140 rtclock_sec_divisor = divisor; in timebase_callback()
297 *secs = (t64 = abstime / rtclock_sec_divisor); in clock_get_system_nanotime()
298 abstime -= (t64 * rtclock_sec_divisor); in clock_get_system_nanotime()
300 *nanosecs = (clock_nsec_t)((abstime * NSEC_PER_SEC) / rtclock_sec_divisor); in clock_get_system_nanotime()
468 *secs = t64 = abstime / rtclock_sec_divisor; in absolutetime_to_microtime()
469 abstime -= (t64 * rtclock_sec_divisor); in absolutetime_to_microtime()
480 *result = (t64 = abstime / rtclock_sec_divisor) * NSEC_PER_SEC; in absolutetime_to_nanoseconds()
481 abstime -= (t64 * rtclock_sec_divisor); in absolutetime_to_nanoseconds()
482 *result += (abstime * NSEC_PER_SEC) / rtclock_sec_divisor; in absolutetime_to_nanoseconds()
491 *result = (t64 = nanosecs / NSEC_PER_SEC) * rtclock_sec_divisor; in nanoseconds_to_absolutetime()
493 *result += (nanosecs * rtclock_sec_divisor) / NSEC_PER_SEC; in nanoseconds_to_absolutetime()
501 *result = ((uint64_t) secs * rtclock_sec_divisor) + in nanotime_to_absolutetime()
502 ((uint64_t) nanosecs * rtclock_sec_divisor) / NSEC_PER_SEC; in nanotime_to_absolutetime()
513 *result = (t64 = nanosecs / NSEC_PER_SEC) * rtclock_sec_divisor; in clock_interval_to_absolutetime_interval()
515 *result += (nanosecs * rtclock_sec_divisor) / NSEC_PER_SEC; in clock_interval_to_absolutetime_interval()