Lines Matching refs:r12
121 stw r12,GPR12(r11); \
125 mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\
126 stw r12,_DEAR(r11); /* since they may have had stuff */\
129 mfspr r12,SPRN_SRR2; \
186 stw r12, 0(r0)
189 mfspr r12, SPRN_PID
191 stw r12, 12(r0)
193 mtspr SPRN_SPRG_SCRATCH3, r12
196 mfspr r12, SPRN_PID
198 mtspr SPRN_SPRG_SCRATCH5, r12
232 rlwinm. r12, r11, 0, 0, 19 /* Extract L2 (pte) base address */
235 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
236 lwz r11, 0(r12) /* Get Linux PTE */
244 stw r11, 0(r12) /* Update Linux page table */
254 li r12, 0x0ce2
255 andc r11, r11, r12 /* Make sure 20, 21 are zero */
266 lwz r12, 12(r0)
268 mtspr SPRN_PID, r12
271 lwz r12, 0(r0)
273 mfspr r12, SPRN_SPRG_SCRATCH5
275 mtspr SPRN_PID, r12
278 mfspr r12, SPRN_SPRG_SCRATCH3
291 lwz r12, 12(r0)
293 mtspr SPRN_PID, r12
296 lwz r12, 0(r0)
298 mfspr r12, SPRN_SPRG_SCRATCH5
300 mtspr SPRN_PID, r12
303 mfspr r12, SPRN_SPRG_SCRATCH3
315 mr r4,r12 /* Pass SRR0 as arg2 */
374 stw r12, 0(r0)
377 mfspr r12, SPRN_PID
379 stw r12, 12(r0)
381 mtspr SPRN_SPRG_SCRATCH3, r12
384 mfspr r12, SPRN_PID
386 mtspr SPRN_SPRG_SCRATCH5, r12
410 lwz r12, 0(r11) /* Get L1 entry */
411 andi. r9, r12, _PMD_PRESENT /* Check if it points to a PTE page */
414 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
415 lwz r11, 0(r12) /* Get Linux PTE */
420 stw r11, 0(r12)
425 li r12, 0x00c0
426 rlwimi r10, r12, 0, 20, 31
431 rlwinm. r9, r12, 2, 22, 24
439 mr r11, r12
448 lwz r12, 12(r0)
450 mtspr SPRN_PID, r12
453 lwz r12, 0(r0)
455 mfspr r12, SPRN_SPRG_SCRATCH5
457 mtspr SPRN_PID, r12
460 mfspr r12, SPRN_SPRG_SCRATCH3
474 stw r12, 0(r0)
477 mfspr r12, SPRN_PID
479 stw r12, 12(r0)
481 mtspr SPRN_SPRG_SCRATCH3, r12
484 mfspr r12, SPRN_PID
486 mtspr SPRN_SPRG_SCRATCH5, r12
510 lwz r12, 0(r11) /* Get L1 entry */
511 andi. r9, r12, _PMD_PRESENT /* Check if it points to a PTE page */
514 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
515 lwz r11, 0(r12) /* Get Linux PTE */
520 stw r11, 0(r12)
525 li r12, 0x00c0
526 rlwimi r10, r12, 0, 20, 31
531 rlwinm. r9, r12, 2, 22, 24
539 mr r11, r12
548 lwz r12, 12(r0)
550 mtspr SPRN_PID, r12
553 lwz r12, 0(r0)
555 mfspr r12, SPRN_SPRG_SCRATCH5
557 mtspr SPRN_PID, r12
560 mfspr r12, SPRN_SPRG_SCRATCH3
631 mtspr SPRN_SRR2,r12
634 lwz r12,GPR12(r11)
714 li r12, 0x0ce2
715 andc r11, r11, r12
723 lwz r12, 12(r0)
725 mtspr SPRN_PID, r12
728 lwz r12, 0(r0)
730 mfspr r12, SPRN_SPRG_SCRATCH5
732 mtspr SPRN_PID, r12
735 mfspr r12, SPRN_SPRG_SCRATCH3