Home
last modified time | relevance | path

Searched refs:a4 (Results 1 – 25 of 178) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dinitialize_mmu.h103 slli a4, a0, 5
104 srli a4, a4, 5
106 add a4, a4, a5
107 jx a4
112 2: movi a4, 0x20000000
113 add a5, a2, a4
116 add a5, a5, a4
127 movi a4, XCHAL_KSEG_PADDR + CA_WRITEBACK
128 wdtlb a4, a5
129 witlb a4, a5
[all …]
/kernel/linux/linux-5.10/arch/xtensa/lib/
Dstrnlen_user.S37 # a4/ tmp
50 addi a4, a2, -4 # because we overincrement at the end;
69 add a10, a10, a4 # a10 = end of last 4B chunk
72 EX(10f) l32i a9, a4, 4 # get next word of string
73 addi a4, a4, 4 # advance string pointer
79 blt a4, a10, .Loop
83 EX(10f) l32i a9, a4, 4 # load 4 bytes for remaining checks
87 addi a4, a4, 2 # advance string pointer
96 addi a4, a4, 1 # advance string pointer
98 sub a2, a4, a2 # compute length
[all …]
Dmemcopy.S68 loopnez a4, .Lbytecopydone
70 beqz a4, .Lbytecopydone
71 add a7, a3, a4 # a7 = end address for source
90 _bltui a4, 7, .Lbytecopy # do short copies byte by byte
95 addi a4, a4, -1
102 _bltui a4, 6, .Lbytecopy # do short copies byte by byte
106 addi a4, a4, -2
116 # a2/ dst, a3/ src, a4/ len
122 srli a7, a4, 4 # number of loop iterations with 16B
152 bbci.l a4, 3, .L2
[all …]
Dmemset.S38 # a2/ dst, a3/ c, a4/ length
48 srli a7, a4, 4 # number of loop iterations with 16B
50 bnez a4, .Laligned
77 bbci.l a4, 3, .L2
83 bbci.l a4, 2, .L3
88 bbci.l a4, 1, .L4
93 bbci.l a4, 0, .L5
105 bltui a4, 8, .Lbyteset # do short copies byte by byte
111 addi a4, a4, -1
119 addi a4, a4, -2
[all …]
Dchecksum.S62 ONES_ADD(a4, a6)
63 ONES_ADD(a4, a7)
66 ONES_ADD(a4, a6)
67 ONES_ADD(a4, a7)
70 ONES_ADD(a4, a6)
71 ONES_ADD(a4, a7)
74 ONES_ADD(a4, a6)
75 ONES_ADD(a4, a7)
91 ONES_ADD(a4, a6)
99 ONES_ADD(a4, a6)
[all …]
Dusercopy.S64 # a2/ dst, a3/ src, a4/ len
66 mov a11, a4 # preserve original len for error case
71 srli a7, a4, 4 # number of loop iterations with 16B
76 bnez a4, .Lsrcunaligned
85 bltui a4, 7, .Lbytecopy # do short copies byte by byte
92 addi a4, a4, -1
97 bltui a4, 6, .Lbytecopy # do short copies byte by byte
104 addi a4, a4, -2
115 loopnez a4, .Lbytecopydone
117 beqz a4, .Lbytecopydone
[all …]
Dstrncpy_user.S40 # a4/ len
54 # a2/ dst, a3/ src, a4/ len
56 beqz a4, .Lret # if len is zero
64 srli a12, a4, 2 # number of loop iterations with 4B per loop
75 addi a4, a4, -1 # decrement len
76 beqz a4, .Lret # if len is zero
85 addi a4, a4, -1 # decrement len
86 beqz a4, .Lret # if len is zero
92 addi a4, a4, -1 # decrement len
93 bnez a4, .Lsrcaligned # if len is nonzero
[all …]
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dalign.S165 s32i a4, a2, PT_AREG4
176 movi a4, fast_unaligned_fixup
177 s32i a4, a3, EXC_TABLE_FIXUP
205 l32i a4, a3, 0 # load 2 words
209 __src_b a4, a4, a5 # a4 has the instruction
213 extui a5, a4, INSN_OP0, 4 # get insn.op0 nibble
221 _bbci.l a4, OP1_SI_BIT + INSN_OP1, .Lload
226 extui a6, a4, INSN_T, 4 # get source register
249 extui a5, a4, INSN_OP0, 4
257 extui a5, a4, INSN_OP1, 4
[all …]
Dcoprocessor.S32 xchal_cp##x##_store a2 a3 a4 a5 a6; \
49 xchal_cp##x##_load a2 a3 a4 a5 a6; \
132 s32i a4, a1, PT_AREG4
155 l32i a4, a0, 0
157 beqz a4, 1f # skip 'save' if no previous owner
161 l32i a5, a4, THREAD_CPENABLE
163 s32i a5, a4, THREAD_CPENABLE
175 add a2, a2, a4
187 1: GET_THREAD_INFO (a4, a1)
188 s32i a4, a0, 0
[all …]
Dentry.S174 s32i a4, a1, PT_AREG4
227 addi a0, a4, -1
502 _bbsi.l a4, TIF_NEED_RESCHED, 3f
504 bnone a4, a2, 5f
506 2: l32i a4, a1, PT_DEPC
507 bgeui a4, VALID_DOUBLE_EXCEPTION_ADDRESS, 4f
530 _bbci.l a4, TIF_NEED_RESCHED, 4f
534 l32i a4, a2, TI_PRE_COUNT
535 bnez a4, 4f
548 _bbci.l a4, TIF_DB_DISABLED, 7f
[all …]
Dmcount.S27 movi a4, ftrace_trace_function
28 l32i a4, a4, 0
30 bne a3, a4, 1f
42 callx4 a4
/kernel/linux/linux-5.10/arch/xtensa/boot/boot-redboot/
Dbootstrap.S55 movi a4, 1
56 wsr a4, ps
61 sll a4, a4
62 wsr a4, windowstart
65 movi a4, 0x00040000
66 wsr a4, ps
80 # addi a4, a0, __start - __start_a0
81 # mov a0, a4
83 movi a4, __start
85 add a4, a0, a4
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-a4tech.c38 struct a4tech_sc *a4 = hid_get_drvdata(hdev); in a4_input_mapping() local
40 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8 && in a4_input_mapping()
60 struct a4tech_sc *a4 = hid_get_drvdata(hdev); in a4_input_mapped() local
67 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) in a4_input_mapped()
76 struct a4tech_sc *a4 = hid_get_drvdata(hdev); in a4_event() local
84 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8) { in a4_event()
86 a4->delayed_value = value; in a4_event()
92 REL_WHEEL, a4->delayed_value); in a4_event()
94 REL_WHEEL_HI_RES, a4->delayed_value * 120); in a4_event()
99 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { in a4_event()
[all …]
/kernel/linux/linux-5.10/arch/riscv/lib/
Dtishift.S13 sext.w a4,a5
17 sll a4,a1,a4
19 or a0,a0,a4
24 negw a0,a4
36 sext.w a4,a5
40 sll a4,a1,a4
42 or a0,a0,a4
47 negw a0,a4
59 sext.w a4,a5
63 srl a4,a0,a4
[all …]
Dmemset.S27 sub a4, a3, t0
32 sub a2, a2, a4 /* Update count */
47 andi a4, a2, ~(SZREG-1)
48 add a3, t0, a4
50 andi a4, a4, 31*SZREG /* Calculate remainder */
51 beqz a4, 3f /* Shortcut if no remainder */
52 neg a4, a4
53 addi a4, a4, 32*SZREG /* Calculate initial offset */
56 sub t0, t0, a4
62 srli a4, a4, 1
[all …]
Dmemcpy.S19 andi a4, a1, SZREG-1
20 bne a3, a4, 4f
30 sub a4, a3, a1
37 sub a2, a2, a4 /* Update count */
40 andi a4, a2, ~((16*SZREG)-1)
41 beqz a4, 4f
42 add a3, a1, a4
44 REG_L a4, 0(a1)
54 REG_S a4, 0(t6)
64 REG_L a4, 10*SZREG(a1)
[all …]
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_dispatch.S47 movi a4, g_losTask
48 l32i a5, a4, 0 /* get run task */
50 l32i a5, a4, 4 /* get new task */
51 s32i a5, a4, 0 /* run task = new task */
52 l32i a4, a5, 0 /* get new sp */
60 mov a2, a4
83 mov a4, a2
86 l32i a5, a4, CONTEXT_OFF_PS /* restroe PS */
89 l32i a0, a4, CONTEXT_OFF_A0
90 l32i a1, a4, CONTEXT_OFF_A1
[all …]
Dlos_exc.S196 movi a4, LEVEL2
210 movi a4, LEVEL3
224 movi a4, LEVEL4
238 movi a4, LEVEL5
289 s32i a4, a0, 0
305 l32i a4, a1, 0
308 addi a4, a4, -32
309 l32i a7, a4, 12
310 l32i a6, a4, 8
311 l32i a5, a4, 4
[all …]
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dmisc.S62 __loopi a2, a4, PAGE_SIZE, 32
87 __endl a2, a4
130 mov a4, a2
151 1: idtlb a4
173 beqz a4, 1f
177 addi a6, a4, (PAGE_KERNEL | _PAGE_HW_WRITE)
193 1: __loopi a2, a4, PAGE_SIZE, 32
218 __endl a2, a4
255 mov a4, a2
261 idtlb a4
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dlinux32.c77 unsigned long, unused, unsigned long, a4, unsigned long, a5)
79 return ksys_pread64(fd, buf, count, merge_64(a4, a5));
83 size_t, count, u32, unused, u64, a4, u64, a5)
85 return ksys_pwrite64(fd, buf, count, merge_64(a4, a5));
110 unsigned long a4, unsigned long a5, in sys32_sync_file_range() argument
114 merge_64(a2, a3), merge_64(a4, a5), in sys32_sync_file_range()
120 unsigned long a4, unsigned long a5, in sys32_fadvise64_64() argument
124 merge_64(a2, a3), merge_64(a4, a5), in sys32_fadvise64_64()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dsignal.c43 COPY(sp); COPY(a4); COPY(b4); COPY(a6); COPY(b6); COPY(a8); COPY(b8); in restore_sigcontext()
91 return regs->a4; in do_rt_sigreturn()
108 COPY(sp); COPY(a4); COPY(b4); COPY(a6); COPY(b6); COPY(a8); COPY(b8); in setup_sigcontext()
196 regs->a4 = ksig->sig; in setup_rt_frame()
212 switch (regs->a4) { in handle_restart()
216 regs->a4 = -EINTR; in handle_restart()
221 regs->a4 = -EINTR; in handle_restart()
227 regs->a4 = regs->orig_a4; in handle_restart()
244 switch (regs->a4) { in handle_signal()
247 regs->a4 = -EINTR; in handle_signal()
[all …]
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dsyscall.h29 return IS_ERR_VALUE(regs->a4) ? regs->a4 : 0; in syscall_get_error()
35 return regs->a4; in syscall_get_return_value()
42 regs->a4 = error ?: val; in syscall_set_return_value()
49 *args++ = regs->a4; in syscall_get_arguments()
61 regs->a4 = *args++; in syscall_set_arguments()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dentry.S173 REG_L a4, PT_A4(sp)
364 REG_L a4, PT_A4(sp)
403 li a4, TASK_THREAD_RA
404 add a3, a0, a4
405 add a4, a1, a4
421 REG_L ra, TASK_THREAD_RA_RA(a4)
422 REG_L sp, TASK_THREAD_SP_RA(a4)
423 REG_L s0, TASK_THREAD_S0_RA(a4)
424 REG_L s1, TASK_THREAD_S1_RA(a4)
425 REG_L s2, TASK_THREAD_S2_RA(a4)
[all …]
/kernel/linux/linux-5.10/drivers/block/
Dswim_asm.S48 moveml %d1-%d5/%a0-%a4,%sp@-
49 movel %a6@(0x0c), %a4
51 moveml %sp@+, %d1-%d5/%a0-%a4
95 moveb %a3@, %a4@(o_track)
103 moveb %a3@, %a4@(o_side)
111 moveb %a3@, %a4@(o_sector)
119 moveb %a3@, %a4@(o_size)
127 moveb %a3@, %a4@(o_crc0)
135 moveb %a3@, %a4@(o_crc1)
152 movel %a6@(0x0c), %a4
[all …]
/kernel/linux/linux-5.10/include/net/
Dinetpeer.h29 struct ipv4_addr_key a4; member
75 iaddr->a4.addr = ip; in inetpeer_set_addr_v4()
76 iaddr->a4.vif = 0; in inetpeer_set_addr_v4()
82 return iaddr->a4.addr; in inetpeer_get_addr_v4()
108 daddr.a4.addr = v4daddr; in inet_getpeer_v4()
109 daddr.a4.vif = vif; in inet_getpeer_v4()
131 n = sizeof(a->a4) / sizeof(u32); in inetpeer_addr_cmp()

12345678