/titanic_41/usr/src/uts/sun4u/io/ |
H A D | todopl.c | 158 hrestime.tv_sec = obp_time; in _init() 163 if (TIMESPEC_OVERFLOW(&hrestime)) { in _init() 170 hrestime.tv_sec = (time_t)0; in _init() 216 return (hrestime); in todopl_get() 233 if (abs(ts.tv_sec - hrestime.tv_sec) > TODOPL_SET_THRESHOLD) { in todopl_set() 238 prom_opl_set_diff(ts.tv_sec - hrestime.tv_sec); in todopl_set()
|
H A D | todstarcat.c | 97 hrestime.tv_sec = (time_t)ssc_time32; in _init() 118 if (TIMESPEC_OVERFLOW(&hrestime)) { in _init() 125 hrestime.tv_sec = (time_t)0; in _init() 176 return (hrestime); in todsc_get() 200 if (abs(hrestime.tv_sec - ts.tv_sec) > TODSC_SET_THRESHOLD) { in todsc_set()
|
H A D | todsg.c | 118 hrestime.tv_sec = ssc_time; in _init() 127 if (TIMESPEC_OVERFLOW(&hrestime)) { in _init() 139 hrestime.tv_sec = (time_t)0; in _init() 323 skew_adjust = hrestime.tv_sec - (seconds + domain_skew); in todsg_get() 367 return (hrestime); in todsg_get()
|
H A D | todstarfire.c | 80 hrestime.tv_sec = (time_t)ssp_time32; in _init() 129 ts = hrestime; in todsf_get()
|
H A D | todm5819.c | 162 return (hrestime); in todm5819_get()
|
H A D | todm5819p_rmc.c | 180 return (hrestime); in todm5819p_rmc_get()
|
H A D | todblade.c | 187 return (hrestime); in todbl_get()
|
/titanic_41/usr/src/uts/i86pc/ml/ |
H A D | comm_page.s | 35 volatile timestruc_t hrestime; 80 DGDEF2(hrestime, _MUL(2, 8))
|
/titanic_41/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 428 retl ! %o0 current hrestime seconds 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.nsec += nslt 588 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC 590 add %i2, 0x1, %i2 ! hrestime.tv_sec++ [all …]
|
/titanic_41/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 582 retl ! %o0 current hrestime seconds 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.nsec += nslt 742 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC 744 add %i2, 0x1, %i2 ! hrestime.tv_sec++ [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | clock.c | 677 if (hrestime.tv_sec % 86400 == 0) { in clock() 679 hrestime.tv_sec--; in clock() 686 if ((hrestime.tv_sec + 1) % 86400 == 0) { in clock() 688 hrestime.tv_sec++; in clock() 786 drift = tod.tv_sec - hrestime.tv_sec; in clock() 793 hrestime = tod; in clock() 1210 time_reftime = hrestime.tv_sec; in clock_update() 1212 mtemp = hrestime.tv_sec - time_reftime; in clock_update() 1213 time_reftime = hrestime.tv_sec; in clock_update() 1919 hrestime = *ts; in set_hrestime() [all …]
|
H A D | dtrace_subr.c | 110 tmp.dthr_hrestime = hrestime; in dtrace_hres_tick()
|
H A D | panic.c | 289 panic_hrestime = hrestime; in panicsys()
|
/titanic_41/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 121 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\ 122 add scr, %lo(hrestime), hrestnsec; \
|
/titanic_41/usr/src/uts/i86pc/sys/ |
H A D | comm_page.h | 88 extern volatile timestruc_t hrestime;
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 234 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\ 235 add scr, %lo(hrestime), hrestnsec; \
|
/titanic_41/usr/src/uts/i86xpv/os/ |
H A D | xpv_timestamp.c | 78 volatile timestruc_t hrestime; variable
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | hardclk.c | 184 ts.tv_sec = tod_validate(hrestime.tv_sec); in tod_get()
|
/titanic_41/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 36 volatile timestruc_t hrestime; variable
|
/titanic_41/usr/src/uts/intel/ia32/ml/ |
H A D | i86_subr.s | 3642 addq %r8, hrestime+8(%rip) /* add interval to hrestime.tv_nsec */ 3706 addl %edx, hrestime+4 / add interval to hrestime.tv_nsec 3714 / get hrestime at this moment. used as base for pc_gethrestime 3743 / hrestime.tv_nsec += adj; 3745 / while (hrestime.tv_nsec >= NANOSEC) { 3747 / hrestime.tv_sec++; 3748 / hrestime.tv_nsec -= NANOSEC; 3840 addl hrestime+4, %ecx 3847 incl hrestime / hrestime.tv_sec++; 3852 movl %eax, hrestime+4 / store final into hrestime.tv_nsec
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 730 now = hrestime; in pc_gethrestime() 786 *tp = hrestime; in gethrestime_lasttick()
|
/titanic_41/usr/src/uts/intel/ia32/os/ |
H A D | archdep.c | 1522 hrestime.tv_nsec += adj; in __adj_hrestime() 1524 while (hrestime.tv_nsec >= NANOSEC) { in __adj_hrestime() 1526 hrestime.tv_sec++; in __adj_hrestime() 1527 hrestime.tv_nsec -= NANOSEC; in __adj_hrestime()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | time.h | 337 extern volatile timestruc_t hrestime;
|
/titanic_41/usr/src/uts/i86pc/io/ |
H A D | todpc_subr.c | 182 return (hrestime); in todpc_get()
|
/titanic_41/usr/src/uts/sun4u/snowbird/io/todds1307/ |
H A D | todds1307.c | 384 return (hrestime); in todds1307_get()
|