Lines Matching refs:crunch
3 * arch/arm/kernel/crunch-bits.S
57 * Lazy switching of crunch coprocessor context
71 tst r1, #0x00800000 @ access to crunch enabled?
75 orr r1, r1, #0x00800000 @ enable access to crunch
79 add r0, r10, #TI_CRUNCH_STATE @ get task crunch save area
81 ldr r1, [r3] @ get current crunch owner
82 str r0, [r3] @ this task now owns crunch
201 * Back up crunch regs to save area and disable access to them
216 add r2, r0, #TI_CRUNCH_STATE @ get task crunch save area
217 ldr r1, [r3] @ get current crunch owner
224 ldr r5, [r4, #0x80] @ enable access to crunch
236 mov r2, #0xaa @ disable access to crunch
247 * Copy crunch state to given memory address
250 * r1 = memory address where to store crunch state
260 add r2, r0, #TI_CRUNCH_STATE @ get task crunch save area
261 ldr r3, [r3] @ get current crunch owner
265 @ current crunch values are in the task save area
272 1: @ this task owns crunch regs -- grab a copy from there
280 * Restore crunch state from given memory address
283 * r1 = memory address where to get crunch state from
285 * this is used to restore crunch state when unwinding a signal stack frame
293 add r2, r0, #TI_CRUNCH_STATE @ get task crunch save area
294 ldr r3, [r3] @ get current crunch owner
298 @ this task doesn't own crunch regs -- use its save area
304 1: @ this task owns crunch regs -- load them directly