Searched refs:ldw (Results 1 - 41 of 41) sorted by relevance

/linux-4.1.27/arch/nios2/include/asm/
H A Dentry.h29 ldw r24, 0(r24) /* using the thread_info */
65 ldw r1, PT_R1(sp) /* Restore registers */
66 ldw r2, PT_R2(sp)
67 ldw r3, PT_R3(sp)
68 ldw r4, PT_R4(sp)
69 ldw r5, PT_R5(sp)
70 ldw r6, PT_R6(sp)
71 ldw r7, PT_R7(sp)
72 ldw r8, PT_R8(sp)
73 ldw r9, PT_R9(sp)
74 ldw r10, PT_R10(sp)
75 ldw r11, PT_R11(sp)
76 ldw r12, PT_R12(sp)
77 ldw r13, PT_R13(sp)
78 ldw r14, PT_R14(sp)
79 ldw r15, PT_R15(sp)
80 ldw ra, PT_RA(sp)
81 ldw fp, PT_FP(sp)
82 ldw gp, PT_GP(sp)
83 ldw r24, PT_ESTATUS(sp)
85 ldw ea, PT_EA(sp)
86 ldw sp, PT_SP(sp) /* Restore sp last */
105 ldw r16, SW_R16(sp)
106 ldw r17, SW_R17(sp)
107 ldw r18, SW_R18(sp)
108 ldw r19, SW_R19(sp)
109 ldw r20, SW_R20(sp)
110 ldw r21, SW_R21(sp)
111 ldw r22, SW_R22(sp)
112 ldw r23, SW_R23(sp)
113 ldw fp, SW_FP(sp)
114 ldw gp, SW_GP(sp)
115 ldw ra, SW_RA(sp)
H A Dcmpxchg.h46 "ldw %0, %2\n" __xchg()
H A Duaccess.h157 __get_user_asm(val, "ldw", ptr, err); \
H A Dasm-macros.h304 ldw \reg, 0(sp)
/linux-4.1.27/arch/c6x/lib/
H A Dstrasgi.S25 ldw .d2t1 *B4++, A0
27 ldw .d2t1 *B4++, A1
30 ldw .d2t1 *B4++, A5
31 ldw .d2t1 *B4++, A7
33 ldw .d2t1 *B4++, A8
34 ldw .d2t1 *B4++, A9
40 || [B0] ldw .d2t1 *B4++, A0
48 [B0] ldw .d2t1 *B4++, A1
53 [B0] ldw .d2t1 *B4++, A5
58 [B0] ldw .d2t1 *B4++, A7
63 [B0] ldw .d2t1 *B4++, A8
68 [B0] ldw .d2t1 *B4++, A9
H A Ddivremi.S39 ldw .d2t2 *++B15[2], B3
H A Dremi.S57 ldw .d2t2 *++B15[2], B3
/linux-4.1.27/arch/unicore32/mm/
H A Dproc-macros.S42 ldw \rd, [\rn+], #VMA_VM_MM
49 ldw \rd, [\rn+], #VMA_VM_FLAGS
53 ldw \rd, [\rn+], #TI_TASK
54 ldw \rd, [\rd+], #TSK_ACTIVE_MM
63 ldw \rd, [\rd+], #TI_TASK
64 ldw \rd, [\rd+], #TSK_ACTIVE_MM
71 ldw \rd, [\rn+], #MM_CONTEXT_ID
103 ldw \pa, [\pa+], \off << #2 @ pa <- the content of pt
108 ldw \msk, [\tbl+], #0 @ get the mask
109 ldw pc, [\tbl+], #4
139 ldw \t2, =_stext @ _stext must ALIGN(4096)
141 ldw \t1, [\t2+], #0x0000
142 ldw \t1, [\t2+], #0x1000
143 ldw \t1, [\t2+], #0x2000
144 ldw \t1, [\t2+], #0x3000
H A Dalignment.c369 "ldw.u %0, [%1]\n" do_alignment()
/linux-4.1.27/arch/nios2/kernel/
H A Dinsnemu.S33 ldw r1, PT_R1(sp) // Restore registers
34 ldw r2, PT_R2(sp)
35 ldw r3, PT_R3(sp)
36 ldw r4, PT_R4(sp)
37 ldw r5, PT_R5(sp)
38 ldw r6, PT_R6(sp)
39 ldw r7, PT_R7(sp)
40 ldw r8, PT_R8(sp)
41 ldw r9, PT_R9(sp)
42 ldw r10, PT_R10(sp)
43 ldw r11, PT_R11(sp)
44 ldw r12, PT_R12(sp)
45 ldw r13, PT_R13(sp)
46 ldw r14, PT_R14(sp)
47 ldw r15, PT_R15(sp)
48 ldw ra, PT_RA(sp)
49 ldw fp, PT_FP(sp)
50 ldw gp, PT_GP(sp)
51 ldw et, PT_ESTATUS(sp)
53 ldw ea, PT_EA(sp)
54 ldw et, PT_SP(sp) /* backup sp in et */
166 ldw r2,-4(ea) /* r2 = AAAAA,BBBBB,IIIIIIIIIIIIIIII,PPPPPP */
198 ldw r3, 0(r3) /* r3 = A-operand. */
203 ldw r5, 0(r5) /* r5 = B-operand. */
556 ldw r5, 100(sp)
559 ldw r1, 4(sp)
560 ldw r2, 8(sp)
561 ldw r3, 12(sp)
562 ldw r4, 16(sp)
563 ldw r5, 20(sp)
564 ldw r6, 24(sp)
565 ldw r7, 28(sp)
566 ldw r8, 32(sp)
567 ldw r9, 36(sp)
568 ldw r10, 40(sp)
569 ldw r11, 44(sp)
570 ldw r12, 48(sp)
571 ldw r13, 52(sp)
572 ldw r14, 56(sp)
573 ldw r15, 60(sp)
574 ldw r16, 64(sp)
575 ldw r17, 68(sp)
576 ldw r18, 72(sp)
577 ldw r19, 76(sp)
578 ldw r20, 80(sp)
579 ldw r21, 84(sp)
580 ldw r22, 88(sp)
581 ldw r23, 92(sp)
583 ldw gp, 104(sp)
585 ldw fp, 112(sp)
586 ldw ea, 116(sp)
587 ldw ra, 120(sp)
588 ldw sp, 108(sp) /* last restore sp */
H A Dentry.S155 ldw r24, 0(r24)
169 ldw r24, 0(r24)
184 ldw r4, PT_R4(sp)
185 ldw r5, PT_R5(sp)
194 ldw r1, %lo(sys_call_table)(r1)
199 ldw r11,TI_FLAGS(r11)
224 ldw r1, PT_ESTATUS(sp)
252 ldw r2, PT_R2(sp)
253 ldw r4, PT_R4(sp)
254 ldw r5, PT_R5(sp)
255 ldw r6, PT_R6(sp)
256 ldw r7, PT_R7(sp)
264 ldw r1, %lo(sys_call_table)(r1)
292 ldw r10, TI_FLAGS(r11) /* get thread_info->flags */
310 ldw r2, PT_R2(sp) /* reload syscall number in r2 */
311 ldw r4, PT_R4(sp) /* reload syscall arguments r4-r9 */
312 ldw r5, PT_R5(sp)
313 ldw r6, PT_R6(sp)
314 ldw r7, PT_R7(sp)
315 ldw r8, PT_R8(sp)
316 ldw r9, PT_R9(sp)
365 ldw r1, PT_ESTATUS(sp) /* check if returning to kernel */
370 ldw r4, TI_PREEMPT_COUNT(r1)
372 ldw r4, TI_FLAGS(r1) /* ? Need resched set */
374 ldw r4, PT_ESTATUS(sp) /* ? Interrupts off */
486 ldw sp, TASK_THREAD + THREAD_KSP(r5)/* restore new thread stack */
492 ldw r7, TASK_THREAD + THREAD_KPSR(r5)/* restore thread status reg */
542 ldw r2, 0(r4) /* load current value */
H A Dhead.S95 ldw et, 0(et)
97 ldw et, 0(r3)
102 ldw et, 0(et)
106 ldw r3, r3save - helper2(et)
135 ldw r8, 0(r1) /* load a word from [r1] */
H A Dsetup.c51 "ldw %2,0(%0)\n" copy_exception_handler()
53 "ldw %2,4(%0)\n" copy_exception_handler()
55 "ldw %2,8(%0)\n" copy_exception_handler()
81 " ldw %3,0(%0)\n" copy_fast_tlb_miss_handler()
/linux-4.1.27/arch/unicore32/lib/
H A Dbacktrace.S39 ldw.w r0, [sp]+, #4 @ by stmfd for this CPU
60 1001: ldw sv_pc, [frame+], #0 @ get saved pc
61 1002: ldw sv_fp, [frame+], #-12 @ get saved fp
65 1003: ldw r2, [sv_pc+], #-4 @ if stmfd sp, {args} exists,
66 ldw r3, .Ldsi+4 @ adjust saved 'pc' back one
74 ldw r1, [frame+], #-4 @ get saved lr
78 ldw r1, [sv_pc+], #-4 @ if stmfd sp, {args} exists,
79 ldw r3, .Ldsi+4
82 ldw r0, [frame+], #-8 @ get sp
86 1004: ldw r1, [sv_pc+], #0 @ if stmfd {, fp, ip, lr, pc}
87 ldw r3, .Ldsi @ instruction exists,
136 ldw.w r3, [stack]+, #-4
/linux-4.1.27/arch/unicore32/kernel/
H A Dsleep.S40 ldw r1, =sleep_save_sp
42 ldw.w pc, [sp]+, #4
79 ldw r0, =(PKUNITY_DDR2CTRL_BASE)
82 ldw r1, =(PKUNITY_PM_BASE)
100 ldw r5, [r0+], #0x24
130 1: ldw r6, [r1+], #0x44
165 ldw r0, sleep_save_sp @ stack phys addr
166 ldw r2, =resume_after_mmu @ its absolute virtual address
H A Dentry.S46 ldw \rtemp, .LCcralign
47 ldw \rtemp, [\rtemp]
57 ldw sp, [\rd+], #\offset @ load sp_user
58 ldw lr, [\rd+], #\offset + 4 @ load lr_user
71 ldw r1, [sp+], #\offset + S_PSR @ get calling asr
72 ldw lr, [sp+], #\offset + S_PC @ get pc
94 ldw \base, =(PKUNITY_INTC_BASE)
95 ldw \irqstat, [\base+], #0xC @ INTC_ICIP
96 ldw \tmp, [\base+], #0x4 @ INTC_ICMR
119 ldw lr, [\temp+], #0x10
292 ldw r2, [sp+], #S_PSR
306 ldw r4, [sp+], #S_PSR @ irqs are already disabled
355 ldw r2, [sp+], #S_PSR
372 ldw ip, [sp+], #S_PC
382 1: ldw.u r0, [r2]
516 ldw r4, [ip]
532 ldw r1, [tsk+], #TI_FLAGS
563 ldw r1, [tsk+], #TI_FLAGS
608 ldw.u scno, [ip] @ get SWI instruction
611 ldw ip, __cr_alignment
612 ldw ip, [ip]
618 ldw tbl, =sys_call_table @ load syscall table pointer
624 ldw ip, [tsk+], #TI_FLAGS @ check for syscall tracing
631 ldw pc, [tbl+], scno << #2 @ call sys_* routine
653 ldw pc, [tbl+], scno << #2 @ call sys_* routine
718 ldw lr, [pc+], lr << #2
788 ldw pc, .LCvswi + stubs_offset
H A Dhead.S126 ldw r15, __switch_data @ address to jump to after
215 ldw sp, [r3]
H A Dprocess.c109 "201: ldw r0, [%0]\n\t" machine_restart()
/linux-4.1.27/arch/parisc/kernel/
H A Dpacache.S341 2: ldw 0(\la),\tmp
492 * This loop is optimized for PCXL/PCXL2 ldw/ldw and stw/stw
498 ldw 0(%r25), %r19
502 ldw 4(%r25), %r20
503 ldw 8(%r25), %r21
504 ldw 12(%r25), %r22
509 ldw 16(%r25), %r19
510 ldw 20(%r25), %r20
511 ldw 24(%r25), %r21
512 ldw 28(%r25), %r22
517 ldw 32(%r25), %r19
518 ldw 36(%r25), %r20
519 ldw 40(%r25), %r21
520 ldw 44(%r25), %r22
525 ldw 48(%r25), %r19
526 ldw 52(%r25), %r20
527 ldw 56(%r25), %r21
528 ldw 60(%r25), %r22
536 ldw 0(%r25), %r19
694 * This loop is optimized for PCXL/PCXL2 ldw/ldw and stw/stw
702 1: ldw 0(%r29), %r19
703 ldw 4(%r29), %r20
704 ldw 8(%r29), %r21
705 ldw 12(%r29), %r22
710 ldw 16(%r29), %r19
711 ldw 20(%r29), %r20
712 ldw 24(%r29), %r21
713 ldw 28(%r29), %r22
718 ldw 32(%r29), %r19
719 ldw 36(%r29), %r20
720 ldw 40(%r29), %r21
721 ldw 44(%r29), %r22
726 ldw 48(%r29), %r19
727 ldw 52(%r29), %r20
728 ldw 56(%r29), %r21
729 ldw 60(%r29), %r22
863 ldw R%dcache_stride(%r1), r31
939 ldw R%icache_stride(%r1), %r31
993 ldw R%dcache_stride(%r1), %r23
1036 ldw R%dcache_stride(%r1), %r23
1078 ldw R%dcache_stride(%r1), %r23
1099 ldw R%dcache_stride(%r1), %r23
1121 ldw R%icache_stride(%r1), %r23
1142 ldw R%icache_stride(%r1), %r23
1185 ldw R%icache_stride(%r1), %r23
H A Dhpmc.S117 ldw 52(%r4),%r5
199 ldw BOOT_CONSOLE_HPA_OFFSET(%r0),arg3 /* console hpa */
216 ldw BOOT_CONSOLE_HPA_OFFSET(%r0),arg0 /* console hpa */
218 ldw BOOT_CONSOLE_SPA_OFFSET(%r0),arg2 /* console spa */
H A Dreal2.S80 ldw 0(%arg1), %arg0 /* note overwriting arg0 */
81 ldw -8(%arg1), %arg2
82 ldw -12(%arg1), %arg3
83 ldw -4(%arg1), %arg1 /* obviously must do this one last! */
H A Dunaligned.c182 "1: ldw 0(%%sr1,%3),%0\n" emulate_ldw()
183 "2: ldw 4(%%sr1,%3),%%r20\n" emulate_ldw()
249 "1: ldw 0(%%sr1,%5),%0\n" emulate_ldd()
250 "2: ldw 4(%%sr1,%5),%1\n" emulate_ldd()
251 "3: ldw 8(%%sr1,%5),%%r20\n" emulate_ldd()
335 "1: ldw 0(%%sr1,%2),%%r20\n" emulate_stw()
336 "2: ldw 4(%%sr1,%2),%%r21\n" emulate_stw()
417 "1: ldw 0(%%sr1,%3),%%r20\n" emulate_std()
418 "2: ldw 8(%%sr1,%3),%%r21\n" emulate_std()
H A Dsyscall.S580 ldw 4(%sr2,%r20), %r28 /* Load thread register */
628 1: ldw,ma 0(%sr3,%r26), %r28
727 8: ldw 0(%sr3,%r25), %r25
729 9: ldw 0(%sr3,%r24), %r24
742 10: ldw 0(%sr3,%r25), %r22
743 11: ldw 4(%sr3,%r25), %r23
815 17: ldw,ma 0(%sr3,%r26), %r29
833 19: ldw,ma 0(%sr3,%r26), %r29
837 20: ldw,ma 4(%sr3,%r26), %r29
H A Dhead.S192 ldw MEM_PDC_LO(%r0),%r3
193 ldw MEM_PDC_HI(%r0),%r6
H A Dentry.S397 * NOTE: we use ldw even for LP64, since the short pointers
416 ldw,s \index(\pmd),\pmd
443 ldw,s \index(\pgd),\pgd
1829 ldw TASK_FLAGS(%r1),%r19
H A Dsignal.c487 * 8: ldw 0(%sp), %r31 insert_restart_trampoline()
/linux-4.1.27/arch/nios2/boot/compressed/
H A Dhead.S46 1: ldw r8, 0(r1) /* load a word from [r1] */
82 ldw r4, 0(sp)
83 ldw r5, 4(sp)
84 ldw r6, 8(sp)
85 ldw r7, 12(sp)
/linux-4.1.27/arch/parisc/include/asm/
H A Dassembly.h41 #define LDREG ldw
411 ldw -64(%r30), %r3
412 ldw -68(%r30), %r18
413 ldw -72(%r30), %r17
414 ldw -76(%r30), %r16
415 ldw -80(%r30), %r15
416 ldw -84(%r30), %r14
417 ldw -88(%r30), %r13
418 ldw -92(%r30), %r12
419 ldw -96(%r30), %r11
420 ldw -100(%r30), %r10
421 ldw -104(%r30), %r9
422 ldw -108(%r30), %r8
423 ldw -112(%r30), %r7
424 ldw -116(%r30), %r6
425 ldw -120(%r30), %r5
426 ldw -124(%r30), %r4
428 ldw,mb -CALLEE_REG_FRAME_SIZE(%r30), %r3
H A Dchecksum.h163 " ldw,ma 4(%1), %%r19\n" /* get 1st saddr word */ csum_ipv6_magic()
164 " ldw,ma 4(%2), %%r20\n" /* get 1st daddr word */ csum_ipv6_magic()
167 " ldw,ma 4(%1), %%r21\n" /* 2cd saddr */ csum_ipv6_magic()
169 " ldw,ma 4(%2), %%r22\n" /* 2cd daddr */ csum_ipv6_magic()
171 " ldw,ma 4(%1), %%r19\n" /* 3rd saddr */ csum_ipv6_magic()
173 " ldw,ma 4(%2), %%r20\n" /* 3rd daddr */ csum_ipv6_magic()
175 " ldw,ma 4(%1), %%r21\n" /* 4th saddr */ csum_ipv6_magic()
177 " ldw,ma 4(%2), %%r22\n" /* 4th daddr */ csum_ipv6_magic()
H A Dprefetch.h29 " ldw 0(%0), %%r0" : : "r" (addr)); prefetch()
H A Duaccess.h93 case 4: __get_kernel_asm("ldw", ptr); break; \
102 case 4: __get_user_asm("ldw", ptr); break; \
H A Dunistd.h49 /* FIXME: HACK stw/ldw r19 around syscall */ \
/linux-4.1.27/arch/unicore32/boot/compressed/
H A Dhead.S30 ldw sp, [r0+], #28
66 1001: ldw r1, [r7+], #0
113 ldw r4, =KERNEL_IMAGE_START
156 ldw r4, =KERNEL_IMAGE_START
/linux-4.1.27/arch/parisc/lib/
H A Dmemcpy.c118 #define ldwma(_s, _a, _t, _e) def_load_ai_insn(ldw,4,"=r",_s,_a,_t,_e)
139 #define ldw(_s,_o,_a,_t,_e) def_load_insn(ldw,"=r",_s,_o,_a,_t,_e) macro
145 __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr)); prefetch_src()
188 ldw(s_space, 0, src, a1, cda_ldw_exc); copy_dstaligned()
189 ldw(s_space, 4, src, a2, cda_ldw_exc); copy_dstaligned()
197 ldw(s_space, 0, src, a0, cda_ldw_exc); copy_dstaligned()
198 ldw(s_space, 4, src, a1, cda_ldw_exc); copy_dstaligned()
208 ldw(s_space, 0, src, a3, cda_ldw_exc); copy_dstaligned()
209 ldw(s_space, 4, src, a0, cda_ldw_exc); copy_dstaligned()
217 ldw(s_space, 0, src, a2, cda_ldw_exc); copy_dstaligned()
218 ldw(s_space, 4, src, a3, cda_ldw_exc); copy_dstaligned()
232 ldw(s_space, 0, src, a0, cda_ldw_exc); copy_dstaligned()
237 ldw(s_space, 4, src, a1, cda_ldw_exc); copy_dstaligned()
242 ldw(s_space, 8, src, a2, cda_ldw_exc); copy_dstaligned()
247 ldw(s_space, 12, src, a3, cda_ldw_exc); copy_dstaligned()
H A Dlusercopy.S50 ldw TI_SEGMENT(%r1),%r22
/linux-4.1.27/arch/unicore32/include/asm/
H A Dtlbflush.h140 "ldw r2, =_stext\n" flush_pmd_entry()
142 "ldw r1, [r2+], #0x0000\n" flush_pmd_entry()
143 "ldw r1, [r2+], #0x1000\n" flush_pmd_entry()
144 "ldw r1, [r2+], #0x2000\n" flush_pmd_entry()
145 "ldw r1, [r2+], #0x3000\n" flush_pmd_entry()
/linux-4.1.27/tools/build/feature/
H A DMakefile49 $(BUILD) -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz -llzma
73 $(BUILD) -ldw
139 $(BUILD) # -ldw provided by $(FEATURE_CHECK_LDFLAGS-libdw-dwarf-unwind)
/linux-4.1.27/arch/nios2/mm/
H A Duaccess.c49 "10:ldw r2,0(r5)\n"
111 " ldw r2,0(r5)\n"
/linux-4.1.27/arch/arc/include/asm/
H A Dio.h47 " ldw%U1 %0, %1 \n" __raw_readw()
H A Duaccess.h67 case 2: __arc_get_user_one(*(k), u, "ldw", __ret); break; \
297 "17: ldw.ab %3, [%2,2] \n" __arc_copy_from_user()
359 "17: ldw.ab %5, [%2,2] \n" __arc_copy_from_user()
522 " ldw.ab %3, [%2,2] \n" __arc_copy_to_user()
584 " ldw.ab %5, [%2,2] \n" __arc_copy_to_user()
/linux-4.1.27/tools/perf/config/
H A DMakefile95 FEATURE_CHECK_LDFLAGS-libdw-dwarf-unwind := $(LIBDW_LDFLAGS) -ldw
294 EXTLIBS += -ldw

Completed in 605 milliseconds