Home
last modified time | relevance | path

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

123456789

/linux/arch/xtensa/include/asm/
H A 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 …]
/linux/arch/xtensa/lib/
H A 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 …]
H A Dmulsi3.S41 or a4, a2, a3
42 srai a4, a4, 16
43 bnez a4, .LMUL16
47 srai a4, a2, 16
49 mul16u a7, a4, a3
51 mul16u a4, a2, a3
54 add a2, a7, a4
61 rsr a4, ACCLO
63 add a2, a4, a5
78 mov a4, a3
[all …]
H A 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 …]
H A Ddivsi3.S13 do_abs a6, a2, a4 /* udividend = abs (dividend) */
14 do_abs a3, a3, a4 /* udivisor = abs (divisor) */
17 do_nsau a4, a3, a2, a8 /* udivisor_shift = nsau (udivisor) */
18 bgeu a5, a4, .Lspecial
20 sub a4, a4, a5 /* count = udivisor_shift - udividend_shift */
21 ssl a4
27 loopnez a4, .Lloopend
37 addi a4, a4, -1
38 bnez a4, .Lloop
58 movi a4, -1
[all …]
H A Dbswapdi2.S10 srli a4, a2, 16
11 src a4, a4, a2
12 src a4, a4, a4
13 src a4, a2, a4
18 mov a3, a4
H A Dmodsi3.S13 do_abs a2, a2, a4 /* udividend = abs (dividend) */
14 do_abs a3, a3, a4 /* udivisor = abs (divisor) */
17 do_nsau a4, a3, a6, a8 /* udivisor_shift = nsau (udivisor) */
18 bgeu a5, a4, .Lspecial
20 sub a4, a4, a5 /* count = udivisor_shift - udividend_shift */
21 ssl a4
26 loopnez a4, .Lloopend
34 addi a4, a4, -1
35 bnez a4, .Lloop
H A 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 …]
H A Dumodsi3.S15 do_nsau a4, a3, a6, a7 /* divisor_shift = nsau (divisor) */
16 bgeu a5, a4, .Lspecial
18 sub a4, a4, a5 /* count = divisor_shift - dividend_shift */
19 ssl a4
24 loopnez a4, .Lloopend
32 addi a4, a4, -1
33 bnez a4, .Lloop
H A 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 …]
H A Dudivsi3.S16 do_nsau a4, a3, a2, a7 /* divisor_shift = nsau (divisor) */
17 bgeu a5, a4, .Lspecial
19 sub a4, a4, a5 /* count = divisor_shift - dividend_shift */
20 ssl a4
26 loopnez a4, .Lloopend
36 addi a4, a4, -1
37 bnez a4, .Lloop
H A Dusercopy.S69 # a2/ dst, a3/ src, a4/ len
71 mov a11, a4 # preserve original len for error case
76 srli a7, a4, 4 # number of loop iterations with 16B
81 bnez a4, .Lsrcunaligned
90 bltui a4, 7, .Lbytecopy # do short copies byte by byte
97 addi a4, a4, -1
102 bltui a4, 6, .Lbytecopy # do short copies byte by byte
109 addi a4, a4, -2
120 loopnez a4, .Lbytecopydone
122 beqz a4, .Lbytecopydone
[all …]
H A Dstrncpy_user.S40 # a4/ len
53 # a2/ dst, a3/ src, a4/ len
55 beqz a4, .Lret # if len is zero
63 srli a10, a4, 2 # number of loop iterations with 4B per loop
74 addi a4, a4, -1 # decrement len
75 beqz a4, .Lret # if len is zero
84 addi a4, a4, -1 # decrement len
85 beqz a4, .Lret # if len is zero
91 addi a4, a4, -1 # decrement len
92 bnez a4, .Lsrcaligned # if len is nonzero
[all …]
/linux/arch/xtensa/kernel/
H A Dalign.S171 extui a0, a4, INSN_OP0, 4 # get insn.op0 nibble
178 bbsi.l a4, OP1_SI_BIT + INSN_OP1, .Linvalid_instruction
203 extui a5, a4, INSN_OP1, 4
233 extui a5, a4, INSN_OP0, 4 # get insn.op0 nibble
241 _bbci.l a4, OP1_SI_BIT + INSN_OP1, .Lload
248 extui a6, a4, INSN_T, 4 # get source register
273 extui a5, a4, INSN_OP0, 4
281 extui a5, a4, INSN_OP1, 4
302 extui a4, a4, INSN_T, 4 # extract target register
304 addx8 a4, a4, a5
[all …]
H A Dcoprocessor.S52 xchal_cp##x##_store a2 a3 a4 a5 a6; \
60 xchal_cp##x##_load a2 a3 a4 a5 a6; \
164 s32i a4, a1, PT_AREG4
202 l32i a4, a9, THREAD_CPU
204 s32i a4, a9, THREAD_CP_OWNER_CPU
210 l32i a4, a9, THREAD_CPENABLE
211 or a4, a4, a2
218 s32i a4, a9, THREAD_CPENABLE
256 l32i a4, a1, PT_AREG4
287 movi a4, .Lcp_regs_jump_table
[all …]
/linux/drivers/hid/
H A 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 …]
/linux/arch/xtensa/boot/boot-redboot/
H A Dbootstrap.S56 movi a4, 1
57 wsr a4, ps
62 sll a4, a4
63 wsr a4, windowstart
66 movi a4, KERNEL_PS_WOE_MASK
67 wsr a4, ps
83 # addi a4, a0, __start - __start_a0
84 # mov a0, a4
86 movi a4, __start
88 add a4, a0, a4
[all …]
/linux/arch/riscv/lib/
H A 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 …]
H A Dmemmove.S54 add a4, a1, a2
160 andi a5, a4, (SZREG - 1) /* Find the alignment offset of src (a4) */
162 sub a5, a4, t4 /* Find the difference between src and dest */
163 andi a4, a4, -SZREG /* Align the src pointer */
194 REG_L t1, ( 0 * SZREG)(a4)
196 REG_L t0, (-1 * SZREG)(a4)
205 REG_L t1, (-2 * SZREG)(a4)
206 addi a4, a4, (-2 * SZREG)
216 add a4, t4, a5 /* Restore the src pointer */
243 REG_L t1, (-1 * SZREG)(a4)
[all …]
H A Dmemcpy.S18 andi a4, a1, SZREG-1
19 bne a3, a4, 4f
29 sub a4, a3, a1
36 sub a2, a2, a4 /* Update count */
39 andi a4, a2, ~((16*SZREG)-1)
40 beqz a4, 4f
41 add a3, a1, a4
43 REG_L a4, 0(a1)
53 REG_S a4, 0(t6)
63 REG_L a4, 10*SZREG(a1)
[all …]
H A Dmemset.S26 sub a4, a3, t0
31 sub a2, a2, a4 /* Update count */
46 andi a4, a2, ~(SZREG-1)
47 add a3, t0, a4
49 andi a4, a4, 31*SZREG /* Calculate remainder */
50 beqz a4, 3f /* Shortcut if no remainder */
51 neg a4, a4
52 addi a4, a4, 32*SZREG /* Calculate initial offset */
55 sub t0, t0, a4
61 srli a4, a4, 1
[all …]
H A Dxor.S24 vsetvli a4, a0, e8, m8, ta, ma
27 sub a0, a0, a4
30 add a2, a2, a4
32 add a3, a3, a4
34 add a1, a1, a4
49 vle8.v v24, (a4)
52 add a4, a4, a5
69 vle8.v v24, (a4)
73 add a4, a4, a6
/linux/arch/riscv/kernel/
H A Dcopy-unaligned.S13 andi a4, a2, ~((8*SZREG)-1)
14 beqz a4, 2f
15 add a3, a1, a4
17 REG_L a4, 0(a1)
25 REG_S a4, 0(a0)
45 andi a4, a2, ~(8-1)
46 beqz a4, 2f
47 add a3, a1, a4
49 lb a4, 0(a1)
57 sb a4, 0(a0)
H A Dentry.S382 li a4, TASK_THREAD_RA
383 add a3, a0, a4
384 add a4, a1, a4
402 REG_L ra, TASK_THREAD_RA_RA(a4)
403 REG_L sp, TASK_THREAD_SP_RA(a4)
404 REG_L s0, TASK_THREAD_S0_RA(a4)
405 REG_L s1, TASK_THREAD_S1_RA(a4)
406 REG_L s2, TASK_THREAD_S2_RA(a4)
407 REG_L s3, TASK_THREAD_S3_RA(a4)
408 REG_L s4, TASK_THREAD_S4_RA(a4)
[all …]
/linux/arch/xtensa/mm/
H A Dmisc.S63 __loopi a2, a4, PAGE_SIZE, 32
88 __endl a2, a4
125 mov a4, a2
143 idtlb a4
163 addi a6, a4, (PAGE_KERNEL | _PAGE_HW_WRITE)
175 1: __loopi a2, a4, PAGE_SIZE, 32
200 __endl a2, a4
231 mov a4, a2
237 idtlb a4
255 mov a4, a2
[all …]

123456789