Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/linux-6.6.21/arch/xtensa/mm/
Dmisc.S36 __loopi a2, a7, PAGE_SIZE, 32
37 s32i a3, a2, 0
38 s32i a3, a2, 4
39 s32i a3, a2, 8
40 s32i a3, a2, 12
41 s32i a3, a2, 16
42 s32i a3, a2, 20
43 s32i a3, a2, 24
44 s32i a3, a2, 28
45 __endla a2, a7, 32
[all …]
/linux-6.6.21/arch/xtensa/lib/
Dchecksum.S47 extui a5, a2, 0, 2
57 add a5, a5, a2 /* a5 = end of last 32-byte chunk */
60 l32i a6, a2, 0
61 l32i a7, a2, 4
64 l32i a6, a2, 8
65 l32i a7, a2, 12
68 l32i a6, a2, 16
69 l32i a7, a2, 20
72 l32i a6, a2, 24
73 l32i a7, a2, 28
[all …]
Dmulsi3.S38 mull a2, a2, a3
41 or a4, a2, a3
44 mul16u a2, a2, a3
47 srai a4, a2, 16
50 mul16u a6, a5, a2
51 mul16u a4, a2, a3
54 add a2, a7, a4
57 mul.aa.hl a2, a3
58 mula.aa.lh a2, a3
60 umul.aa.ll a2, a3
[all …]
Ddivsi3.S10 quos a2, a2, a3
12 xor a7, a2, a3 /* sign = dividend ^ divisor */
13 do_abs a6, a2, a4 /* udividend = abs (dividend) */
16 do_nsau a5, a6, a2, a8 /* udividend_shift = nsau (udividend) */
17 do_nsau a4, a3, a2, a8 /* udivisor_shift = nsau (udivisor) */
23 movi a2, 0 /* quotient = 0 */
32 addi a2, a2, 1
34 slli a2, a2, 1
43 addi a2, a2, 1 /* increment if udividend >= udivisor */
45 neg a5, a2
[all …]
Dudivsi3.S10 quou a2, a2, a3
14 mov a6, a2 /* keep dividend in a6 */
15 do_nsau a5, a6, a2, a7 /* dividend_shift = nsau (dividend) */
16 do_nsau a4, a3, a2, a7 /* divisor_shift = nsau (divisor) */
22 movi a2, 0 /* quotient = 0 */
31 addi a2, a2, 1
33 slli a2, a2, 1
42 addi a2, a2, 1 /* increment quotient if dividend >= divisor */
53 movi a2, 1
64 movi a2, 0
Dmodsi3.S10 rems a2, a2, a3
12 mov a7, a2 /* save original (signed) dividend */
13 do_abs a2, a2, a4 /* udividend = abs (dividend) */
16 do_nsau a5, a2, a6, a8 /* udividend_shift = nsau (udividend) */
29 bltu a2, a3, .Lzerobit
30 sub a2, a2, a3
40 bltu a2, a3, .Lreturn
41 sub a2, a2, a3 /* subtract again if udividend >= udivisor */
44 neg a2, a2 /* if (dividend < 0), return -udividend */
58 movi a2, 0
Dbswapdi2.S10 srli a4, a2, 16
11 src a4, a4, a2
13 src a4, a2, a4
14 srli a2, a3, 16
15 src a2, a2, a3
16 src a2, a2, a2
17 src a2, a3, a2
Dumodsi3.S10 remu a2, a2, a3
14 do_nsau a5, a2, a6, a7 /* dividend_shift = nsau (dividend) */
27 bltu a2, a3, .Lzerobit
28 sub a2, a2, a3
38 bltu a2, a3, .Lreturn
39 sub a2, a2, a3 /* subtract once more if dividend >= divisor */
53 movi a2, 0
/linux-6.6.21/arch/csky/abiv2/
Dstrcpy.S14 ldw a2, (a1)
15 tstnbz a2
17 stw a2, (a3)
19 ldw a2, (a1, 4)
20 tstnbz a2
22 stw a2, (a3, 4)
24 ldw a2, (a1, 8)
25 tstnbz a2
27 stw a2, (a3, 8)
29 ldw a2, (a1, 12)
[all …]
Dstrcmp.S10 xor a2, a3, a1
11 andi a2, 0x3
12 bnez a2, 7f
86 xtrb0 a2, t1
87 subu a0, a2
88 bez a2, 4f
93 xtrb1 a2, t1
94 subu a0, a2
95 bez a2, 4f
100 xtrb2 a2, t1
[all …]
Dmcount.S31 stw a2, (sp, 8)
40 ldw a2, (sp, 8)
71 stw a2, (sp, 8)
79 ldw a2, (sp, 8)
108 lrw a2, function_trace_op
109 ldw a2, (a2, 0)
147 lrw a2, function_trace_op
148 ldw a2, (a2, 0)
170 mov a2, r8
195 lrw a2, function_trace_op
[all …]
/linux-6.6.21/arch/riscv/lib/
Dtishift.S10 beqz a2, .L1
12 sub a5,a5,a2
15 sext.w a2,a2
16 srl a0,a0,a2
18 srl a2,a1,a2
20 mv a1,a2
25 li a2,0
27 mv a1,a2
33 beqz a2, .L3
35 sub a5,a5,a2
[all …]
/linux-6.6.21/arch/xtensa/kernel/
Dhead.S58 wsr a2, excsave1
89 rsr a2, excsave1
91 bltu a2, a3, 1f
92 sub a2, a2, a3
94 bgeu a2, a3, 1f
96 add a2, a2, a3
97 wsr a2, excsave1
118 movi a2, VECBASE_VADDR
119 wsr a2, vecbase
159 movi a2, XCHAL_INTTYPE_MASK_SOFTWARE | XCHAL_INTTYPE_MASK_EXTERN_EDGE
[all …]
Dentry.S127 s32i a1, a2, PT_AREG1
128 s32i a0, a2, PT_AREG2
129 s32i a3, a2, PT_AREG3
130 mov a1, a2
137 movi a2, 0
138 wsr a2, depc # terminate user stack trace with 0
140 xsr a2, icountlevel
142 s32i a2, a1, PT_ICOUNTLEVEL
145 rur a2, threadptr
146 s32i a2, a1, PT_THREADPTR
[all …]
Dvectors.S75 wsr a2, depc # save a2
76 l32i a2, a3, EXC_TABLE_KSTK # load kernel stack to a2
77 s32i a0, a2, PT_AREG0 # save a0 to ESF
79 s32i a0, a2, PT_DEPC # mark it as a regular exception
102 wsr a2, depc # save a2
103 addi a2, a1, -16 - PT_KERNEL_SIZE # adjust stack pointer
104 s32i a0, a2, PT_AREG0 # save a0 to ESF
106 s32i a0, a2, PT_DEPC # mark it as a regular exception
213 s32i a2, a3, EXC_TABLE_DOUBLE_SAVE
217 rsr a2, ps
[all …]
Dcoprocessor.S52 xchal_cp##x##_store a2 a3 a4 a5 a6; \
60 xchal_cp##x##_load a2 a3 a4 a5 a6; \
124 s32i a3, a2, PT_AREG3
132 GET_THREAD_INFO (a0, a2)
146 l32i a3, a2, PT_AREG3
156 s32i a1, a2, PT_AREG1
157 s32i a3, a2, PT_SAR
158 mov a1, a2
159 rsr a2, depc
160 s32i a2, a1, PT_AREG2
[all …]
Dalign.S309 s32i a3, a2, PT_AREG0; _j .Lexit; .align 8
311 s32i a3, a2, PT_AREG2; _j .Lexit; .align 8
312 s32i a3, a2, PT_AREG3; _j .Lexit; .align 8
313 s32i a3, a2, PT_AREG4; _j .Lexit; .align 8
314 s32i a3, a2, PT_AREG5; _j .Lexit; .align 8
315 s32i a3, a2, PT_AREG6; _j .Lexit; .align 8
316 s32i a3, a2, PT_AREG7; _j .Lexit; .align 8
317 s32i a3, a2, PT_AREG8; _j .Lexit; .align 8
328 l32i a3, a2, PT_AREG0; _j .Lstore_w; .align 8
330 l32i a3, a2, PT_AREG2; _j .Lstore_w; .align 8
[all …]
/linux-6.6.21/arch/mips/lib/
Dmemset.S95 sltiu t0, a2, STORSIZE /* very small region? */
126 PTR_ADDU a2, t0 /* correct size */
136 PTR_ADDU a2, t0 /* correct size */
154 1: ori t1, a2, 0x3f /* # of full blocks */
156 andi t0, a2, 0x40-STORSIZE
184 2: andi a2, STORMASK /* At most one long to go */
187 beqz a2, 1f
189 PTR_ADDU a0, a2 /* What's left */
198 PTR_SUBU t0, $0, a2
200 move a2, zero /* No remaining longs */
[all …]
/linux-6.6.21/arch/loongarch/lib/
Dunaligned.S27 beqz a2, 5f
30 addi.d t0, a2, -1
43 addi.d a2, a2, -1
44 bgtz a2, 2b
47 move a0, a2
66 beqz a2, 3f
72 addi.d a2, a2, -1
74 bgtz a2, 1b
76 move a0, a2
Dmemset.S45 beqz a2, 2f
49 addi.d a2, a2, -1
50 bgt a2, zero, 1b
68 sltui t0, a2, 9
71 add.d a2, a0, a2
78 addi.d a4, a2, -64
96 addi.d a4, a2, -32
105 addi.d a4, a2, -16
112 addi.d a4, a2, -8
117 st.d a1, a2, -8
[all …]
Dmemmove.S46 beqz a2, 2f
48 add.d a0, a0, a2
49 add.d a1, a1, a2
55 addi.d a2, a2, -1
56 bgt a2, zero, 1b
71 sltui t0, a2, 9
74 add.d a3, a1, a2
75 add.d a2, a0, a2
80 andi t1, a2, 7
82 sub.d a5, a2, t1
[all …]
/linux-6.6.21/arch/riscv/kernel/
Dhead.S79 la a2, _start
80 sub a1, a1, a2
84 la a2, 1f
85 add a2, a2, a1
86 csrw CSR_TVEC, a2
89 srl a2, a0, PAGE_SHIFT
93 or a2, a2, a1
125 csrw CSR_SATP, a2
155 li a2, SBI_HART_BOOT_TASK_PTR_OFFSET
156 XIP_FIXUP_OFFSET a2
[all …]
/linux-6.6.21/include/linux/
Darm-smccc.h257 unsigned long a2; member
269 unsigned long a2; member
352 unsigned long a2, unsigned long a3, unsigned long a4,
357 unsigned long a2, unsigned long a3, unsigned long a4, in __arm_smccc_smc() argument
378 unsigned long a2, unsigned long a3, unsigned long a4,
438 #define __declare_arg_4(a0, a1, a2, res) \ argument
440 typeof(a2) __a2 = a2; \
444 register typeof(a2) arg2 asm("r2") = __a2
446 #define __declare_arg_5(a0, a1, a2, a3, res) \ argument
448 typeof(a2) __a2 = a2; \
[all …]
/linux-6.6.21/drivers/firmware/
Dstratix10-svc.c226 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
227 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_data_claim()
256 unsigned long a0, a1, a2; in svc_thread_cmd_config_status() local
267 a2 = (unsigned long)p_data->size; in svc_thread_cmd_config_status()
274 ctrl->invoke_fn(a0, a1, a2, 0, 0, 0, 0, 0, &res); in svc_thread_cmd_config_status()
293 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_config_status()
294 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_config_status()
299 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_config_status()
300 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_config_status()
350 cb_data->kaddr2 = &res.a2; in svc_thread_recv_status_ok()
[all …]
/linux-6.6.21/arch/mips/kernel/
Dlinux32.c54 unsigned long, __dummy, unsigned long, a2, unsigned long, a3)
56 return ksys_truncate(path, merge_64(a2, a3));
60 unsigned long, a2, unsigned long, a3)
62 return ksys_ftruncate(fd, merge_64(a2, a3));
102 asmlinkage ssize_t sys32_readahead(int fd, u32 pad0, u64 a2, u64 a3, in sys32_readahead() argument
105 return ksys_readahead(fd, merge_64(a2, a3), count); in sys32_readahead()
109 unsigned long a2, unsigned long a3, in sys32_sync_file_range() argument
114 merge_64(a2, a3), merge_64(a4, a5), in sys32_sync_file_range()
119 unsigned long a2, unsigned long a3, in sys32_fadvise64_64() argument
124 merge_64(a2, a3), merge_64(a4, a5), in sys32_fadvise64_64()

12345678910>>...14