Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/linux-6.12.1/drivers/ata/pata_parport/
Dbpck.c25 #define t2(pat) {PC ^= pat; out_p(2,PC);} macro
46 w0(r & 0xf); w0(r); t2(2); t2(4); in bpck_read_regr()
48 t2(4); in bpck_read_regr()
52 w0(r & 0xf); w0(r); t2(2); in bpck_read_regr()
53 e2(); t2(0x20); in bpck_read_regr()
54 t2(4); h = r0(); in bpck_read_regr()
55 t2(1); t2(0x20); in bpck_read_regr()
78 t2(2); in bpck_write_regr()
80 o2(); t2(4); t2(1); in bpck_write_regr()
104 w0(0x40); t2(2); t2(1); in bpck_write_block()
[all …]
/linux-6.12.1/arch/mips/kernel/
Docteon_switch.S42 LONG_ADDI t2, a0, THREAD_CVMSEG /* Where to store CVMSEG to */
50 LONG_S t8, 0(t2) /* Store CVMSEG to thread storage */
51 LONG_ADDU t2, LONGSIZE*2 /* Increment loc in thread storage */
53 LONG_S t9, -LONGSIZE(t2)/* Store CVMSEG to thread storage */
77 set_saved_sp t0, t1, t2
104 dmfc2 t2, 0x0200
109 sd t2, OCTEON_CP2_CRC_POLY(a0)
123 dmfc2 t2, 0x0081
129 sd t2, OCTEON_CP2_3DES_KEY+8(a0)
130 dmfc2 t2, 0x0102
[all …]
/linux-6.12.1/include/crypto/
Daria.h343 static inline void aria_sbox_layer1_with_pre_diff(u32 *t0, u32 *t1, u32 *t2, in aria_sbox_layer1_with_pre_diff() argument
354 *t2 = s1[get_u8(*t2, 0)] ^ in aria_sbox_layer1_with_pre_diff()
355 s2[get_u8(*t2, 1)] ^ in aria_sbox_layer1_with_pre_diff()
356 x1[get_u8(*t2, 2)] ^ in aria_sbox_layer1_with_pre_diff()
357 x2[get_u8(*t2, 3)]; in aria_sbox_layer1_with_pre_diff()
365 static inline void aria_sbox_layer2_with_pre_diff(u32 *t0, u32 *t1, u32 *t2, in aria_sbox_layer2_with_pre_diff() argument
376 *t2 = x1[get_u8(*t2, 0)] ^ in aria_sbox_layer2_with_pre_diff()
377 x2[get_u8(*t2, 1)] ^ in aria_sbox_layer2_with_pre_diff()
378 s1[get_u8(*t2, 2)] ^ in aria_sbox_layer2_with_pre_diff()
379 s2[get_u8(*t2, 3)]; in aria_sbox_layer2_with_pre_diff()
[all …]
/linux-6.12.1/arch/arm/crypto/
Dsha512-armv4.pl75 $t2="r11";
102 ldr $t2,[sp,#$Hoff+0] @ h.lo
117 adds $Tlo,$Tlo,$t2
118 ldr $t2,[sp,#$Goff+0] @ g.lo
122 eor $t0,$t0,$t2
130 eor $t0,$t0,$t2
131 ldr $t2,[$Ktbl,#$lo] @ K[i].lo
139 adds $Tlo,$Tlo,$t2
140 and $t0,$t2,#0xff
143 ldr $t2,[sp,#$Boff+0] @ b.lo
[all …]
Dsha256-armv4.pl63 $t2="r12";
81 add $a,$a,$t2 @ h+=Maj(a,b,c) from the past
88 add $a,$a,$t2 @ h+=Maj(a,b,c) from the past
89 ldrb $t2,[$inp,#2]
91 orr $t1,$t1,$t2,lsl#8
92 ldrb $t2,[$inp],#4
98 orr $t1,$t1,$t2,lsl#24
103 ldr $t2,[$Ktbl],#4 @ *K256++
109 add $h,$h,$t2 @ h+=K256[i]
114 and $t2,$t2,#0xff
[all …]
/linux-6.12.1/include/net/netfilter/
Dnf_conntrack_tuple.h128 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_src_equal() argument
130 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal()
131 t1->src.u.all == t2->src.u.all && in __nf_ct_tuple_src_equal()
132 t1->src.l3num == t2->src.l3num); in __nf_ct_tuple_src_equal()
136 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_dst_equal() argument
138 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
139 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal()
140 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal()
144 const struct nf_conntrack_tuple *t2) in nf_ct_tuple_equal() argument
146 return __nf_ct_tuple_src_equal(t1, t2) && in nf_ct_tuple_equal()
[all …]
/linux-6.12.1/arch/alpha/lib/
Dstxcpy.S47 lda t2, -1 # e1 : build a mask against false zero
48 mskqh t2, a1, t2 # e0 : detection in the src word
50 ornot t1, t2, t2 # .. e1 :
52 cmpbge zero, t2, t8 # .. e1 : bits set iff null found
132 ldq_u t2, 8(a1) # e0 :
136 extqh t2, a1, t4 # e0 :
148 or t6, t2, t2 # e1 : already extracted before
149 cmpbge zero, t2, t8 # e0 : testing eos
157 extql t2, a1, t0 # e0 : position ho-bits of lo word
158 ldq_u t2, 8(a1) # .. e1 : read next high-order source word
[all …]
Dev6-stxcpy.S58 lda t2, -1 # E : build a mask against false zero
59 mskqh t2, a1, t2 # U : detection in the src word (stall)
61 ornot t1, t2, t2 # E : (stall)
64 cmpbge zero, t2, t8 # E : bits set iff null found
155 ldq_u t2, 8(a1) # L :
158 extqh t2, a1, t4 # U : (stall on a1)
171 or t6, t2, t2 # E : already extracted before (stall)
172 cmpbge zero, t2, t8 # E : testing eos (stall)
180 extql t2, a1, t0 # U : position ho-bits of lo word
181 ldq_u t2, 8(a1) # U : read next high-order source word
[all …]
Dstxncpy.S55 lda t2, -1 # e1 : build a mask against false zero
56 mskqh t2, a1, t2 # e0 : detection in the src word
58 ornot t1, t2, t2 # .. e1 :
60 cmpbge zero, t2, t8 # .. e1 : bits set iff null found
127 and a2, 7, t2 # e1 :
130 sll t10, t2, t10 # e0 : t10 = bitmask of last count byte
158 ldq_u t2, 8(a1) # e0 : load second src word
161 extqh t2, a1, t4 # e0 :
174 or t6, t2, t2 # .. e1 :
175 cmpbge zero, t2, t8 # e0 : find nulls in second partial
[all …]
Dev6-stxncpy.S66 lda t2, -1 # E : build a mask against false zero
67 mskqh t2, a1, t2 # U : detection in the src word (stall)
69 ornot t1, t2, t2 # E : (stall)
72 cmpbge zero, t2, t8 # E : bits set iff null found
160 and a2, 7, t2 # E : (stall)
164 sll t10, t2, t10 # U : t10 = bitmask of last count byte
197 ldq_u t2, 8(a1) # L : Latency=3 load second src word
200 extqh t2, a1, t4 # U : (3 cycle stall on t2)
215 or t6, t2, t2 # E : (stall)
217 cmpbge zero, t2, t8 # E : find nulls in second partial
[all …]
Dev67-strrchr.S35 and a1, 0xff, t2 # E : 00000000000000ch
41 or t2, t4, a1 # E : 000000000000chch
47 sll a1, 32, t2 # U : 0000chch00000000
51 or t2, t3, t2 # E : 0000chchchch0000
52 or a1, t2, a1 # E : chchchchchchchch
57 xor t0, a1, t2 # E : make bytes == c zero
60 cmpbge zero, t2, t3 # E : bits set iff byte == c
75 xor t0, a1, t2 # E :
78 cmpbge zero, t2, t3 # E : bits set iff byte == c
97 ctlz t8, t2 # U0 : Latency=3 (0x40 for t8=0)
[all …]
Dstrchr.S29 cmpbge zero, t0, t2 # .. e1 : bits set iff byte == zero
37 or t2, t3, t0 # e1 : bits set iff char match or zero match
45 cmpbge zero, t0, t2 # e0 : bits set iff byte == 0
47 or t2, t3, t0 # e0 :
56 and t0, 0xf0, t2 # e0 : binary search for that set bit
59 cmovne t2, 4, t2 # .. e1 :
62 addq t2, t3, t2 # e0 :
64 addq v0, t2, v0 # e0 :
/linux-6.12.1/arch/loongarch/lib/
Dtishift.S8 srli.d t2, a0, 1
11 srl.d t2, t2, t3
14 or t1, t2, t1
25 slli.d t2, a1, 1
27 sll.d t2, t2, t3
29 or t1, t2, t1
43 slli.d t2, a1, 1
46 sll.d t2, t2, t3
49 or t1, t2, t1
/linux-6.12.1/arch/mips/dec/
Dint-handler.S135 lw t2,cpu_fpu_mask
143 and t2,t0
144 bnez t2,fpu # handle FPU immediately
214 2: lw t2,(t1)
216 and t2,t0
217 beq zero,t2,2b
241 li t2,4 # nr of bits / 2
247 li t2,4 # nr of bits / 2
253 li t2,8 # nr of bits / 2
262 li t2,8 # nr of bits / 2
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Dentry.S27 move t2, sp
31 cfi_st t2, PT_R3
34 csrrd t2, LOONGARCH_CSR_PRMD
35 st.d t2, sp, PT_PRMD
36 csrrd t2, LOONGARCH_CSR_CRMD
37 st.d t2, sp, PT_CRMD
38 csrrd t2, LOONGARCH_CSR_EUEN
39 st.d t2, sp, PT_EUEN
40 csrrd t2, LOONGARCH_CSR_ECFG
41 st.d t2, sp, PT_ECFG
[all …]
/linux-6.12.1/arch/riscv/lib/
Dmemmove.S137 sll t2, t1, a7
138 or t2, t0, t2
139 REG_S t2, ((0 * SZREG) - (2 * SZREG))(t3)
146 sll t2, t0, a7
147 or t2, t1, t2
148 REG_S t2, ((1 * SZREG) - (2 * SZREG))(t3)
199 srl t2, t0, a6
200 or t2, t1, t2
201 REG_S t2, ( 1 * SZREG)(t4)
208 srl t2, t1, a6
[all …]
Dstrlen.S62 andi t2, a0, SZREG-1
68 sub t3, t3, t2
69 slli t2, t2, 3
79 SHIFT t1, t1, t2
101 addi t2, t0, SZREG
120 sub t2, t0, t2
123 add a0, a0, t2
Dstrncmp.S25 li t2, 0
27 beq a2, t2, 2f
33 addi t2, t2, 1
68 or t2, a0, a1
70 and t2, t2, SZREG-1
72 bnez t2, 3f
/linux-6.12.1/crypto/
Dsha512_generic.c101 u64 a, b, c, d, e, f, g, h, t1, t2; in sha512_transform() local
127 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha512_transform()
129 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha512_transform()
131 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha512_transform()
133 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha512_transform()
135 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha512_transform()
137 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha512_transform()
139 t2 = e0(c) + Maj(c,d,e); f+=t1; b=t1+t2; in sha512_transform()
141 t2 = e0(b) + Maj(b,c,d); e+=t1; a=t1+t2; in sha512_transform()
/linux-6.12.1/arch/powerpc/crypto/
Daes-spe-keys.S39 #define LS_BOX(r, t1, t2) \ argument
40 lis t2,PPC_AES_4K_ENCTAB@h; \
41 ori t2,t2,PPC_AES_4K_ENCTAB@l; \
42 rlwimi t2,r,4,20,27; \
43 lbz t1,8(t2); \
45 rlwimi t2,r,28,20,27; \
46 lbz t1,8(t2); \
48 rlwimi t2,r,20,20,27; \
49 lbz t1,8(t2); \
51 rlwimi t2,r,12,20,27; \
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dhyperv_clock.c53 u64 tsc_freq, r1, r2, t1, t2; in check_tsc_msr_rdtsc() local
65 t2 = rdmsr(HV_X64_MSR_TIME_REF_COUNT); in check_tsc_msr_rdtsc()
68 GUEST_ASSERT(r2 > r1 && t2 > t1); in check_tsc_msr_rdtsc()
71 delta_ns = ((t2 - t1) * 100) - ((r2 - r1) * 1000000000 / tsc_freq); in check_tsc_msr_rdtsc()
76 GUEST_ASSERT(delta_ns * 100 < (t2 - t1) * 100); in check_tsc_msr_rdtsc()
86 u64 r1, r2, t1, t2; in check_tsc_msr_tsc_page() local
96 t2 = get_tscpage_ts(tsc_page); in check_tsc_msr_tsc_page()
98 GUEST_ASSERT(r2 >= t1 && r2 - t2 < 100000); in check_tsc_msr_tsc_page()
178 u64 tsc_freq, r1, r2, t1, t2; in host_check_tsc_msr_rdtsc() local
190 t2 = vcpu_get_msr(vcpu, HV_X64_MSR_TIME_REF_COUNT); in host_check_tsc_msr_rdtsc()
[all …]
/linux-6.12.1/arch/mips/lib/
Dcsum_partial.S27 #undef t2
31 #define t2 $10 macro
113 move t2, a1
190 andi t2, a1, 0x40
204 beqz t2, 1f
205 andi t2, a1, 0x20
213 beqz t2, .Ldo_end_words
223 andi t2, a1, 0x3
237 move a1, t2
262 lbu t2, (src)
[all …]
/linux-6.12.1/arch/arm64/crypto/
Dsha512-armv8.pl104 ($t0,$t1,$t2,$t3)=map("$reg_t$_",(16,17,19,28));
141 add $h,$h,$t2 // h+=K[i]
144 bic $t2,$g,$e
146 orr $t1,$t1,$t2 // Ch(e,f,g)
147 eor $t2,$a,$b // a^b, b^c in next round
153 and $t3,$t3,$t2 // (b^c)&=(a^b)
158 ldr $t3,[$Ktbl],#$SZ // *K++, $t2 in next round
163 add $h,$h,$t2 // h+=K[i]
167 bic $t2,$g,$e
172 orr $t1,$t1,$t2 // Ch(e,f,g)
[all …]
/linux-6.12.1/arch/mips/include/asm/mach-ip27/
Dkernel-entry-init.h38 dsll t2, NASID_SHFT # Same for data nasid
40 or t2, t2, t0 # Physical load address of kernel data
42 dsrl t2, 12 # 4K pfn
44 dsll t2, 6 # Get pfn into place
49 or t0, t0, t2
69 move t2, t1 # text and data are here
84 lh t2, KV_RW_NASID_OFFSET(t0)
/linux-6.12.1/arch/x86/crypto/
Dcamellia-aesni-avx2-asm_64.S62 #define roundsm32(x0, x1, x2, x3, x4, x5, x6, x7, t0, t1, t2, t3, t4, t5, t6, \ argument
71 vbroadcasti128 .Lpre_tf_lo_s4(%rip), t2; \
90 filter_8bit(x3, t2, t3, t7, t4); \
91 filter_8bit(x6, t2, t3, t7, t4); \
93 vextracti128 $1, x6, t2##_x; \
114 vaesenclast t4##_x, t2##_x, t2##_x; \
115 vinserti128 $1, t2##_x, x6, x6; \
117 vextracti128 $1, x4, t2##_x; \
130 vaesenclast t4##_x, t2##_x, t2##_x; \
131 vinserti128 $1, t2##_x, x4, x4; \
[all …]

12345678910>>...12