Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 117) sorted by relevance

12345

/linux-6.12.1/arch/arm64/crypto/
Dsm4-ce-asm.h57 #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 …]
Dsm4-neon-core.S131 #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 …]
Daes-neonbs-core.S26 .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 …]
Dsm4-ce-gcm-core.S133 #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-6.12.1/drivers/atm/
Dfore200e.h71 #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-6.12.1/drivers/isdn/mISDN/
Ddsp_biquad.h20 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-6.12.1/arch/arm/include/asm/
Dxor.h26 : "=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-6.12.1/arch/s390/include/asm/
Dfpu-insn-asm.h288 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-6.12.1/crypto/
Dxor.c83 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-6.12.1/arch/riscv/crypto/
Dchacha-riscv64-zvkb.S77 a2, b2, c2, d2, a3, b3, c3, d3
81 vadd.vv \a2, \a2, \b2
99 vxor.vv \b2, \b2, \c2
103 vror.vi \b2, \b2, 32 - 12
109 vadd.vv \a2, \a2, \b2
127 vxor.vv \b2, \b2, \c2
131 vror.vi \b2, \b2, 32 - 7
/linux-6.12.1/tools/mm/
Dslabinfo.c806 char b1[20], b2[20], b3[20], b4[20]; in totals() local
982 store_size(b1, total_size);store_size(b2, total_waste); in totals()
984 printf("Memory used: %15s # Loss : %15s MRatio:%6s%%\n", b1, b2, b3); in totals()
986 store_size(b1, total_objects);store_size(b2, total_partobj); in totals()
988 printf("# Objects : %15s # PartObj: %15s ORatio:%6s%%\n", b1, b2, b3); in totals()
996 store_size(b1, avg_objects);store_size(b2, min_objects); in totals()
999 b1, b2, b3, b4); in totals()
1001 store_size(b1, avg_slabs);store_size(b2, min_slabs); in totals()
1004 b1, b2, b3, b4); in totals()
1006 store_size(b1, avg_partial);store_size(b2, min_partial); in totals()
[all …]
/linux-6.12.1/arch/powerpc/kernel/vdso/
Dvgetrandom-chacha.S52 .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-6.12.1/arch/x86/lib/
Dinsn.c207 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes() local
214 if (X86_MODRM_MOD(b2) != 3) in insn_get_prefixes()
218 insn_set_byte(&insn->vex_prefix, 1, b2); in insn_get_prefixes()
220 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
221 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
222 b2 = peek_nbyte_next(insn_byte_t, insn, 3); in insn_get_prefixes()
223 insn_set_byte(&insn->vex_prefix, 3, b2); in insn_get_prefixes()
226 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes()
230 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
231 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
[all …]
/linux-6.12.1/tools/arch/x86/lib/
Dinsn.c207 insn_byte_t b2 = peek_nbyte_next(insn_byte_t, insn, 1); in insn_get_prefixes() local
214 if (X86_MODRM_MOD(b2) != 3) in insn_get_prefixes()
218 insn_set_byte(&insn->vex_prefix, 1, b2); in insn_get_prefixes()
220 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
221 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
222 b2 = peek_nbyte_next(insn_byte_t, insn, 3); in insn_get_prefixes()
223 insn_set_byte(&insn->vex_prefix, 3, b2); in insn_get_prefixes()
226 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes()
230 b2 = peek_nbyte_next(insn_byte_t, insn, 2); in insn_get_prefixes()
231 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
[all …]
/linux-6.12.1/drivers/mtd/nand/
Decc-sw-hamming.c378 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-6.12.1/arch/arm/crypto/
Daes-neonbs-core.S80 .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 …]
Dchacha-scalar-core.S71 .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-6.12.1/arch/x86/crypto/
Dcast6-avx-x86_64-asm_64.S129 #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)
Dcast5-avx-x86_64-asm_64.S129 #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)
146 #define subround(a1, b1, a2, b2, f) \ argument
[all …]
/linux-6.12.1/tools/testing/selftests/hid/tests/
Dtest_gamepad.py72 b2 = uhdev.buttons[1]
73 key2 = libevdev.evbit(uhdev.buttons_map[b2])
75 buttons = {b1: True, b2: True}
87 buttons = {b1: False, b2: None}
96 buttons = {b1: None, b2: False}
/linux-6.12.1/fs/bcachefs/
Dbtree_cache.c780 struct btree *b, *b2; in bch2_btree_node_mem_alloc() local
815 list_for_each_entry(b2, &bc->freeable, list) in bch2_btree_node_mem_alloc()
816 if (!btree_node_reclaim(c, b2, false)) { in bch2_btree_node_mem_alloc()
817 swap(b->data, b2->data); in bch2_btree_node_mem_alloc()
818 swap(b->aux_data, b2->aux_data); in bch2_btree_node_mem_alloc()
820 list_del_init(&b2->list); in bch2_btree_node_mem_alloc()
822 btree_node_to_freedlist(bc, b2); in bch2_btree_node_mem_alloc()
825 six_unlock_write(&b2->c.lock); in bch2_btree_node_mem_alloc()
826 six_unlock_intent(&b2->c.lock); in bch2_btree_node_mem_alloc()
868 b2 = btree_node_cannibalize(c); in bch2_btree_node_mem_alloc()
[all …]
/linux-6.12.1/arch/x86/net/
Dbpf_jit_comp.c41 #define EMIT2(b1, b2) EMIT((b1) + ((b2) << 8), 2) argument
42 #define EMIT3(b1, b2, b3) EMIT((b1) + ((b2) << 8) + ((b3) << 16), 3) argument
43 #define EMIT4(b1, b2, b3, b4) EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4) argument
47 #define EMIT2_off32(b1, b2, off) \ argument
48 do { EMIT2(b1, b2); EMIT(off, 4); } while (0)
49 #define EMIT3_off32(b1, b2, b3, off) \ argument
50 do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0)
51 #define EMIT4_off32(b1, b2, b3, b4, off) \ argument
52 do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)
875 u8 b1, b2, b3; in emit_mov_imm32() local
[all …]
/linux-6.12.1/drivers/media/usb/em28xx/
Dem28xx-i2c.c77 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-6.12.1/drivers/iio/pressure/
Dmpl115.c29 s16 b1, b2; member
74 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure()
194 data->b2 = ret; in mpl115_probe()
/linux-6.12.1/drivers/media/dvb-frontends/
Dix2505v.c52 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()

12345