Home
last modified time | relevance | path

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

12345678910

/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 …]
H A Dscall64-n64.S57 dsubu t2, v0, __NR_64_Linux
58 sltiu t0, t2, __NR_64_Linux_syscalls
61 dsll t0, t2, 3 # offset into table
62 dla t2, sys_call_table
63 daddu t0, t2, t0
64 ld t2, (t0) # syscall routine
65 beqz t2, illegal_syscall
67 jalr t2 # Do The Real Thing (TM)
/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/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/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 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/tools/testing/selftests/kvm/x86/
H A 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/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/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/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/alpha/include/asm/
H A Dword-at-a-time.h42 unsigned long t1, t2, t3; in find_zero()
47 t2 = bits & 0xcc; in find_zero()
50 if (t2) t2 = 2; in find_zero()
52 return t1 + t2 + t3; in find_zero()
/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()
/linux/arch/mips/include/asm/mach-loongson64/
H A Dkernel-entry-init.h30 li t2, PRID_IMP_LOONGSON_64G
31 beq t1, t2, 1f
61 li t2, PRID_IMP_LOONGSON_64G
62 beq t1, t2, 1f
85 dext t2, t1, 2, 2
86 dins a0, t2, 44, 2 /* insert node id */
92 1: dins a0, t2, 14, 2 /* Loongson-3B1000/3B1500 need bit 15~14 */
/linux/arch/powerpc/crypto/
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/tools/perf/tests/
H A Dthread-maps-share.c14 struct thread *t1, *t2, *t3; in test__thread_maps_share() local
36 t2 = machine__findnew_thread(machine, 0, 2); in test__thread_maps_share()
43 leader && t1 && t2 && t3 && other); in test__thread_maps_share()
50 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t2))); in test__thread_maps_share()
68 machine__remove_thread(machine, t2); in test__thread_maps_share()
82 thread__put(t2); in test__thread_maps_share()

12345678910