Lines Matching refs:r12
123 stw r12,GPR12(r11); \
127 mfspr r12,SPRN_SPRG_SCRATCH1; \
128 stw r12,GPR11(r11); \
132 mfspr r12,SPRN_SRR0; \
165 stw r12,GPR12(r11); \
169 mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\
170 stw r12,_DEAR(r11); /* since they may have had stuff */\
173 mfspr r12,SPRN_SRR2; \
268 stw r12, 0(r0)
271 mfspr r12, SPRN_PID
273 stw r12, 12(r0)
275 mtspr SPRN_SPRG_SCRATCH3, r12
278 mfspr r12, SPRN_PID
280 mtspr SPRN_SPRG_SCRATCH5, r12
314 rlwinm. r12, r11, 0, 0, 19 /* Extract L2 (pte) base address */
317 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
318 lwz r11, 0(r12) /* Get Linux PTE */
326 stw r11, 0(r12) /* Update Linux page table */
336 li r12, 0x0ce2
337 andc r11, r11, r12 /* Make sure 20, 21 are zero */
348 lwz r12, 12(r0)
350 mtspr SPRN_PID, r12
353 lwz r12, 0(r0)
355 mfspr r12, SPRN_SPRG_SCRATCH5
357 mtspr SPRN_PID, r12
360 mfspr r12, SPRN_SPRG_SCRATCH3
373 lwz r12, 12(r0)
375 mtspr SPRN_PID, r12
378 lwz r12, 0(r0)
380 mfspr r12, SPRN_SPRG_SCRATCH5
382 mtspr SPRN_PID, r12
385 mfspr r12, SPRN_SPRG_SCRATCH3
397 mr r4,r12 /* Pass SRR0 as arg2 */
457 stw r12, 0(r0)
460 mfspr r12, SPRN_PID
462 stw r12, 12(r0)
464 mtspr SPRN_SPRG_SCRATCH3, r12
467 mfspr r12, SPRN_PID
469 mtspr SPRN_SPRG_SCRATCH5, r12
493 lwz r12, 0(r11) /* Get L1 entry */
494 andi. r9, r12, _PMD_PRESENT /* Check if it points to a PTE page */
497 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
498 lwz r11, 0(r12) /* Get Linux PTE */
503 stw r11, 0(r12)
508 li r12, 0x00c0
509 rlwimi r10, r12, 0, 20, 31
514 rlwinm. r9, r12, 2, 22, 24
522 mr r11, r12
531 lwz r12, 12(r0)
533 mtspr SPRN_PID, r12
536 lwz r12, 0(r0)
538 mfspr r12, SPRN_SPRG_SCRATCH5
540 mtspr SPRN_PID, r12
543 mfspr r12, SPRN_SPRG_SCRATCH3
557 stw r12, 0(r0)
560 mfspr r12, SPRN_PID
562 stw r12, 12(r0)
564 mtspr SPRN_SPRG_SCRATCH3, r12
567 mfspr r12, SPRN_PID
569 mtspr SPRN_SPRG_SCRATCH5, r12
593 lwz r12, 0(r11) /* Get L1 entry */
594 andi. r9, r12, _PMD_PRESENT /* Check if it points to a PTE page */
597 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
598 lwz r11, 0(r12) /* Get Linux PTE */
603 stw r11, 0(r12)
608 li r12, 0x00c0
609 rlwimi r10, r12, 0, 20, 31
614 rlwinm. r9, r12, 2, 22, 24
622 mr r11, r12
631 lwz r12, 12(r0)
633 mtspr SPRN_PID, r12
636 lwz r12, 0(r0)
638 mfspr r12, SPRN_SPRG_SCRATCH5
640 mtspr SPRN_PID, r12
643 mfspr r12, SPRN_SPRG_SCRATCH3
714 mtspr SPRN_SRR2,r12
717 lwz r12,GPR12(r11)
798 li r12, 0x0ce2
799 andc r11, r11, r12
807 lwz r12, 12(r0)
809 mtspr SPRN_PID, r12
812 lwz r12, 0(r0)
814 mfspr r12, SPRN_SPRG_SCRATCH5
816 mtspr SPRN_PID, r12
819 mfspr r12, SPRN_SPRG_SCRATCH3