• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/include/asm/

Lines Matching refs:DEST

143 #define TRAP_LOAD_TRAP_BLOCK(DEST, TMP)		\
145 sethi %hi(trap_block), DEST; \
147 or DEST, %lo(trap_block), DEST; \
148 add DEST, TMP, DEST; \
150 /* Clobbers TMP, current address space PGD phys address into DEST. */
151 #define TRAP_LOAD_PGD_PHYS(DEST, TMP) \
152 TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
153 ldx [DEST + TRAP_PER_CPU_PGD_PADDR], DEST;
155 /* Clobbers TMP, loads local processor's IRQ work area into DEST. */
156 #define TRAP_LOAD_IRQ_WORK_PA(DEST, TMP) \
157 TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
158 add DEST, TRAP_PER_CPU_IRQ_WORKLIST_PA, DEST;
160 /* Clobbers TMP, loads DEST with current thread info pointer. */
161 #define TRAP_LOAD_THREAD_REG(DEST, TMP) \
162 TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
163 ldx [DEST + TRAP_PER_CPU_THREAD], DEST;
166 * area base of the current processor into DEST. REG1, REG2, and REG3 are
169 * You absolutely cannot use DEST as a temporary in this code. The
171 * trap will load the fully resolved DEST per-cpu base. This can corrupt
174 #define LOAD_PER_CPU_BASE(DEST, THR, REG1, REG2, REG3) \
180 ldx [REG2 + TRAP_PER_CPU_PER_CPU_BASE], DEST;
184 #define TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
185 sethi %hi(trap_block), DEST; \
186 or DEST, %lo(trap_block), DEST; \
189 #define TRAP_LOAD_PGD_PHYS(DEST, TMP) \
190 TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
191 ldx [DEST + TRAP_PER_CPU_PGD_PADDR], DEST;
193 /* Clobbers TMP, loads local processor's IRQ work area into DEST. */
194 #define TRAP_LOAD_IRQ_WORK_PA(DEST, TMP) \
195 TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
196 add DEST, TRAP_PER_CPU_IRQ_WORKLIST_PA, DEST;
198 #define TRAP_LOAD_THREAD_REG(DEST, TMP) \
199 TRAP_LOAD_TRAP_BLOCK(DEST, TMP) \
200 ldx [DEST + TRAP_PER_CPU_THREAD], DEST;
202 /* No per-cpu areas on uniprocessor, so no need to load DEST. */
203 #define LOAD_PER_CPU_BASE(DEST, THR, REG1, REG2, REG3)