/openbmc/u-boot/arch/mips/mach-mt7620/ |
H A D | lowlevel_init.S | 74 lw t2, 0(t5) 75 andi t2, t2, 0x1 76 bnez t2, CPLL_READY 89 li t2, ~0x0c 90 and t1, t1, t2 112 lw t2, 0x34(s0) 113 ori t2, BIT(10) 114 sw t2, 0x34(s0) 130 li t2, BIT(31) 131 or t4, t4, t2 [all …]
|
/openbmc/linux/drivers/ata/pata_parport/ |
H A D | bpck.c | 25 #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 …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | octeon_switch.S | 42 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 …]
|
/openbmc/linux/include/crypto/ |
H A D | aria.h | 343 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 …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | mxu_translate.c | 996 TCGv t0, t1, t2, t3; in gen_mxu_d16mul() local 1001 t2 = tcg_temp_new(); in gen_mxu_d16mul() 1020 tcg_gen_sextract_tl(t2, t3, 0, 16); in gen_mxu_d16mul() 1026 tcg_gen_mul_tl(t2, t0, t2); in gen_mxu_d16mul() 1030 tcg_gen_mul_tl(t2, t0, t2); in gen_mxu_d16mul() 1034 tcg_gen_mul_tl(t2, t1, t2); in gen_mxu_d16mul() 1038 tcg_gen_mul_tl(t2, t1, t2); in gen_mxu_d16mul() 1046 tcg_gen_shli_tl(t2, t2, 1); in gen_mxu_d16mul() 1067 tcg_gen_andi_tl(t0, t2, 0x1ffff); in gen_mxu_d16mul() 1070 tcg_gen_addi_tl(t2, t2, 0x8000); in gen_mxu_d16mul() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha512-armv4.pl | 75 $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 D | sha256-armv4.pl | 63 $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 …]
|
/openbmc/sdbusplus/test/vtable/ |
H A D | vtable.cpp | 34 constexpr bool operator==(const sd_bus_vtable& t1, const sd_bus_vtable& t2) in operator ==() argument 36 if (t1.type != t2.type || t1.flags != t2.flags) in operator ==() 44 return t1.x.start.element_size == t2.x.start.element_size && in operator ==() 45 t1.x.start.features == t2.x.start.features; in operator ==() 56 memcmp(&t2.x, allZeors, sizeof(t2.x)) == 0; in operator ==() 59 return strcmp(t1.x.method.member, t2.x.method.member) == 0 && in operator ==() 60 strcmp(t1.x.method.signature, t2.x.method.signature) == 0 && in operator ==() 61 strcmp(t1.x.method.result, t2.x.method.result) == 0 && in operator ==() 62 t1.x.method.handler == t2.x.method.handler && in operator ==() 63 t1.x.method.offset == t2.x.method.offset && in operator ==() [all …]
|
/openbmc/u-boot/arch/mips/mach-ath79/ar933x/ |
H A D | lowlevel_init.S | 87 li t2, 0xfffff7ff 88 and t1, t1, t2 95 li t2, 0x20 97 beqz t2, 1b 99 addi t2, t2, -1 149 li t2, 0xc07fffff 150 and t1, t1, t2 151 li t2, 0x800000 152 or t1, t1, t2 190 li t2, 0x80000000 [all …]
|
/openbmc/u-boot/board/imgtec/malta/ |
H A D | lowlevel_init.S | 111 li t2, MSC01_PBC_CS0CFG_DTYP_MSK 112 and t1, t2 121 li t2, -CONFIG_SYS_MEM_SIZE 123 sw t2, MSC01_BIU_MCMSK1L_OFS(t0) 125 sw t2, MSC01_BIU_MCMSK2L_OFS(t0) 129 li t2, -MALTA_MSC01_IP1_SIZE 131 sw t2, MSC01_BIU_IP1MSK1L_OFS(t0) 133 sw t2, MSC01_BIU_IP1MSK2L_OFS(t0) 137 li t2, -MALTA_MSC01_IP2_SIZE1 139 sw t2, MSC01_BIU_IP2MSK1L_OFS(t0) [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-inv.c | 33 MPI u, v, u1, u2 = NULL, u3, v1, v2 = NULL, v3, t1, t2 = NULL, t3; in mpi_invm() local 65 t2 = mpi_alloc_set_ui(1); in mpi_invm() 66 t2->sign = 1; in mpi_invm() 74 t2 = mpi_alloc_set_ui(0); in mpi_invm() 81 if (mpi_test_bit(t1, 0) || mpi_test_bit(t2, 0)) { in mpi_invm() 84 mpi_sub(t2, t2, u); in mpi_invm() 87 mpi_rshift(t2, t2, 1); in mpi_invm() 102 mpi_set(u2, t2); in mpi_invm() 108 mpi_sub(v2, u, t2); in mpi_invm() 116 mpi_sub(t2, u2, v2); in mpi_invm() [all …]
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_conntrack_tuple.h | 128 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 …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | stxcpy.S | 47 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 D | ev6-stxcpy.S | 58 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 D | stxncpy.S | 55 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 D | ev6-stxncpy.S | 66 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 …]
|
/openbmc/linux/arch/mips/dec/ |
H A D | int-handler.S | 135 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 …]
|
/openbmc/qemu/crypto/ |
H A D | aes.c | 1451 u32 s0, s1, s2, s3, t0, t1, t2, t3; in AES_encrypt() local 1471 …t2 = AES_Te0[s2 >> 24] ^ AES_Te1[(s3 >> 16) & 0xff] ^ AES_Te2[(s0 >> 8) & 0xff] ^ AES_Te3[s1 & 0x… in AES_encrypt() 1474 …s0 = AES_Te0[t0 >> 24] ^ AES_Te1[(t1 >> 16) & 0xff] ^ AES_Te2[(t2 >> 8) & 0xff] ^ AES_Te3[t3 & 0x… in AES_encrypt() 1475 …s1 = AES_Te0[t1 >> 24] ^ AES_Te1[(t2 >> 16) & 0xff] ^ AES_Te2[(t3 >> 8) & 0xff] ^ AES_Te3[t0 & 0x… in AES_encrypt() 1476 …s2 = AES_Te0[t2 >> 24] ^ AES_Te1[(t3 >> 16) & 0xff] ^ AES_Te2[(t0 >> 8) & 0xff] ^ AES_Te3[t1 & 0x… in AES_encrypt() 1477 …[t3 >> 24] ^ AES_Te1[(t0 >> 16) & 0xff] ^ AES_Te2[(t1 >> 8) & 0xff] ^ AES_Te3[t2 & 0xff] ^ rk[11]; in AES_encrypt() 1481 …t2 = AES_Te0[s2 >> 24] ^ AES_Te1[(s3 >> 16) & 0xff] ^ AES_Te2[(s0 >> 8) & 0xff] ^ AES_Te3[s1 & 0x… in AES_encrypt() 1484 …s0 = AES_Te0[t0 >> 24] ^ AES_Te1[(t1 >> 16) & 0xff] ^ AES_Te2[(t2 >> 8) & 0xff] ^ AES_Te3[t3 & 0x… in AES_encrypt() 1485 …s1 = AES_Te0[t1 >> 24] ^ AES_Te1[(t2 >> 16) & 0xff] ^ AES_Te2[(t3 >> 8) & 0xff] ^ AES_Te3[t0 & 0x… in AES_encrypt() 1486 …s2 = AES_Te0[t2 >> 24] ^ AES_Te1[(t3 >> 16) & 0xff] ^ AES_Te2[(t0 >> 8) & 0xff] ^ AES_Te3[t1 & 0x… in AES_encrypt() [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | entry.S | 25 move t2, sp 29 cfi_st t2, PT_R3 32 csrrd t2, LOONGARCH_CSR_PRMD 33 st.d t2, sp, PT_PRMD 34 csrrd t2, LOONGARCH_CSR_CRMD 35 st.d t2, sp, PT_CRMD 36 csrrd t2, LOONGARCH_CSR_EUEN 37 st.d t2, sp, PT_EUEN 38 csrrd t2, LOONGARCH_CSR_ECFG 39 st.d t2, sp, PT_ECFG [all …]
|
/openbmc/qemu/include/exec/ |
H A D | helper-gen.h.inc | 31 #define DEF_HELPER_FLAGS_2(name, flags, ret, t1, t2) \ 34 dh_arg_decl(t1, 1), dh_arg_decl(t2, 2)) \ 38 dh_arg(t1, 1), dh_arg(t2, 2)); \ 41 #define DEF_HELPER_FLAGS_3(name, flags, ret, t1, t2, t3) \ 44 dh_arg_decl(t1, 1), dh_arg_decl(t2, 2), dh_arg_decl(t3, 3)) \ 48 dh_arg(t1, 1), dh_arg(t2, 2), dh_arg(t3, 3)); \ 51 #define DEF_HELPER_FLAGS_4(name, flags, ret, t1, t2, t3, t4) \ 54 dh_arg_decl(t1, 1), dh_arg_decl(t2, 2), \ 59 dh_arg(t1, 1), dh_arg(t2, 2), \ 63 #define DEF_HELPER_FLAGS_5(name, flags, ret, t1, t2, t3, t4, t5) \ [all …]
|
/openbmc/qemu/host/include/aarch64/host/ |
H A D | bufferiszero.c.inc | 17 uint32x4_t t0, t1, t2, t3; 28 t2 = e[-5] | e[-4]; 32 REASSOC_BARRIER(t2, t3); 34 t2 |= t3; 35 REASSOC_BARRIER(t0, t2); 36 t0 |= t2; 54 t2 = p[4] | p[5]; 57 REASSOC_BARRIER(t2, t3); 59 t2 |= t3; 60 REASSOC_BARRIER(t0, t2); [all …]
|
/openbmc/linux/arch/riscv/lib/ |
H A D | memmove.S | 138 sll t2, t1, a7 139 or t2, t0, t2 140 REG_S t2, ((0 * SZREG) - (2 * SZREG))(t3) 147 sll t2, t0, a7 148 or t2, t1, t2 149 REG_S t2, ((1 * SZREG) - (2 * SZREG))(t3) 200 srl t2, t0, a6 201 or t2, t1, t2 202 REG_S t2, ( 1 * SZREG)(t4) 209 srl t2, t1, a6 [all …]
|
H A D | strlen.S | 62 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
|
/openbmc/linux/crypto/ |
H A D | sha512_generic.c | 101 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()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aes-spe-keys.S | 39 #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 …]
|