Home
last modified time | relevance | path

Searched refs:r10 (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dhead_8xx.S204 mtspr SPRN_SPRG_SCRATCH0, r10
210 mfspr r10, SPRN_SRR0 /* Get effective address of fault */
211 INVALIDATE_ADJACENT_PAGES_CPU15(r10)
212 mtspr SPRN_MD_EPN, r10
215 compare_to_kernel_boundary r10, r10
217 mfspr r10, SPRN_M_TWB /* Get level 1 table */
220 rlwinm r10, r10, 0, 20, 31
221 oris r10, r10, (swapper_pg_dir - PAGE_OFFSET)@ha
225 lwz r11, (swapper_pg_dir-PAGE_OFFSET)@l(r10) /* Get level 1 entry */
227 mfspr r10, SPRN_MD_TWC
[all …]
Dhead_booke.h48 mtspr SPRN_SPRG_WSCRATCH0, r10; /* save one register */ \
49 mfspr r10, SPRN_SPRG_THREAD; \
50 stw r11, THREAD_NORMSAVE(0)(r10); \
51 stw r13, THREAD_NORMSAVE(2)(r10); \
60 lwz r11, TASK_STACK - THREAD(r10); \
68 lwz r12, THREAD_NORMSAVE(0)(r10); \
70 lwz r13, THREAD_NORMSAVE(2)(r10); /* restore r13 */ \
71 mflr r10; \
72 stw r10,_LINK(r11); \
80 lis r10, STACK_FRAME_REGS_MARKER@ha;/* exception frame marker */ \
[all …]
Dexceptions-64s.S254 lbz r10,HSTATE_IN_GUEST(r13)
255 cmpwi r10,0
264 cmpwi r10,KVM_GUEST_MODE_SKIP
268 ld r10,IAREA+EX_CFAR(r13)
269 std r10,HSTATE_CFAR(r13)
273 ld r10,IAREA+EX_CTR(r13)
274 mtctr r10
276 ld r10,IAREA+EX_PPR(r13)
277 std r10,HSTATE_PPR(r13)
284 ld r10,IAREA+EX_R10(r13)
[all …]
Dhead_32.h20 mtspr SPRN_SPRG_SCRATCH0,r10
23 mfspr r10, SPRN_SPRG_THREAD
26 stw r11, DAR(r10)
28 stw r11, DSISR(r10)
31 stw r11, SRR0(r10)
35 stw r11, SRR1(r10)
37 mfcr r10
66 mtcr r10
67 li r10, MSR_KERNEL & ~(MSR_IR | MSR_RI) /* can take DTLB miss */
68 mtmsr r10
[all …]
Dexceptions-64e.S83 mfspr r10,SPRN_SPRG_TLB_EXFRAME
84 add r10,r10,r12
85 mtspr SPRN_SPRG_TLB_EXFRAME,r10
91 mfspr r10,SPRN_SRR0
92 SPECIAL_EXC_STORE(r10,SRR0)
93 mfspr r10,SPRN_SRR1
94 SPECIAL_EXC_STORE(r10,SRR1)
95 mfspr r10,SPRN_SPRG_GEN_SCRATCH
96 SPECIAL_EXC_STORE(r10,SPRG_GEN)
97 mfspr r10,SPRN_SPRG_TLB_SCRATCH
[all …]
Dentry_32.S235 mtspr SPRN_SRR1,r10
318 LOAD_REG_IMMEDIATE(r10,MSR_KERNEL)
323 mtspr SPRN_SRR1,r10
339 LOAD_REG_IMMEDIATE(r10, MSR_KERNEL | MSR_EE)
340 mtmsr r10
383 lis r10,sys_call_table@h
384 ori r10,r10,sys_call_table@l
396 lwzx r10,r10,r0 /* Fetch system call handler [ptr] */
397 mtlr r10
412 LOAD_REG_IMMEDIATE(r10,MSR_KERNEL) /* doesn't include MSR_EE */
[all …]
Dhead_fsl_booke.S312 rlwinm r12, r10, 13, 19, 29; /* Compute pgdir/pmd offset */ \
318 andi. r10, r11, HUGEPD_SHIFT_MASK@l; /* extract size field */ \
319 xor r12, r10, r11; /* drop size bits from pointer */ \
321 1000: rlwimi r12, r10, 23, 20, 28; /* Compute pte address */ \
322 li r10, 0; /* clear r10 */ \
326 rlwinm r12, r10, 13, 19, 29; /* Compute pgdir/pmd offset */ \
330 rlwimi r12, r10, 23, 20, 28; /* Compute pte address */ \
335 rlwimi r11, r10, 12, 20, 29; /* Create L1 (pgdir/pmd) address */ \
339 rlwimi r12, r10, 22, 20, 29; /* Compute PTE address */ \
379 andis. r10,r5,(ESR_ILK|ESR_DLK)@h
[all …]
Dhead_book3s_32.S294 mtspr SPRN_SPRG_SCRATCH0,r10
295 mfspr r10, SPRN_SPRG_THREAD
297 stw r11, THR11(r10)
298 mfspr r10, SPRN_DSISR
301 andis. r10, r10, (DSISR_BAD_FAULT_32S | DSISR_DABRMATCH | DSISR_PROTFAULT)@h
303 andis. r10, r10, (DSISR_BAD_FAULT_32S | DSISR_DABRMATCH)@h
305 mfspr r10, SPRN_SPRG_THREAD
309 lwz r11, THR11(r10)
313 stw r11, DAR(r10)
315 stw r11, DSISR(r10)
[all …]
Dhead_40x.S105 stw r10,crit_r10@l(0); /* save two registers to work with */\
107 mfcr r10; /* save CR in r10 for now */\
119 stw r10,_CCR(r11); /* save various registers */\
122 mflr r10; \
123 stw r10,_LINK(r11); \
135 lis r10, STACK_FRAME_REGS_MARKER@ha; /* exception frame marker */\
136 addi r10, r10, STACK_FRAME_REGS_MARKER@l; \
137 stw r10, 8(r11); \
253 mtspr SPRN_SPRG_SCRATCH0, r10 /* Save some working registers */
260 mfspr r10, SPRN_DEAR /* Get faulting address */
[all …]
Dcpu_setup_fsl_booke.S97 mfspr r10,SPRN_MMUCFG
98 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
176 mfspr r10,SPRN_MMUCFG
177 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
199 mfspr r10,SPRN_MMUCFG
200 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
219 mfspr r10,SPRN_MMUCFG
220 rlwinm. r10,r10,0,MMUCFG_LPIDSIZE
225 ld r10,CPU_SPEC_FEATURES(r4)
227 andc r10,r10,r9
[all …]
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dtlb_low_64e.S47 std r10,EX_TLB_R10(r12)
50 mfcr r10
63 std r10,EX_TLB_CR(r12)
67 andi. r10,r11,MSR_PR
69 BTB_FLUSH(r10)
81 ld r10,EX_TLB_R10(r12)
120 rldicl. r10,r16,64-PGTABLE_EADDR_SIZE,PGTABLE_EADDR_SIZE+4
123 rlwinm r10,r11,32-19,27,27
124 rlwimi r10,r11,32-16,19,19
126 ori r10,r10,_PAGE_PRESENT
[all …]
Dtlb_low.S74 mfmsr r10
104 10: wrtee r10
113 wrtee r10
147 lis r10,tlb_47x_boltmap@h
148 ori r10,r10,tlb_47x_boltmap@l
177 lwz r8,0(r10) /* Load boltmap entry */
178 addi r10,r10,4 /* Next word */
197 mfmsr r10
210 wrtee r10
235 wrtee r10
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Dsha1-armv4-large.S82 ldrb r10,[r1,#2]
87 orr r9,r9,r10,lsl#8
88 eor r10,r5,r6 @ F_xx_xx
95 eor r10,r5,r6 @ F_xx_xx
101 and r10,r4,r10,ror#2
103 eor r10,r10,r6,ror#2 @ F_00_19(B,C,D)
105 add r7,r7,r10 @ E+=F_00_19(B,C,D)
107 ldrb r10,[r1,#2]
112 orr r9,r9,r10,lsl#8
113 eor r10,r4,r5 @ F_xx_xx
[all …]
Dchacha-scalar-core.S39 X12 .req r10
179 orr r10, r14, r12
187 tst r10, #3
198 __ldrd r10, r11, sp, 40
201 add X2, X2, r10
203 _le32_bswap_4x X0, X1, X2, X3, r8, r9, r10
207 eor X2, X2, r10
213 __ldrd r10, r11, sp, 56
217 add X6, r10, X6, ror #brot
219 _le32_bswap_4x X4, X5, X6, X7, r8, r9, r10
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dcrt0.S54 p_base: mflr r10 /* r10 now points to runtime addr of p_base */
57 addis r11,r10,(_GLOBAL_OFFSET_TABLE_-p_base)@ha
63 addis r12,r10,(__dynamic_start-p_base)@ha
109 3: lwz r9,p_start-p_base(r10) /* note: these are relocated now */
110 lwz r8,p_etext-p_base(r10)
120 lwz r9,p_bss_start-p_base(r10)
121 lwz r8,p_end-p_base(r10)
129 lwz r8,p_pstack-p_base(r10)
138 std r5,(p_prom-p_base)(r10)
141 ld r2,(p_toc-p_base)(r10)
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dams-delta-fiq-handler.S101 ldr r10, [r12, #IRQ_SIR_FIQ_REG_OFFSET] @ get requested interrupt number
106 cmp r10, #(INT_GPIO_BANK1 - NR_IRQS_LEGACY) @ is it GPIO interrupt?
110 orr r8, r11, r8, lsl r10 @ mask spurious interrupt
132 ands r10, r13, #KEYBRD_CLK_MASK @ extract keyboard status - set?
138 @ r10 now contains KEYBRD_CLK_MASK, use it
139 bic r11, r11, r10 @ unmask it
145 ldr r10, [r9, #BUF_STATE] @ fetch kbd interface state
146 cmp r10, #0 @ are we expecting start bit?
154 @ r10 already contains 0, reuse it
155 str r10, [r9, #BUF_KEY] @ clear keycode
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dmpc52xx_sleep.S18 li r10, 0 /* flag that irq handler sets */
34 cmpi cr0, r10, 1
38 mfspr r10, SPRN_HID0
39 ori r10, r10, 0x2000
41 mtspr SPRN_HID0, r10
54 mfspr r10, SPRN_HID0
55 ori r10, r10, 0x2000
56 xori r10, r10, 0x2000
58 mtspr SPRN_HID0, r10
98 mfmsr r10
[all …]
Dlite5200_sleep.S24 mfspr r10, SPRN_##reg; \
25 stw r10, ((addr)*4)(r4);
28 lwz r10, ((addr)*4)(r4); \
29 mtspr SPRN_##reg, r10; \
65 lwz r10, 0xf0(r3)
66 stw r10, (0x1d*4)(r4)
206 mfmsr r10
207 ori r10, r10, MSR_DR | MSR_IR
210 mtspr SPRN_SRR1, r10
211 lis r10, mmu_on@h
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dhead.S75 ldi 32,%r10
76 mtctl %r10,%cr11
78 mfctl,w %cr11,%r10
80 comib,<>,n 0,%r10,$cpu_ok
85 copy %arg0, %r10
96 stw %r10,-60(%sp) // arg6 = ptr to text
104 or %r10,%r10,%r10 /* qemu idle sleep */
178 load32 PA(_mcount), %r10
179 std %dp,0x18(%r10)
187 ldw MEM_PDC_HI(%r0),%r10
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-imx/
Dssi-fiq.S57 mov r10, #0x10000
58 sub r10, #1
59 and r10, r10, r8 /* r10: current buffer offset */
61 add r13, r13, r10
75 add r10, #8
77 cmp r10, r11
95 mov r10, #0x10000
96 sub r10, #1
97 and r10, r10, r9 /* r10: current buffer offset */
99 add r13, r13, r10
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/bootp/
Dinit.S37 ldr r10, [r9, #4] @ get first tag
38 teq r10, r5 @ is it ATAG_CORE?
42 movne r10, #0 @ terminator
44 stmiane r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator
51 taglist: ldr r10, [r9, #0] @ tag length
52 teq r10, #0 @ last tag (zero length)?
53 addne r9, r9, r10, lsl #2
57 stmia r9, {r5, r6, r7, r8, r10}
63 move: ldmia r4!, {r7 - r10} @ move 32-bytes at a time
64 stmia r5!, {r7 - r10}
[all …]
/kernel/linux/linux-5.10/arch/csky/kernel/
Dentry.S164 bmaski r10, THREAD_SHIFT
165 andn r9, r10
166 ldw r10, (r9, TINFO_FLAGS)
168 and r10, r9
169 cmpnei r10, 0
224 mov a0, r10
231 bmaski r10, THREAD_SHIFT
232 andn r9, r10
233 ldw r10, (r9, TINFO_FLAGS)
235 and r10, r9
[all …]
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dentry-arcv2.h85 ; _HARD saves r10 clobbered by _SOFT as scratch hence comes first
92 lr r10, [eret] variable
94 ST2 r10, r11, PT_ret
96 lr r10, [ecr]
98 ST2 r10, r11, PT_event
100 ; OUTPUT: r10 has ECR expected by EV_Trap
116 ST2 r10, r11, PT_r10
120 lr r10, [lp_end]
122 ST2 r10, r11, PT_lpe
152 lr r10, [AUX_USER_SP] ; U mode SP
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dproc-v7.S148 mrc p15, 0, r10, c1, c0, 2 @ Co-processor access control
182 mcr p15, 0, r10, c1, c0, 2 @ Co-processor access control
204 mrc p15, 0, r10, c15, c0, 1 @ Read Diagnostic register
205 teq r4, r10 @ Already restored?
207 mrc p15, 0, r10, c15, c0, 0 @ Read Power register
208 teq r5, r10 @ Already restored?
233 stmfd sp!, {r6 - r10}
238 mrc p15, 0, r10, c9, c14, 0 @ save CP15 - PMC
239 stmia r0!, {r6 - r10}
240 ldmfd sp!, {r6 - r10}
[all …]
/kernel/linux/linux-5.10/arch/csky/abiv1/
Dmemcpy.S160 stw r10, (sp, 8)
169 mov r10, r5
173 GET_FRONT_BITS r10 8
176 or r11, r10
179 mov r10, r8
183 GET_FRONT_BITS r10 8
186 or r9, r10
199 ldw r10, (sp, 8)
231 stw r10, (sp, 8)
241 mov r10, r5
[all …]

12345678910>>...15