Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/ata/pata_parport/
H A 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/arch/mips/kernel/
H A 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/include/crypto/
H A 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/lib/crypto/arm/
H A 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 …]
H A 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/include/net/netfilter/
H A 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/arch/alpha/lib/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 :
H A Dstrrchr.S36 xor t0, a1, t2 # e0 : make bytes == c zero
38 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
49 xor t0, a1, t2 # e0 :
51 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
71 and t8, 0xf0, t2 # e0 : binary search for the high bit set
72 cmovne t2, t2, t8 # .. e1 (zdb)
73 cmovne t2, 4, t2 # e0 :
79 addq t2, t1, t1 # e0 :
/linux/arch/mips/dec/
H A 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/arch/loongarch/kernel/
H A Dentry.S27 move t2, sp
31 cfi_st t2, PT_R3
34 csrrd t2, LOONGARCH_CSR_PRMD
35 LONG_S t2, sp, PT_PRMD
36 csrrd t2, LOONGARCH_CSR_CRMD
37 LONG_S t2, sp, PT_CRMD
38 csrrd t2, LOONGARCH_CSR_EUEN
39 LONG_S t2, sp, PT_EUEN
40 csrrd t2, LOONGARCH_CSR_ECFG
41 LONG_S t2, sp, PT_ECFG
[all …]
/linux/arch/riscv/lib/
H A 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 …]
H A Dstrlen.S63 andi t2, a0, SZREG-1
69 sub t3, t3, t2
70 slli t2, t2, 3
80 SHIFT t1, t1, t2
102 addi t2, t0, SZREG
121 sub t2, t0, t2
124 add a0, a0, t2
H A Dstrncmp.S26 li t2, 0
28 beq a2, t2, 2f
34 addi t2, t2, 1
69 or t2, a0, a1
71 and t2, t2, SZREG-1
73 bnez t2, 3f
/linux/arch/powerpc/crypto/
H A 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 …]
H A Dghashp10-ppc.pl57 my ($zero,$t0,$t1,$t2,$xC2,$H,$Hh,$Hl,$lemask)=map("v$_",(4..12));
90 vspltisb $t2,7
94 vsrab $t1,$t1,$t2 # broadcast carry bit
132 vspltisb $t2,7
136 vsrab $t1,$t1,$t2 # broadcast carry bit
157 vpmsumd $t2,$Xl,$xC2 # 1st reduction phase
165 vxor $Xl,$Xl,$t2
190 vpmsumd $t2,$Xl,$xC2 # 1st reduction phase
204 vxor $Xl,$Xl,$t2
263 vpmsumd $t2,$Xl,$xC2 # 1st phase
[all …]
/linux/arch/mips/lib/
H A 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/lib/crypto/arm64/
H A Dsha2-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/arch/mips/include/asm/mach-ip27/
H A 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/arch/arm/crypto/
H A Daes-neonbs-core.S169 y0, y1, y2, y3, t0, t1, t2, t3
172 mul_gf4 \x0, \x1, \y0, \y1, \t2, \t3
175 mul_gf4_n_gf4 \t0, \t1, \y0, \y1, \t3, \x2, \x3, \y2, \y3, \t2
182 mul_gf4_n_gf4 \t0, \t1, \y0, \y1, \t3, \x6, \x7, \y2, \y3, \t2
185 mul_gf4 \x4, \x5, \y0, \y1, \t2, \t3
193 t0, t1, t2, t3, s0, s1, s2, s3
200 vorr \t2, \t0, \t1
211 veor \t2, \t2, \s1
216 veor \t2, \t2, \s2
227 veor \t2, \t2, \s1
[all …]
/linux/lib/zlib_dfltcc/
H A Ddfltcc_util.h39 Byte *t2 = op1 ? *op1 : NULL; in dfltcc() local
40 unsigned char *orig_t2 = t2; in dfltcc()
46 register Byte *r2 __asm__("r2") = t2; in dfltcc()
64 t2 = r2; t3 = r3; t4 = r4; t5 = r5; in dfltcc()
81 t2 - orig_t2 + in dfltcc()
86 kmsan_unpoison_memory(orig_t2, t2 - orig_t2); in dfltcc()
91 *op1 = t2; in dfltcc()

1234567891011