/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | todstarcat.c | 97 hrestime.tv_sec = (time_t)ssc_time32; 118 if (TIMESPEC_OVERFLOW(&hrestime)) { 125 hrestime.tv_sec = (time_t)0; 164 * Starcat tod_get is simplified to return hrestime and to 176 return (hrestime); 200 if (abs(hrestime.tv_sec - ts.tv_sec) > TODSC_SET_THRESHOLD) {
|
H A D | todopl.c | 103 * diff_delta = new time - current domain time (hrestime) 158 hrestime.tv_sec = obp_time; 163 if (TIMESPEC_OVERFLOW(&hrestime)) { 170 hrestime.tv_sec = (time_t)0; 209 * OPL tod_get is simplified to return hrestime 216 return (hrestime); 233 if (abs(ts.tv_sec - hrestime.tv_sec) > TODOPL_SET_THRESHOLD) { 238 prom_opl_set_diff(ts.tv_sec - hrestime.tv_sec);
|
H A D | todsg.c | 118 hrestime.tv_sec = ssc_time; 127 if (TIMESPEC_OVERFLOW(&hrestime)) { 135 * By setting hrestime.tv_sec to zero 139 hrestime.tv_sec = (time_t)0; 314 * to sync the IOSRAM to hrestime when the SC comes back. We 318 * default action will be to sync hrestime to IOSRAM 323 skew_adjust = hrestime.tv_sec - (seconds + domain_skew); 338 * Hand back hrestime instead. 363 * the SC comes back up again. Note we will return hrestime below 367 return (hrestime); [all...] |
H A D | todstarfire.c | 80 hrestime.tv_sec = (time_t)ssp_time32; 118 * Simply return hrestime value 129 ts = hrestime;
|
H A D | todblade.c | 187 return (hrestime);
|
H A D | todm5819.c | 162 return (hrestime);
|
H A D | todm5819p_rmc.c | 180 return (hrestime);
|
H A D | todds1337.c | 406 return (hrestime);
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 96 * (hrestime, hrestime_adj, hres_last_tick, timedelta, nsec_scale, etc) 104 * GET_HRESTIME() returns the value of hrestime, hrestime_adj and the 121 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\ 122 add scr, %lo(hrestime), hrestnsec; \
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 576 * Similar to gethrestime(), but gethrestime_sec() returns current hrestime 582 retl ! %o0 current hrestime seconds 587 * Returns the hrestime on the last tick. This is simpler than gethrestime() 600 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds. 601 add %o1, %lo(hrestime), %o4 674 sethi %hi(hrestime), %l4 734 or %l4, %lo(hrestime), %l2 735 ldn [%l2], %i2 ! %i2:%i3 = hrestime sec:nsec 737 add %i3, %l5, %i3 ! hrestime.nsec += adj 738 add %i3, %i1, %i3 ! hrestime 922 hrestime: label [all...] |
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 422 * Similar to gethrestime(), but gethrestime_sec() returns current hrestime 428 retl ! %o0 current hrestime seconds 433 * Returns the hrestime on the last tick. This is simpler than gethrestime() 446 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds. 447 add %o1, %lo(hrestime), %o4 520 sethi %hi(hrestime), %l4 580 or %l4, %lo(hrestime), %l2 581 ldn [%l2], %i2 ! %i2:%i3 = hrestime sec:nsec 583 add %i3, %l5, %i3 ! hrestime.nsec += adj 584 add %i3, %i1, %i3 ! hrestime 768 hrestime: label [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | hardclk.c | 141 * return hrestime if we can't successfully get a value. 184 ts.tv_sec = tod_validate(hrestime.tv_sec);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 209 * (hrestime, hrestime_adj, hres_last_tick, timedelta, nsec_scale, etc) 217 * GET_HRESTIME() returns the value of hrestime, hrestime_adj and the 234 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\ 235 add scr, %lo(hrestime), hrestnsec; \
|
/illumos-gate/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 36 volatile timestruc_t hrestime; variable
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock.c | 677 if (hrestime.tv_sec % 86400 == 0) { 679 hrestime.tv_sec--; 686 if ((hrestime.tv_sec + 1) % 86400 == 0) { 688 hrestime.tv_sec++; 780 * hrestime without any interference from the tod chip. 786 drift = tod.tv_sec - hrestime.tv_sec; 793 hrestime = tod; 794 membar_enter(); /* hrestime visible */ 1210 time_reftime = hrestime.tv_sec; 1212 mtemp = hrestime [all...] |
H A D | panic.c | 168 timespec_t panic_hrestime; /* hrestime at time of panic */ 289 panic_hrestime = hrestime;
|
H A D | dtrace_subr.c | 72 timestruc_t dthr_hrestime; /* hrestime value */ 82 * the variables related to adjusted high-resolution time (hrestime, 111 tmp.dthr_hrestime = hrestime;
|
H A D | timers.c | 724 if (TVTSCMP(valp, &hrestime, >))
|
/illumos-gate/usr/src/uts/intel/ia32/ml/ |
H A D | i86_subr.s | 3594 volatile timestruc_t hrestime; 3601 DGDEF3(hrestime, _MUL(2, CLONGSIZE), 8) 3655 * and adjust hrtime_base and hrestime accordingly 3656 * hrtime_base is an 8 byte value (in nsec), hrestime is 3663 addq %r8, hrestime+8(%rip) /* add interval to hrestime.tv_nsec */ 3711 * and adjust hrtime_base and hrestime accordingly 3712 * hrtime_base is an 8 byte value (in nsec), hrestime is 3727 addl %edx, hrestime+4 / add interval to hrestime [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | todpc_subr.c | 182 return (hrestime);
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | archdep.c | 1522 hrestime.tv_nsec += adj; 1524 while (hrestime.tv_nsec >= NANOSEC) { 1526 hrestime.tv_sec++; 1527 hrestime.tv_nsec -= NANOSEC;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | time.h | 344 extern volatile timestruc_t hrestime;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 730 now = hrestime; 786 *tp = hrestime;
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_pcu.c | 740 hdr->dump_time = hrestime.tv_sec;
|
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/ |
H A D | todds1307.c | 384 return (hrestime);
|