Home
last modified time | relevance | path

Searched refs:hrestime (Results 1 – 25 of 30) sorted by relevance

12

/titanic_41/usr/src/uts/sun4u/io/
H A Dtodopl.c158 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 Dtodstarcat.c97 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 Dtodsg.c118 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 Dtodstarfire.c80 hrestime.tv_sec = (time_t)ssp_time32; in _init()
129 ts = hrestime; in todsf_get()
H A Dtodm5819.c162 return (hrestime); in todm5819_get()
H A Dtodm5819p_rmc.c180 return (hrestime); in todm5819p_rmc_get()
H A Dtodblade.c187 return (hrestime); in todbl_get()
/titanic_41/usr/src/uts/i86pc/ml/
H A Dcomm_page.s35 volatile timestruc_t hrestime;
80 DGDEF2(hrestime, _MUL(2, 8))
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s428 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 Dcommon_asm.s582 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 Dclock.c677 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 Ddtrace_subr.c110 tmp.dthr_hrestime = hrestime; in dtrace_hres_tick()
H A Dpanic.c289 panic_hrestime = hrestime; in panicsys()
/titanic_41/usr/src/uts/sun4u/sys/
H A Dmachclock.h121 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
122 add scr, %lo(hrestime), hrestnsec; \
/titanic_41/usr/src/uts/i86pc/sys/
H A Dcomm_page.h88 extern volatile timestruc_t hrestime;
/titanic_41/usr/src/uts/sun4v/sys/
H A Dmachclock.h234 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
235 add scr, %lo(hrestime), hrestnsec; \
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c78 volatile timestruc_t hrestime; variable
/titanic_41/usr/src/uts/sun4v/io/
H A Dhardclk.c184 ts.tv_sec = tod_validate(hrestime.tv_sec); in tod_get()
/titanic_41/usr/src/uts/sun4/cpu/
H A Dcpu_module.c36 volatile timestruc_t hrestime; variable
/titanic_41/usr/src/uts/intel/ia32/ml/
H A Di86_subr.s3642 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 Dmachdep.c730 now = hrestime; in pc_gethrestime()
786 *tp = hrestime; in gethrestime_lasttick()
/titanic_41/usr/src/uts/intel/ia32/os/
H A Darchdep.c1522 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 Dtime.h337 extern volatile timestruc_t hrestime;
/titanic_41/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c182 return (hrestime); in todpc_get()
/titanic_41/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c384 return (hrestime); in todds1307_get()

12