Home
last modified time | relevance | path

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

12345

/linux-6.15/arch/arm64/crypto/
H A Dsm4-ce-asm.h60 sm4e b2.4s, v24.4s; \
64 sm4e b2.4s, v25.4s; \
68 sm4e b2.4s, v26.4s; \
92 rev64 b2.4s, b2.4s; \
96 ext b2.16b, b2.16b, b2.16b, #8; \
100 rev32 b2.16b, b2.16b; \
106 rev32 b2.16b, b2.16b; \
177 rev64 b2.4s, b2.4s; \
185 ext b2.16b, b2.16b, b2.16b, #8; \
193 rev32 b2.16b, b2.16b; \
[all …]
H A Dsm4-neon-core.S137 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); \
157 rev32 b2.16b, b2.16b; \
159 SM4_CRYPT_BLK4_BE(b0, b1, b2, b3);
223 rev32 b2.16b, b2.16b; \
235 ROUND8(0, b0, b1, b2, b3, b4, b5, b6, b7); \
[all …]
H A 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
46 eor \b2, \b2, \b0
52 eor \b2, \b2, \b5
61 eor \b2, \b2, \b5
64 eor \b2, \b2, \b0
73 eor \b2, \b2, \b7
80 eor \b6, \b6, \b2
[all …]
H A Dsm4-ce-gcm-core.S139 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; \
193 rev64 b2.4s, b2.4s; \
199 ext b2.16b, b2.16b, b2.16b, #8; \
[all …]
/linux-6.15/drivers/atm/
H A 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.15/drivers/isdn/mISDN/
H A 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.15/arch/arm/include/asm/
H A 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.15/arch/s390/include/asm/
H A Dfpu-insn-asm.h288 GR_NUM b2, "%r0"
320 GR_NUM b2, \base
330 GR_NUM b2, \base
371 GR_NUM b2, \base
394 GR_NUM b2, \base
404 GR_NUM b2, \base
414 GR_NUM b2, \base
436 GR_NUM b2, \base
549 GR_NUM b2, \base
559 GR_NUM b2, \base
[all …]
/linux-6.15/drivers/net/wireless/realtek/rtw89/
H A Defuse.c412 int rtw89_efuse_recognize_mss_info_v1(struct rtw89_dev *rtwdev, u8 b1, u8 b2) in rtw89_efuse_recognize_mss_info_v1() argument
418 if (chip->chip_id == RTL8852B && b1 == 0xFF && b2 == 0x6E) { in rtw89_efuse_recognize_mss_info_v1()
428 u8_get_bits(b2, EFUSE_B2_MSSCUSTIDX1_MASK) << 4); in rtw89_efuse_recognize_mss_info_v1()
429 sec->mss_key_num = 0xF - u8_get_bits(b2, EFUSE_B2_MSSKEYNUM_MASK); in rtw89_efuse_recognize_mss_info_v1()
453 customer = 0xF - u8_get_bits(b2, EFUSE_B2_CUSTOMER_MASK); in rtw89_efuse_recognize_mss_index_v0()
454 serialNum = 0x7 - u8_get_bits(b2, EFUSE_B2_SERIALNUM_MASK); in rtw89_efuse_recognize_mss_index_v0()
475 u8 b1, b2; in rtw89_efuse_read_fw_secure_ax() local
486 b2 = sec_map[1]; in rtw89_efuse_read_fw_secure_ax()
488 if (b1 == 0xFF && b2 == 0xFF) in rtw89_efuse_read_fw_secure_ax()
491 rtw89_efuse_recognize_mss_index_v0(rtwdev, b1, b2); in rtw89_efuse_read_fw_secure_ax()
[all …]
/linux-6.15/crypto/
H A 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.15/arch/riscv/crypto/
H A 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.15/tools/mm/
H A Dslabinfo.c999 b1, b2, b3, b4); in totals()
1004 b1, b2, b3, b4); in totals()
1009 b1, b2, b3, b4); in totals()
1014 b1, b2, b3, b4); in totals()
1020 b1, b2, b3, b4); in totals()
1026 b1, b2, b3, b4); in totals()
1031 b1, b2, b3, b4); in totals()
1036 b1, b2, b3, b4); in totals()
1052 b1, b2, b3); in totals()
1056 b1, b2, b3); in totals()
[all …]
/linux-6.15/arch/powerpc/kernel/vdso/
H A 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.15/drivers/gpu/drm/xe/tests/
H A Dxe_guc_buf_kunit.c159 struct xe_guc_buf b1, b2; in test_overlap() local
166 b2 = xe_guc_buf_reserve(cache, dwords); in test_overlap()
169 p2 = xe_guc_buf_cpu_ptr(b2); in test_overlap()
172 a2 = xe_guc_buf_gpu_addr(b2); in test_overlap()
187 xe_guc_buf_release(b2); in test_overlap()
193 struct xe_guc_buf b1, b2; in test_reusable() local
203 b2 = xe_guc_buf_reserve(cache, xe_guc_buf_cache_dwords(cache)); in test_reusable()
204 KUNIT_EXPECT_PTR_EQ(test, p1, xe_guc_buf_cpu_ptr(b2)); in test_reusable()
205 KUNIT_EXPECT_EQ(test, a1, xe_guc_buf_gpu_addr(b2)); in test_reusable()
206 xe_guc_buf_release(b2); in test_reusable()
/linux-6.15/arch/x86/lib/
H A Dinsn.c214 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()
234 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes()
[all …]
/linux-6.15/tools/arch/x86/lib/
H A Dinsn.c214 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()
234 if (insn->x86_64 && X86_VEX_W(b2)) in insn_get_prefixes()
[all …]
/linux-6.15/drivers/mtd/nand/
H A 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.15/arch/x86/crypto/
H A 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 …]
H A 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)
/linux-6.15/arch/arm/crypto/
H A 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
100 veor \b2, \b2, \b0
106 veor \b2, \b2, \b5
115 veor \b2, \b2, \b5
118 veor \b2, \b2, \b0
127 veor \b2, \b2, \b7
134 veor \b6, \b6, \b2
[all …]
H A 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.15/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e88a0-ams427ap24.c459 u8 b2[LEN_AID] = { 0xb2, 0x40, 0x08, 0x20, 0x00, 0x00 }; in s6e88a0_ams427ap24_set_brightness() local
471 memcpy(&b2[FIX_LEN_AID], in s6e88a0_ams427ap24_set_brightness()
476 memcpy(&b2[FIX_LEN_AID], in s6e88a0_ams427ap24_set_brightness()
481 memcpy(&b2[FIX_LEN_AID], in s6e88a0_ams427ap24_set_brightness()
509 mipi_dsi_dcs_write_buffer_multi(&dsi_ctx, b2, ARRAY_SIZE(b2)); // set aid in s6e88a0_ams427ap24_set_brightness()
/linux-6.15/tools/testing/selftests/hid/tests/
H A 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.15/fs/bcachefs/
H A Dbtree_cache.c783 struct btree *b, *b2; in bch2_btree_node_mem_alloc() local
821 swap(b->data, b2->data); in bch2_btree_node_mem_alloc()
822 swap(b->aux_data, b2->aux_data); in bch2_btree_node_mem_alloc()
824 list_del_init(&b2->list); in bch2_btree_node_mem_alloc()
829 six_unlock_write(&b2->c.lock); in bch2_btree_node_mem_alloc()
830 six_unlock_intent(&b2->c.lock); in bch2_btree_node_mem_alloc()
871 b2 = btree_node_cannibalize(c); in bch2_btree_node_mem_alloc()
876 swap(b->data, b2->data); in bch2_btree_node_mem_alloc()
879 six_unlock_write(&b2->c.lock); in bch2_btree_node_mem_alloc()
880 six_unlock_intent(&b2->c.lock); in bch2_btree_node_mem_alloc()
[all …]
/linux-6.15/arch/x86/net/
H A 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
904 u8 b1, b2, b3; in emit_mov_imm32() local
913 b2 = 0xC7; in emit_mov_imm32()
1437 u8 b1, b2; in emit_3vex() local
1464 EMIT3(b0, b1, b2); in emit_3vex()
1735 b2 = 0x05; in do_jit()
1739 b2 = 0x2D; in do_jit()
1743 b2 = 0x25; in do_jit()
1747 b2 = 0x0D; in do_jit()
[all …]

12345