Lines Matching full:r2
72 mrc p15, 0, r2, c15, c1, 0
74 tst r2, #0x3
77 orr r2, r2, #0x3
78 mcr p15, 0, r2, c15, c1, 0
81 ldr r2, [r0, #S_PC] @ current task pc value
83 sub r2, r2, #4 @ adjust pc back
84 str r2, [r0, #S_PC]
88 mrc p15, 0, r2, c2, c0, 0
89 mov r2, r2 @ cpwait
103 tmrc r2, wCon
106 tst r2, #0x1
119 tst r2, #0x2
172 mov r2, #0
175 tmcr wCon, r2
192 orr r2, ip, #PSR_I_BIT @ disable interrupts
193 msr cpsr_c, r2
196 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
201 teqne r1, r2 @ or specified one?
211 mrc p15, 0, r2, c2, c0, 0
212 mov r2, r2 @ cpwait
219 mrc p15, 0, r2, c2, c0, 0
220 mov r2, r2 @ cpwait
239 orr r2, ip, #PSR_I_BIT @ disable interrupts
240 msr cpsr_c, r2
243 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
245 teq r2, r3 @ does this task own it...
251 mov r1, r2
252 mov r2, #MMX_SIZE
257 mov r2, #3 @ save all regs
277 orr r2, ip, #PSR_I_BIT @ disable interrupts
278 msr cpsr_c, r2
281 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
283 bic r2, r2, #0x7 @ 64-bit alignment
284 teq r2, r3 @ does this task own it...
289 mov r0, r2
290 mov r2, #MMX_SIZE
317 ldr r2, =concan_owner
319 ldr r2, [r2] @ get current Concan owner
320 teq r2, r3 @ next task owns it?
339 mrs r2, cpsr
340 orr ip, r2, #PSR_I_BIT @ disable interrupts
347 msr cpsr_c, r2 @ restore interrupts