Home
last modified time | relevance | path

Searched refs:rtclock_sec_divisor (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/osfmk/arm/
H A Drtclock.c140 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()
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()
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()
[all …]
H A Drtclock.h73 #define rtclock_sec_divisor RTClockData.rtc_sec_divisor macro