Searched refs:stick (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodopl.c93 * time+diff, stick
120 int64_t stick; local
130 TODOPL_DEBUG((CE_NOTE, "todopl: OBP time 0x%lx stick 0x%lx\n",
135 * adjust OBP time by stick counts
137 stick_timestamp(&stick);
138 obp_time += ((stick - obp_stick) / system_clock_freq);
141 "todopl: cpu stick 0x%lx sys_time 0x%lx\n",
142 stick, obp_time));
247 int64_t stick; local
253 * adjust OBP time by stick count
[all...]
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_err.h122 #define EPKT_STICK "stick"
135 uint64_t stick; member in struct:root_complex
182 uint64_t stick; member in struct:pec_block_err
H A Dpx_err.c282 derr.fme_ena = fm_ena_generate(epkt->stick, FM_ENA_FMT1);
484 is_valid_epkt ? pec->stick : 0,
516 is_valid_epkt ? epkt->stick : 0,
/illumos-gate/usr/src/uts/sun4v/sys/
H A Derror.h128 uint64_t stick; /* Value of the %STICK register */ member in struct:__anon10334
H A Dmachclock.h38 * the %tick and %stick registers as well as reading and writing
39 * the stick compare register. With the exception of trapstat, reads
46 * Since the read of the %tick or %stick is not an atomic operation,
69 * These macros on sun4v read the %stick register, because :
77 * So, always use the constant-frequency %stick on sun4v.
98 #define CLOCK_TICK_COUNTER() gettick() /* returns %stick */
125 * Read the %stick register without taking the native_stick_offset
129 rd %stick, out
140 * For traptrace, which requires either the %tick or %stick
143 * read the %stick counte
[all...]
/illumos-gate/usr/src/common/atomic/i386/
H A Datomic.s132 cmpxchg8b (%edi) / try to stick it in
230 cmpxchg8b (%edi) / try to stick it in
397 cmpxchg8b (%edi) / try to stick it in
415 cmpxchgb %cl, (%edx) / try to stick it in
430 cmpxchgw %cx, (%edx) / try to stick it in
446 cmpxchgl %ecx, (%edx) / try to stick it in
473 cmpxchg8b (%edi) / try to stick it in
491 cmpxchgb %cl, (%edx) / try to stick it in
506 cmpxchgw %cx, (%edx) / try to stick it in
522 cmpxchgl %ecx, (%edx) / try to stick i
[all...]
/illumos-gate/usr/src/common/atomic/amd64/
H A Datomic.s343 cmpxchgb %cl, (%rdi) / try to stick it in
357 cmpxchgw %cx, (%rdi) / try to stick it in
399 cmpxchgb %cl, (%rdi) / try to stick it in
413 cmpxchgw %cx, (%rdi) / try to stick it in
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dopl_olympus_regs.h281 uint64_t stick; member in struct:opl_errlog
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dmach_subr_asm.s60 * Most of the time, gettick() [which in turn maps to %stick on platforms
207 ! Use nsec_scale for sun4v which is based on %stick
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_regs.c67 clock_t stick = ddi_get_lbolt(); \
76 if (ntick - stick >= drv_usectohz(IMMU_MAX_WAIT_TIME)) { \
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dsimulator.c1142 * Simulate a "rd %tick" or "rd %stick" (%asr24) instruction.
1158 * a %stick read (rs1 == 0x18) instruction.
1170 uint64_t stick; local
1172 stick = gethrtime_unscaled();
1173 if (putreg(&stick, rp, rd, &badaddr) == 0)
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.s1814 * Get timestamp (stick).
1825 rd STICK, %g1 ! read stick reg
1851 ba 1f ! cache align stick adj
1857 rd STICK, %g4 ! read stick reg
1858 add %g4, %o0, %o1 ! adjust stick with skew
1859 wr %o1, %g0, STICK ! write stick reg
1869 * Debugger-specific stick retrieval
2077 * Clear the NPT (non-privileged trap) bit in the %tick/%stick
2079 * tick/stick counter as consistent as possible, we disable
2099 rd STICK, %g2 /* get stick registe
[all...]
H A Dus3_common_asm.s2428 * Clear the NPT (non-privileged trap) bit in the %tick/%stick
2430 * tick/stick counter as consistent as possible, we disable
2450 rd STICK, %g2 /* get stick register */
2457 rd STICK, %g2 /* get stick register */
2458 wr %g3, %g2, STICK /* write stick register, */
2554 * Get timestamp (stick).
2565 rd STICK, %g1 ! read stick reg
2591 ba 1f ! cache align stick adj
2597 rd STICK, %g4 ! read stick reg
2598 add %g4, %o0, %o1 ! adjust stick wit
[all...]

Completed in 99 milliseconds