| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-asm.h | 57 #define SM4_CRYPT_BLK4_BE(b0, b1, b2, b3) \ argument 60 sm4e b2.4s, v24.4s; \ 64 sm4e b2.4s, v25.4s; \ 68 sm4e b2.4s, v26.4s; \ 72 sm4e b2.4s, v27.4s; \ 76 sm4e b2.4s, v28.4s; \ 80 sm4e b2.4s, v29.4s; \ 84 sm4e b2.4s, v30.4s; \ 88 sm4e b2.4s, v31.4s; \ 92 rev64 b2.4s, b2.4s; \ [all …]
|
| H A D | sm4-neon-core.S | 131 #define SM4_CRYPT_BLK4_BE(b0, b1, b2, b3) \ argument 137 ROUND4(0, b0, b1, b2, b3); \ 138 ROUND4(1, b1, b2, b3, b0); \ 139 ROUND4(2, b2, b3, b0, b1); \ 140 ROUND4(3, b3, b0, b1, b2); \ 146 rev32 b2.16b, b2.16b; \ 149 rotate_clockwise_4x4(b0, b1, b2, b3); \ 154 #define SM4_CRYPT_BLK4(b0, b1, b2, b3) \ argument 157 rev32 b2.16b, b2.16b; \ 159 SM4_CRYPT_BLK4_BE(b0, b1, b2, b3); [all …]
|
| H A D | aes-neonbs-core.S | 26 .macro in_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 27 eor \b2, \b2, \b1 30 eor \b6, \b6, \b2 37 eor \b2, \b2, \b7 42 .macro out_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 46 eor \b2, \b2, \b0 52 eor \b2, \b2, \b5 56 .macro inv_in_bs_ch, b6, b1, b2, b4, b7, b0, b3, b5 61 eor \b2, \b2, \b5 64 eor \b2, \b2, \b0 [all …]
|
| H A D | sm4-ce-gcm-core.S | 133 #define SM4_CRYPT_PMUL_128x128_BLK3(b0, b1, b2, \ argument 139 rev32 b2.16b, b2.16b; \ 145 sm4e b2.4s, v24.4s; \ 151 sm4e b2.4s, v25.4s; \ 157 sm4e b2.4s, v26.4s; \ 163 sm4e b2.4s, v27.4s; \ 169 sm4e b2.4s, v28.4s; \ 175 sm4e b2.4s, v29.4s; \ 181 sm4e b2.4s, v30.4s; \ 187 sm4e b2.4s, v31.4s; \ [all …]
|
| /linux/drivers/atm/ |
| H A D | fore200e.h | 71 #define BITFIELD2(b1, b2) b1; b2; argument 72 #define BITFIELD3(b1, b2, b3) b1; b2; b3; argument 73 #define BITFIELD4(b1, b2, b3, b4) b1; b2; b3; b4; argument 74 #define BITFIELD5(b1, b2, b3, b4, b5) b1; b2; b3; b4; b5; argument 75 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b1; b2; b3; b4; b5; b6; argument 77 #define BITFIELD2(b1, b2) b2; b1; argument 78 #define BITFIELD3(b1, b2, b3) b3; b2; b1; argument 79 #define BITFIELD4(b1, b2, b3, b4) b4; b3; b2; b1; argument 80 #define BITFIELD5(b1, b2, b3, b4, b5) b5; b4; b3; b2; b1; argument 81 #define BITFIELD6(b1, b2, b3, b4, b5, b6) b6; b5; b4; b3; b2; b1; argument
|
| /linux/drivers/isdn/mISDN/ |
| H A D | dsp_biquad.h | 20 int32_t b2; member 27 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument 33 bq->b2 = b2; in biquad2_init() 45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
|
| /linux/arch/arm/include/asm/ |
| H A D | xor.h | 26 : "=r" (src), "=r" (b1), "=r" (b2) \ 28 __XOR(a1, b1); __XOR(a2, b2); 32 : "=r" (src), "=r" (b1), "=r" (b2), "=r" (b3), "=r" (b4) \ 34 __XOR(a1, b1); __XOR(a2, b2); __XOR(a3, b3); __XOR(a4, b4) 56 register unsigned int b2 __asm__("r9"); in xor_arm4regs_2() 78 register unsigned int b2 __asm__("r9"); in xor_arm4regs_3() 100 register unsigned int b2 __asm__("lr"); in xor_arm4regs_4() 122 register unsigned int b2 __asm__("lr"); in xor_arm4regs_5()
|
| /linux/lib/crypto/ |
| H A D | polyval.c | 70 u64 b2 = b & 0x4444444444444444; in clmul64() local 75 (a2 * (u128)b2) ^ (a3 * (u128)b1); in clmul64() 77 (a2 * (u128)b3) ^ (a3 * (u128)b2); in clmul64() 78 u128 c2 = (a0 * (u128)b2) ^ (a1 * (u128)b1) ^ in clmul64() 80 u128 c3 = (a0 * (u128)b3) ^ (a1 * (u128)b2) ^ in clmul64() 120 u32 b2 = b & 0x44444444; in clmul32() local 124 (a2 * (u64)b2) ^ (a3 * (u64)b1); in clmul32() 126 (a2 * (u64)b3) ^ (a3 * (u64)b2); in clmul32() 127 u64 c2 = (a0 * (u64)b2) ^ (a1 * (u64)b1) ^ in clmul32() 129 u64 c3 = (a0 * (u64)b3) ^ (a1 * (u64)b2) ^ in clmul32()
|
| /linux/arch/s390/include/asm/ |
| H A D | fpu-insn-asm.h | 288 GR_NUM b2, "%r0" 291 .word (b2 << 12) | (\disp) 320 GR_NUM b2, \base 322 .word (b2 << 12) | (\disp) 330 GR_NUM b2, \base 332 .word (b2 << 12) | (\disp) 371 GR_NUM b2, \base 374 .word (b2 << 12) | (\disp) 394 GR_NUM b2, \base 396 .word (b2 << 12) | (\disp) [all …]
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 809 char b1[20], b2[20], b3[20], b4[20]; in totals() local 985 store_size(b1, total_size);store_size(b2, total_waste); in totals() 987 printf("Memory used: %15s # Loss : %15s MRatio:%6s%%\n", b1, b2, b3); in totals() 989 store_size(b1, total_objects);store_size(b2, total_partobj); in totals() 991 printf("# Objects : %15s # PartObj: %15s ORatio:%6s%%\n", b1, b2, b3); in totals() 999 store_size(b1, avg_objects);store_size(b2, min_objects); in totals() 1002 b1, b2, b3, b4); in totals() 1004 store_size(b1, avg_slabs);store_size(b2, min_slabs); in totals() 1007 b1, b2, b3, b4); in totals() 1009 store_size(b1, avg_partial);store_size(b2, min_partial); in totals() [all …]
|
| /linux/lib/crypto/riscv/ |
| H A D | chacha-riscv64-zvkb.S | 78 a2, b2, c2, d2, a3, b3, c3, d3 82 vadd.vv \a2, \a2, \b2 100 vxor.vv \b2, \b2, \c2 104 vror.vi \b2, \b2, 32 - 12 110 vadd.vv \a2, \a2, \b2 128 vxor.vv \b2, \b2, \c2 132 vror.vi \b2, \b2, 32 - 7
|
| /linux/arch/powerpc/kernel/vdso/ |
| H A D | vgetrandom-chacha.S | 52 .macro quarterround4 a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 a4 b4 c4 d4 54 add \a2, \a2, \b2 70 xor \b2, \b2, \c2 74 rotlwi \b2, \b2, 12 78 add \a2, \a2, \b2 94 xor \b2, \b2, \c2 98 rotlwi \b2, \b2, 7 103 #define QUARTERROUND4(a1,b1,c1,d1,a2,b2,c2,d2,a3,b3,c3,d3,a4,b4,c4,d4) \ argument 105 state##a2 state##b2 state##c2 state##d2 \
|
| /linux/rust/quote/ |
| H A D | lib.rs | 857 ($($b3:tt)*) ($($b2:tt)*) ($($b1:tt)*) 862 $crate::quote_token_with_context!{$tokens $b3 $b2 $b1 $curr $a1 $a2 $a3} 872 ($($b3:tt)*) ($($b2:tt)*) ($($b1:tt)*) 877 $crate::quote_token_with_context_spanned!{$tokens $span $b3 $b2 $b1 $curr $a1 $a2 $a3} 888 ($tokens:ident $b3:tt $b2:tt $b1:tt @ $a1:tt $a2:tt $a3:tt) => {}; 891 ($tokens:ident $b3:tt $b2:tt $b1:tt (#) ( $($inner:tt)* ) * $a3:tt) => {{ 908 ($tokens:ident $b3:tt $b2:tt # (( $($inner:tt)* )) * $a2:tt $a3:tt) => {}; 913 ($tokens:ident $b3:tt $b2:tt $b1:tt (#) ( $($inner:tt)* ) $sep:tt *) => {{ 929 ($tokens:ident $b3:tt $b2:tt # (( $($inner:tt)* )) $sep:tt * $a3:tt) => {}; 942 ($tokens:ident $b3:tt $b2:tt $b1:tt (#) $var:ident $a2:tt $a3:tt) => { [all …]
|
| /linux/crypto/ |
| H A D | xor.c | 83 do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2) in do_xor_speed() argument 101 tmpl->do_2(BENCH_SIZE, b1, b2); in do_xor_speed() 118 void *b1, *b2; in calibrate_xor_blocks() local 135 b2 = b1 + 2*PAGE_SIZE + BENCH_SIZE; in calibrate_xor_blocks() 142 #define xor_speed(templ) do_xor_speed((templ), b1, b2) in calibrate_xor_blocks()
|
| /linux/arch/x86/lib/ |
| H A D | insn.c | 206 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes() local 208 if (inat_is_xop_prefix(attr) && X86_MODRM_REG(b2) == 0) { in insn_get_prefixes() 217 if (X86_MODRM_MOD(b2) != 3) in insn_get_prefixes() 221 insn_set_byte(&insn->vex_prefix, 1, b2); in insn_get_prefixes() 223 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes() 224 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes() 225 b2 = peek_nbyte_next(insn_byte_t, insn, 3); in insn_get_prefixes() 226 insn_set_byte(&insn->vex_prefix, 3, b2); in insn_get_prefixes() 229 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes() 233 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes() [all …]
|
| /linux/tools/arch/x86/lib/ |
| H A D | insn.c | 206 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes() local 208 if (inat_is_xop_prefix(attr) && X86_MODRM_REG(b2) == 0) { in insn_get_prefixes() 217 if (X86_MODRM_MOD(b2) != 3) in insn_get_prefixes() 221 insn_set_byte(&insn->vex_prefix, 1, b2); in insn_get_prefixes() 223 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes() 224 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes() 225 b2 = peek_nbyte_next(insn_byte_t, insn, 3); in insn_get_prefixes() 226 insn_set_byte(&insn->vex_prefix, 3, b2); in insn_get_prefixes() 229 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes() 233 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes() [all …]
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_guc_buf_kunit.c | 158 struct xe_guc_buf b1, b2; in test_overlap() local 165 b2 = xe_guc_buf_reserve(cache, dwords); in test_overlap() 168 p2 = xe_guc_buf_cpu_ptr(b2); in test_overlap() 171 a2 = xe_guc_buf_gpu_addr(b2); in test_overlap() 186 xe_guc_buf_release(b2); in test_overlap() 192 struct xe_guc_buf b1, b2; in test_reusable() local 202 b2 = xe_guc_buf_reserve(cache, xe_guc_buf_cache_dwords(cache)); in test_reusable() 203 KUNIT_EXPECT_PTR_EQ(test, p1, xe_guc_buf_cpu_ptr(b2)); in test_reusable() 204 KUNIT_EXPECT_EQ(test, a1, xe_guc_buf_gpu_addr(b2)); in test_reusable() 205 xe_guc_buf_release(b2); in test_reusable()
|
| /linux/drivers/mtd/nand/ |
| H A D | ecc-sw-hamming.c | 378 unsigned char b0, b1, b2, bit_addr; in ecc_sw_hamming_correct() local 394 b2 = read_ecc[2] ^ calc_ecc[2]; in ecc_sw_hamming_correct() 401 if ((b0 | b1 | b2) == 0) in ecc_sw_hamming_correct() 406 ((eccsize_mult == 1 && ((b2 ^ (b2 >> 1)) & 0x54) == 0x54) || in ecc_sw_hamming_correct() 407 (eccsize_mult == 2 && ((b2 ^ (b2 >> 1)) & 0x55) == 0x55))) { in ecc_sw_hamming_correct() 428 byte_addr = (addressbits[b2 & 0x3] << 8) + in ecc_sw_hamming_correct() 430 bit_addr = addressbits[b2 >> 2]; in ecc_sw_hamming_correct() 437 if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1) in ecc_sw_hamming_correct()
|
| /linux/arch/arm/crypto/ |
| H A D | aes-neonbs-core.S | 80 .macro in_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 81 veor \b2, \b2, \b1 84 veor \b6, \b6, \b2 91 veor \b2, \b2, \b7 96 .macro out_bs_ch, b0, b1, b2, b3, b4, b5, b6, b7 100 veor \b2, \b2, \b0 106 veor \b2, \b2, \b5 110 .macro inv_in_bs_ch, b6, b1, b2, b4, b7, b0, b3, b5 115 veor \b2, \b2, \b5 118 veor \b2, \b2, \b0 [all …]
|
| /linux/arch/x86/crypto/ |
| H A D | cast6-avx-x86_64-asm_64.S | 129 #define F_2(a1, b1, a2, b2, op0, op1, op2, op3) \ argument 131 F_head(b2, RX, RGI3, RGI4, op0); \ 134 F_tail(b2, RTMP, RGI3, RGI4, op1, op2, op3); \ 139 #define F1_2(a1, b1, a2, b2) \ argument 140 F_2(a1, b1, a2, b2, vpaddd, xorl, subl, addl) 141 #define F2_2(a1, b1, a2, b2) \ argument 142 F_2(a1, b1, a2, b2, vpxor, subl, addl, xorl) 143 #define F3_2(a1, b1, a2, b2) \ argument 144 F_2(a1, b1, a2, b2, vpsubd, addl, xorl, subl)
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_gamepad.py | 73 b2 = uhdev.buttons[1] 74 key2 = libevdev.evbit(uhdev.buttons_map[b2]) 76 buttons = {b1: True, b2: True} 88 buttons = {b1: False, b2: None} 97 buttons = {b1: None, b2: False}
|
| /linux/lib/crypto/arm/ |
| H A D | chacha-scalar-core.S | 71 .macro _halfround a1, b1, c1, d1, a2, b2, c2, d2 75 add \a2, \a2, \b2, ror #brot 84 eor \b2, \c2, \b2, ror #brot 89 add \a2, \a2, \b2, ror #20 98 eor \b2, \c2, \b2, ror #20
|
| /linux/drivers/media/usb/em28xx/ |
| H A D | em28xx-i2c.c | 77 u8 b2[6]; in em2800_i2c_send_bytes() local 82 b2[5] = 0x80 + len - 1; in em2800_i2c_send_bytes() 83 b2[4] = addr; in em2800_i2c_send_bytes() 84 b2[3] = buf[0]; in em2800_i2c_send_bytes() 86 b2[2] = buf[1]; in em2800_i2c_send_bytes() 88 b2[1] = buf[2]; in em2800_i2c_send_bytes() 90 b2[0] = buf[3]; in em2800_i2c_send_bytes() 93 ret = dev->em28xx_write_regs(dev, 4 - len, &b2[4 - len], 2 + len); in em2800_i2c_send_bytes()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | ix2505v.c | 52 u8 b2[] = {0}; in ix2505v_read_status_reg() local 56 { .addr = addr, .flags = I2C_M_RD, .buf = b2, .len = 1 } in ix2505v_read_status_reg() 62 return (ret == 1) ? (int) b2[0] : -1; in ix2505v_read_status_reg()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp32.c | 68 #define EMIT2(b1, b2) EMIT((b1) + ((b2) << 8), 2) argument 69 #define EMIT3(b1, b2, b3) EMIT((b1) + ((b2) << 8) + ((b3) << 16), 3) argument 70 #define EMIT4(b1, b2, b3, b4) \ argument 71 EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4) 75 #define EMIT2_off32(b1, b2, off) \ argument 76 do { EMIT2(b1, b2); EMIT(off, 4); } while (0) 77 #define EMIT3_off32(b1, b2, b3, off) \ argument 78 do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0) 79 #define EMIT4_off32(b1, b2, b3, b4, off) \ argument 80 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0) [all …]
|