Searched refs:rtclock_sec_divisor (Results 1 – 2 of 2) sorted by relevance
140 rtclock_sec_divisor = divisor; in timebase_callback()298 *secs = (t64 = abstime / rtclock_sec_divisor); in clock_get_system_nanotime()299 abstime -= (t64 * rtclock_sec_divisor); in clock_get_system_nanotime()301 *nanosecs = (clock_nsec_t)((abstime * NSEC_PER_SEC) / rtclock_sec_divisor); in clock_get_system_nanotime()469 *secs = t64 = abstime / rtclock_sec_divisor; in absolutetime_to_microtime()470 abstime -= (t64 * rtclock_sec_divisor); in absolutetime_to_microtime()481 *result = (t64 = abstime / rtclock_sec_divisor) * NSEC_PER_SEC; in absolutetime_to_nanoseconds()482 abstime -= (t64 * rtclock_sec_divisor); in absolutetime_to_nanoseconds()483 *result += (abstime * NSEC_PER_SEC) / rtclock_sec_divisor; in absolutetime_to_nanoseconds()492 *result = (t64 = nanosecs / NSEC_PER_SEC) * rtclock_sec_divisor; in nanoseconds_to_absolutetime()[all …]
73 #define rtclock_sec_divisor RTClockData.rtc_sec_divisor macro