Lines Matching refs:r12
121 stw r12,GPR12(r11); \
125 mfspr r12,SPRN_SPRG_SCRATCH1; \
126 stw r12,GPR11(r11); \
130 mfspr r12,SPRN_SRR0; \
163 stw r12,GPR12(r11); \
167 mfspr r12,SPRN_DEAR; /* save DEAR and ESR in the frame */\
168 stw r12,_DEAR(r11); /* since they may have had stuff */\
171 mfspr r12,SPRN_SRR2; \
266 stw r12, 0(r0)
269 mfspr r12, SPRN_PID
271 stw r12, 12(r0)
273 mtspr SPRN_SPRG_SCRATCH3, r12
276 mfspr r12, SPRN_PID
278 mtspr SPRN_SPRG_SCRATCH5, r12
312 rlwinm. r12, r11, 0, 0, 19 /* Extract L2 (pte) base address */
315 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
316 lwz r11, 0(r12) /* Get Linux PTE */
324 stw r11, 0(r12) /* Update Linux page table */
334 li r12, 0x0ce2
335 andc r11, r11, r12 /* Make sure 20, 21 are zero */
346 lwz r12, 12(r0)
348 mtspr SPRN_PID, r12
351 lwz r12, 0(r0)
353 mfspr r12, SPRN_SPRG_SCRATCH5
355 mtspr SPRN_PID, r12
358 mfspr r12, SPRN_SPRG_SCRATCH3
371 lwz r12, 12(r0)
373 mtspr SPRN_PID, r12
376 lwz r12, 0(r0)
378 mfspr r12, SPRN_SPRG_SCRATCH5
380 mtspr SPRN_PID, r12
383 mfspr r12, SPRN_SPRG_SCRATCH3
395 mr r4,r12 /* Pass SRR0 as arg2 */
455 stw r12, 0(r0)
458 mfspr r12, SPRN_PID
460 stw r12, 12(r0)
462 mtspr SPRN_SPRG_SCRATCH3, r12
465 mfspr r12, SPRN_PID
467 mtspr SPRN_SPRG_SCRATCH5, r12
491 lwz r12, 0(r11) /* Get L1 entry */
492 andi. r9, r12, _PMD_PRESENT /* Check if it points to a PTE page */
495 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
496 lwz r11, 0(r12) /* Get Linux PTE */
501 stw r11, 0(r12)
506 li r12, 0x00c0
507 rlwimi r10, r12, 0, 20, 31
512 rlwinm. r9, r12, 2, 22, 24
520 mr r11, r12
529 lwz r12, 12(r0)
531 mtspr SPRN_PID, r12
534 lwz r12, 0(r0)
536 mfspr r12, SPRN_SPRG_SCRATCH5
538 mtspr SPRN_PID, r12
541 mfspr r12, SPRN_SPRG_SCRATCH3
555 stw r12, 0(r0)
558 mfspr r12, SPRN_PID
560 stw r12, 12(r0)
562 mtspr SPRN_SPRG_SCRATCH3, r12
565 mfspr r12, SPRN_PID
567 mtspr SPRN_SPRG_SCRATCH5, r12
591 lwz r12, 0(r11) /* Get L1 entry */
592 andi. r9, r12, _PMD_PRESENT /* Check if it points to a PTE page */
595 rlwimi r12, r10, 22, 20, 29 /* Compute PTE address */
596 lwz r11, 0(r12) /* Get Linux PTE */
601 stw r11, 0(r12)
606 li r12, 0x00c0
607 rlwimi r10, r12, 0, 20, 31
612 rlwinm. r9, r12, 2, 22, 24
620 mr r11, r12
629 lwz r12, 12(r0)
631 mtspr SPRN_PID, r12
634 lwz r12, 0(r0)
636 mfspr r12, SPRN_SPRG_SCRATCH5
638 mtspr SPRN_PID, r12
641 mfspr r12, SPRN_SPRG_SCRATCH3
712 mtspr SPRN_SRR2,r12
715 lwz r12,GPR12(r11)
796 li r12, 0x0ce2
797 andc r11, r11, r12
805 lwz r12, 12(r0)
807 mtspr SPRN_PID, r12
810 lwz r12, 0(r0)
812 mfspr r12, SPRN_SPRG_SCRATCH5
814 mtspr SPRN_PID, r12
817 mfspr r12, SPRN_SPRG_SCRATCH3