Lines Matching refs:USEC_PER_SEC
238 *microsecs = ((uint64_t)USEC_PER_SEC * (uint32_t)(_bt->frac >> 32)) >> 32; in bintime2usclock()
781 TIME_SUB(deltasecs, oldsecs, deltamicrosecs, oldmicrosecs, USEC_PER_SEC); in clock_set_calendar_microtime()
783 TIME_ADD(clock_boottime, deltasecs, clock_boottime_usec, deltamicrosecs, USEC_PER_SEC); in clock_set_calendar_microtime()
791 TIME_SUB(deltasecs, secs, deltamicrosecs, microsecs, USEC_PER_SEC); in clock_set_calendar_microtime()
793 TIME_SUB(clock_boottime, deltasecs, clock_boottime_usec, deltamicrosecs, USEC_PER_SEC); in clock_set_calendar_microtime()
809 commpage_value = clock_boottime * USEC_PER_SEC + clock_boottime_usec; in clock_set_calendar_microtime()
1094 TIME_SUB(utc_offset_secs, sys, utc_offset_microsecs, microsys, USEC_PER_SEC); in clock_initialize_calendar()
1103 commpage_update_boottime(clock_boottime * USEC_PER_SEC + clock_boottime_usec); in clock_initialize_calendar()
1120 OS_ANALYZER_SUPPRESS("82347749") monotonic_sec = monotonic_usec_total / (clock_sec_t)USEC_PER_SEC; in clock_initialize_calendar()
1121 monotonic_usec = monotonic_usec_total % (clock_usec_t)USEC_PER_SEC; in clock_initialize_calendar()
1125 TIME_SUB(monotonic_sec, sys2, monotonic_usec, microsys2, USEC_PER_SEC); in clock_initialize_calendar()
1287 wake_sec = monotonic_usec_total / (clock_sec_t)USEC_PER_SEC; in clock_wakeup_calendar_legacy()
1288 wake_usec = monotonic_usec_total % (clock_usec_t)USEC_PER_SEC; in clock_wakeup_calendar_legacy()
1336 TIME_SUB(diff_sec, wake_sys_sec, diff_usec, wake_sys_usec, USEC_PER_SEC); in clock_wakeup_calendar_legacy()
1388 TIME_SUB(diff_sec, wall_time_sec, diff_usec, wall_time_usec, USEC_PER_SEC); in clock_wakeup_calendar_legacy()