Home
last modified time | relevance | path

Searched full:lr (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/linux-6.12.1/arch/arm/kernel/
Dentry-ftrace.S12 * lr), we need to get hold of the function's caller's address.
17 * push {lr}
24 * callee: the original lr needs to be restored when leaving mcount, and no
56 1: mcount_get_lr r1 @ lr of instrumented func
57 mcount_adjust_addr r0, lr @ instrumented function
58 badr lr, 2f
67 str lr, [sp, #-8]! @ store LR as PC and make space for CPSR/OLD_R0,
68 @ OLD_R0 will overwrite previous LR
70 ldr lr, [sp, #8] @ get previous LR
72 str r0, [sp, #8] @ write r0 as OLD_R0 over previous LR
[all …]
Dentry-header.S61 * xPSR, ReturnAddress(), LR (R14), R12, R3, R2, R1, and R0 are
80 @ Bit 2 of EXC_RETURN stored in the lr register specifies which stack
82 tst lr, #EXC_RET_STACK_MASK
97 @ load saved r12, lr, return address and xPSR.
130 ldr lr, =exc_ret
131 ldr lr, [lr]
133 @ read original r12, sp, lr, pc and xPSR
168 bx lr
173 @ Store/load the USER SP and LR registers by switching to the SYS
174 @ mode. Useful in Thumb-2 mode where "stm/ldm rd, {sp, lr}^" is not
[all …]
Dentry-armv.S104 ARM( stmib sp, {r1 - lr} )
107 THUMB( str lr, [sp, #S_LR] )
191 mov r3, lr
246 mov r8, lr
325 mov r1, lr @ Save lr_abt
339 mov lr, r1 @ Restore lr_abt, abort is unsafe
386 ARM( stmdb r0, {sp, lr}^ )
515 ARM( stmia ip!, {r4 - sl, fp, sp, lr} ) @ Store most regs on stack
518 THUMB( str lr, [ip], #4 )
556 ldmia r4, {r4 - sl, fp, ip, lr} @ Load all regs saved previously
[all …]
/linux-6.12.1/arch/csky/abiv2/inc/abi/
Dentry.h26 stw lr, (sp, 4)
28 RD_MEH lr
29 WR_MEH lr
31 mfcr lr, epc
33 add lr, tls
34 stw lr, (sp, 8)
36 mfcr lr, epsr
37 stw lr, (sp, 12)
38 btsti lr, 31
40 addi lr, sp, 152
[all …]
/linux-6.12.1/arch/arm/lib/
Dmemset.S37 * We need 2 extra registers for this loop - use r8 and the LR
40 UNWIND( .save {r8, lr} )
41 stmfd sp!, {r8, lr}
43 mov lr, r3
46 stmiage ip!, {r1, r3, r8, lr} @ 64 bytes at a time.
47 stmiage ip!, {r1, r3, r8, lr}
48 stmiage ip!, {r1, r3, r8, lr}
49 stmiage ip!, {r1, r3, r8, lr}
56 stmiane ip!, {r1, r3, r8, lr}
57 stmiane ip!, {r1, r3, r8, lr}
[all …]
Dlib1funcs.S217 reteq lr
227 ret lr
231 ret lr
236 ret lr
251 retls lr
255 ret lr
285 ret lr
289 ret lr
294 ret lr
301 ret lr
[all …]
Dbacktrace-clang.S25 ret lr
34 * We can treat the current frame's lr as the saved pc and the preceding
35 * frame's lr as the current frame's lr, but we can't trace the most recent
42 * default to using the lr. This will be some address in the function, but will
50 * saved lr
58 * corrected pc => stmfd sp!, {..., fp, lr}
81 * To find the function start of dump_stack we can look at the stored LR of
87 * {[LR] } ============| ...
93 * {[LR] } =============| bl dump_stack
99 stmfd sp!, {r4 - r9, fp, lr} @ Save an extra register
[all …]
Ddelay-loop.S40 reteq lr
50 retls lr
52 retls lr
54 retls lr
56 retls lr
58 retls lr
60 retls lr
62 retls lr
66 ret lr
Dmemmove.S37 UNWIND( .save {r0, r4, fpreg, lr} )
38 stmfd sp!, {r0, r4, UNWIND(fpreg,) lr}
71 4: ldmdb r1!, {r3, r4, r5, r6, r8, r9, ip, lr}
73 stmdb r0!, {r3, r4, r5, r6, r8, r9, ip, lr}
89 W(ldr) lr, [r1, #-4]!
100 W(str) lr, [r0, #-4]!
118 ldrb lr, [r1, #-1]!
122 strb lr, [r0, #-1]!
155 mov lr, r3, lspush #\push
158 orr lr, lr, ip, lspull #\pull
[all …]
Dio-writesl.S12 reteq lr
18 stmfd sp!, {r4, lr}
19 1: ldmia r1!, {r3, r4, ip, lr}
24 str lr, [r0, #0]
26 ldmfd sp!, {r4, lr}
33 ret lr
47 ret lr
55 ret lr
63 ret lr
/linux-6.12.1/arch/csky/kernel/
Dperf_callchain.c10 unsigned long lr; member
26 if (__kernel_text_address(frame->lr)) { in unwind_frame_kernel()
29 frame->lr = ftrace_graph_ret_addr(NULL, &graph, frame->lr, in unwind_frame_kernel()
39 perf_callchain_store(entry, fr->lr); in walk_stackframe()
51 unsigned long lr = 0; in user_backtrace() local
62 lr = reg_lr; in user_backtrace()
64 lr = buftail.lr; in user_backtrace()
67 perf_callchain_store(entry, lr); in user_backtrace()
95 * While backtrace from leaf function, lr is normally in perf_callchain_user()
96 * not saved inside frame on C-SKY, so get lr from pt_regs in perf_callchain_user()
[all …]
/linux-6.12.1/drivers/scsi/arm/
Dacornscsi-io.S22 stmfd sp!, {r4 - r7, lr}
24 mov lr, #0xff
25 orr lr, lr, #0xff00
30 and r3, r3, lr
32 and r4, r5, lr
35 and r5, r5, lr
37 and r6, r7, lr
46 and r3, r3, lr
48 and r4, r5, lr
57 and r3, r3, lr
[all …]
/linux-6.12.1/arch/arm/mm/
Dcopypage-feroceon.c19 1: ldmia %1!, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
27 stmia %0, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
28 ldmia %1!, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
31 stmia %0, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
32 ldmia %1!, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
35 stmia %0, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
36 ldmia %1!, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
39 stmia %0, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
40 ldmia %1!, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
43 stmia %0, {r2 - r7, ip, lr} \n\ in feroceon_copy_user_page()
[all …]
Dcopypage-v4wt.c26 ldmia %1!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
27 1: stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
28 ldmia %1!, {r3, r4, ip, lr} @ 4+1\n\ in v4wt_copy_user_page()
29 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
30 ldmia %1!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
31 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
32 ldmia %1!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
34 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
35 ldmiane %1!, {r3, r4, ip, lr} @ 4\n\ in v4wt_copy_user_page()
40 : "r3", "r4", "ip", "lr"); in v4wt_copy_user_page()
[all …]
Dcopypage-v4wb.c28 ldmia %1!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
30 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
31 ldmia %1!, {r3, r4, ip, lr} @ 4+1\n\ in v4wb_copy_user_page()
32 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
33 ldmia %1!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
35 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
36 ldmia %1!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
38 stmia %0!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
39 ldmiane %1!, {r3, r4, ip, lr} @ 4\n\ in v4wb_copy_user_page()
44 : "r3", "r4", "ip", "lr"); in v4wb_copy_user_page()
[all …]
Dcache-nop.S14 ret lr
18 ret lr
22 ret lr
26 ret lr
30 ret lr
35 ret lr
39 ret lr
43 ret lr
47 ret lr
51 ret lr
Dcopypage-v4mc.c46 ldmia %0!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
48 stmia %1!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
49 ldmia %0!, {r2, r3, ip, lr} @ 4+1\n\ in mc_copy_user_page()
50 stmia %1!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
51 ldmia %0!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
53 stmia %1!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
54 ldmia %0!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
56 stmia %1!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
57 ldmiane %0!, {r2, r3, ip, lr} @ 4\n\ in mc_copy_user_page()
61 : "r2", "r3", "ip", "lr"); in mc_copy_user_page()
[all …]
Dproc-v7m.S18 ret lr
22 ret lr
48 ret lr
52 ret lr
59 ret lr
67 ret lr
71 ret lr
85 ret lr
94 ret lr
134 mov r6, lr @ save LR
[all …]
/linux-6.12.1/arch/arm/nwfpe/
Dentry.S20 adrsvc al, lr, fpundefinstr @ lr = undefined instr return
34 it returns via _fpundefinstr (passed via lr) and the kernel halts the
68 mov r4, lr @ save the failure-return addresses
126 @ lr = unrecognised instruction return address
139 reteq lr
152 ret lr @ CP#0
155 ret lr @ CP#3
156 ret lr @ CP#4
157 ret lr @ CP#5
158 ret lr @ CP#6
[all …]
/linux-6.12.1/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c523 #define LR(x) maven_set_reg(c, (x), m->regs[(x)]) macro
548 LR(0x00); LR(0x01); LR(0x02); LR(0x03); in maven_init_TV()
550 LR(0x04); in maven_init_TV()
552 LR(0x2C); in maven_init_TV()
553 LR(0x08); in maven_init_TV()
554 LR(0x0A); in maven_init_TV()
555 LR(0x09); in maven_init_TV()
556 LR(0x29); in maven_init_TV()
559 LR(0x0B); in maven_init_TV()
560 LR(0x0C); in maven_init_TV()
[all …]
/linux-6.12.1/arch/arm/boot/compressed/
Dll_char_wr.S33 stmfd sp!, {r4 - r7, lr}
35 @ Smashable regs: {r0 - r3}, [r4 - r7], (r8 - fp), [ip], (sp), [lr], (pc)
45 ldmia ip, {r3, r4, r5, r6, lr}
48 add lr, lr, ip
62 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (sp), {lr}, (pc)
65 ldr r7, [lr, r7, lsl #2]
70 ldr r7, [lr, r7, lsl #2]
80 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (sp), {lr}, (pc)
84 ldr ip, [lr, ip, lsl #2]
87 ldr ip, [lr, ip, lsl #2] @ avoid r4
[all …]
/linux-6.12.1/arch/arm/mach-mvebu/
Dcoherency_ll.S50 ret lr
67 ret lr
82 * ll_get_coherency_cpumask(), we use it to temporarly save lr
87 mov r0, lr
93 mov lr, r0
101 ret lr
107 * ll_get_coherency_cpumask(), we use it to temporarly save lr
112 mov r0, lr
118 mov lr, r0
128 ret lr
[all …]
/linux-6.12.1/drivers/gpio/
Dgpiolib-cdev.c692 struct linereq *lr = container_of(nb, struct linereq, in linereq_unregistered_notify() local
695 wake_up_poll(&lr->wait, EPOLLIN | EPOLLERR); in linereq_unregistered_notify()
700 static void linereq_put_event(struct linereq *lr, in linereq_put_event() argument
705 scoped_guard(spinlock, &lr->wait.lock) { in linereq_put_event()
706 if (kfifo_is_full(&lr->events)) { in linereq_put_event()
708 kfifo_skip(&lr->events); in linereq_put_event()
710 kfifo_in(&lr->events, le, 1); in linereq_put_event()
713 wake_up_poll(&lr->wait, EPOLLIN); in linereq_put_event()
759 struct linereq *lr; in process_hw_ts_thread() local
768 lr = line->req; in process_hw_ts_thread()
[all …]
/linux-6.12.1/arch/csky/abiv2/
Dmcount.S19 * | lr | -> _mcount lr (instrumente function's pc)
23 * | plr | -> instrumented function lr (parent's pc)
33 stw lr, (sp, 16)
44 ldw lr, (sp, 24)
51 stw lr, (sp, 0)
62 ldw lr, (sp, 8)
76 mov lr, a0
91 jmp lr
105 mov a0, lr
135 mov t1, lr
[all …]
/linux-6.12.1/arch/arm/crypto/
Daes-ce-core.S117 bx lr
120 bx lr
175 push {r4, lr}
201 push {r4, lr}
233 push {r4-r6, lr}
249 push {r4-r6, lr}
297 push {r4-r6, lr}
303 add lr, ip, #32
305 sub lr, lr, r4
307 vld1.8 {q6}, [lr]
[all …]

12345678910>>...24