Lines Matching defs:scr
56 * CPU_INDEX(r, scr)
68 #define CPU_INDEX(r, scr) \
69 rdpr %pstate, scr; \
70 andn scr, PSTATE_IE | PSTATE_AM, r; \
76 wrpr scr, 0, %pstate
82 #define CPU_INDEX(r, scr) \
102 * CPU_INDEX(r, scr)
108 * XXX - scr reg is not used here.
110 #define CPU_INDEX(r, scr) \
122 #define CPU_INDEXTOSET(base, index, scr) \
123 srl index, BT_ULSHIFT, scr; \
125 sll scr, CLONGSHIFT, scr; \
126 add base, scr, base
128 #define CPU_INDEXTOSET(base, index, scr)
137 #define CPU_ADDR(reg, scr) \
139 CPU_INDEX(scr, reg); \
140 sll scr, CPTRSHIFT, scr; \
142 ldn [reg + scr], reg
151 #define CPU_PADDR(reg, scr) \
153 CPU_INDEX(scr, reg); \
154 sll scr, CINT64SHIFT, scr; \
156 ldx [reg + scr], reg