Home
last modified time | relevance | path

Searched +full:128 +full:b (Results 1 – 25 of 1048) sorted by relevance

12345678910>>...42

/linux/arch/arm64/crypto/
H A Dpolyval-ce-core.S14 * than 128. We then compute p(x) = h^8m_0 + ... + h^1m_7 where multiplication
18 * modulus g(x) = x^128 + x^127 + x^126 + x^121 + 1.
72 * Computes the product of two 128-bit polynomials in X and Y and XORs the
96 ext v25.16b, X.16b, X.16b, #8
97 ext v26.16b, Y.16b, Y.16b, #8
98 eor v25.16b, v25.16b, X.16b
99 eor v26.16b, v26.16b, Y.16b
103 eor HI.16b, HI.16b, v28.16b
104 eor LO.16b, LO.16b, v29.16b
105 eor MI.16b, MI.16b, v27.16b
[all …]
/linux/arch/sparc/kernel/
H A Dhead_64.S48 b sparc64_boot
169 mov (1b - prom_peer_name), %l1
174 stx %l1, [%sp + 2047 + 128 + 0x00] ! service, "peer"
176 stx %l3, [%sp + 2047 + 128 + 0x08] ! num_args, 1
177 stx %l3, [%sp + 2047 + 128 + 0x10] ! num_rets, 1
178 stx %l2, [%sp + 2047 + 128 + 0x18] ! arg1, 0
179 stx %g0, [%sp + 2047 + 128 + 0x20] ! ret1
181 add %sp, (2047 + 128), %o0 ! argument array
183 ldx [%sp + 2047 + 128 + 0x20], %l4 ! prom root node
184 mov (1b - prom_root_node), %l1
[all …]
H A Dtrampoline_64.S110 brnz,pn %g1, 1b
146 stx %g2, [%sp + 2047 + 128 + 0x00]
148 stx %g2, [%sp + 2047 + 128 + 0x08]
150 stx %g2, [%sp + 2047 + 128 + 0x10]
153 stx %g2, [%sp + 2047 + 128 + 0x18]
156 stx %g2, [%sp + 2047 + 128 + 0x20]
162 stx %g2, [%sp + 2047 + 128 + 0x28] ! VADDR
164 stx %g2, [%sp + 2047 + 128 + 0x30] ! TTE
168 stx %g2, [%sp + 2047 + 128 + 0x38]
174 add %sp, (2047 + 128), %o0
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h17 /* hwrm_cmd_hdr (size:128b/16B) */
26 /* hwrm_resp_hdr (size:64b/8B) */
61 /* tlv (size:64b/8B) */
77 /* input (size:128b/16B) */
86 /* output (size:64b/8B) */
94 /* hwrm_short_input (size:128b/16B) */
108 /* cmd_nums (size:64b/8B) */
577 /* ret_codes (size:64b/8B) */
608 /* hwrm_err_output (size:128b/16B) */
620 #define HWRM_MAX_REQ_LEN 128
[all …]
/linux/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c20 { 128, 0, 0, },
21 { 0, 128, 0, },
22 { 0, 0, 128, },
66 * Cb_lim = 0.8784 * (Cb_full - 128) + 128
67 * Cr_lim = 0.8784 * (Cr_full - 128) + 128
84 * Cb_full = 1.1384 * (Cb_lim - 128) + 128
85 * Cr_full = 1.1384 * (Cr_lim - 128) + 128
114 * Y = .2990 * R + .5870 * G + .1140 * B
115 * U = -.1687 * R - .3313 * G + .5000 * B + 128
116 * V = .5000 * R - .4187 * G - .0813 * B + 128
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
H A Droce_hsi.h45 /* tx_doorbell (size:32b/4B) */
56 /* rx_doorbell (size:32b/4B) */
67 /* cmpl_doorbell (size:32b/4B) */
80 /* status_doorbell (size:32b/4B) */
91 /* cmdq_init (size:128b/16B) */
103 /* cmdq_base (size:128b/16B) */
156 /* creq_base (size:128b/16B) */
171 /* cmdq_query_version (size:128b/16B) */
184 /* creq_query_version_resp (size:128b/16B) */
210 /* cmdq_initialize_fw (size:896b/112B) */
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_adjust_tail.c11 char buf[128]; in test_xdp_adjust_tail_shrink()
104 tattr.data_size_out = 128; /* Limit copy_size */ in test_xdp_adjust_tail_grow2()
117 ASSERT_EQ(buf[128], 1, "case-64-data buf[128]"); /* 128-191 memset to 1 */ in test_xdp_adjust_tail_grow2()
120 /* Test case-128 */ in test_xdp_adjust_tail_grow2()
122 tattr.data_size_in = 128; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2()
127 ASSERT_OK(err, "case-128"); in test_xdp_adjust_tail_grow2()
128 ASSERT_EQ(tattr.retval, XDP_TX, "case-128 retval"); in test_xdp_adjust_tail_grow2()
129 ASSERT_EQ(tattr.data_size_out, max_grow, "case-128 data_size_out"); /* Expect max grow */ in test_xdp_adjust_tail_grow2()
136 ASSERT_EQ(cnt, max_grow - tattr.data_size_in, "case-128-data cnt"); /* Grow increase */ in test_xdp_adjust_tail_grow2()
137 ASSERT_EQ(tattr.data_size_out, max_grow, "case-128-data data_size_out"); /* Total grow */ in test_xdp_adjust_tail_grow2()
[all …]
H A Dlinked_list.c316 err = btf__add_field(btf, "b", SPIN_LOCK, 128, 0); in list_and_rb_node_same_struct()
317 if (!ASSERT_OK(err, "btf__add_field foo::b")) in list_and_rb_node_same_struct()
343 err = btf__add_field(btf, "b", SPIN_LOCK, 32, 0); in test_btf()
392 err = btf__add_field(btf, "b", LIST_NODE, 0, 0); in test_btf()
393 if (!ASSERT_OK(err, "btf__add_field foo::b")) in test_btf()
398 id = btf__add_decl_tag(btf, "contains:foo:b", 5, 0); in test_btf()
399 if (!ASSERT_EQ(id, 6, "btf__add_decl_tag contains:foo:b")) in test_btf()
418 err = btf__add_field(btf, "b", LIST_HEAD, 64, 0); in test_btf()
419 if (!ASSERT_OK(err, "btf__add_field foo::b")) in test_btf()
438 err = btf__add_field(btf, "b", LIST_HEAD, 64, 0); in test_btf()
[all …]
/linux/arch/mips/lib/
H A Dmulti3.c15 static inline long long notrace dmulu(long long a, long long b) in dmulu() argument
19 asm ("dmulu %0,%1,%2" : "=r" (res) : "r" (a), "r" (b)); in dmulu()
23 /* multiply 64-bit unsigned values, high 64-bits of 128-bit result returned */
24 static inline long long notrace dmuhu(long long a, long long b) in dmuhu() argument
28 asm ("dmuhu %0,%1,%2" : "=r" (res) : "r" (a), "r" (b)); in dmuhu()
32 /* multiply 128-bit values, low 128-bits returned */
33 ti_type notrace __multi3(ti_type a, ti_type b) in __multi3() argument
38 bb.ti = b; in __multi3()
41 * a * b = (a.lo * b.lo) in __multi3()
42 * + 2^64 * (a.hi * b.lo + a.lo * b.hi) in __multi3()
[all …]
/linux/include/crypto/
H A Dgf128mul.h1 /* gf128mul.h - GF(2^128) multiplication functions
46 An implementation of field multiplication in Galois Field GF(2^128)
58 * For some background on GF(2^128) see for example:
61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can
66 * are left and the lsb's are right. char b[16] is an array and b[0] is
70 * b[0] b[1] b[2] b[3] b[13] b[14] b[15]
83 * b[15] = 0x87 and the rest is 0. LRW uses this convention and bbe
92 * primitive polynomial is b[0] = 0x87.
94 * The common machine word-size is smaller than 128 bits, so to make
123 * Multiplications in GF(2^128) are mostly bit-shifts, so you see why
[all …]
/linux/arch/x86/crypto/
H A Daes-gcm-avx10-x86_64.S77 // fairly easily be changed to support 128-bit too. However, this would *not*
94 // x^128 + x^7 + x^2 + x, represented using the backwards mapping
99 // "reversed" GHASH reducing polynomial without its x^128 term.
108 // ctr_pattern points to the four 128-bit values [0, 1, 2, 3].
109 // inc_2blocks and inc_4blocks point to the single 128-bit values 2 and
157 // 128-bit lanes of \a by the corresponding 128-bit lanes of \b and storing the
159 // same size as \a and \b. To complete all steps, this must invoked with \i=0
165 // GF(2^128). Elements of GF(2^128) are represented as binary polynomials
167 // G. The GCM specification uses G = x^128 + x^7 + x^2 + x + 1. Addition is
169 // carryless multiplication of two 128-bit input polynomials to get a 256-bit
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_resource.c66 /* hpo dp link encoder is considered as recycled, when RX reports 128b/132b encoding capability in link_get_cur_res_map()
85 /* remove excess 128b/132b encoding support for not recycled links */ in link_restore_res_map()
94 /* remove 128b/132b encoding capability by limiting verified link rate to HBR3 */ in link_restore_res_map()
99 /* remove excess 128b/132b encoding support for recycled links */ in link_restore_res_map()
108 /* remove 128b/132b encoding capability by limiting verified link rate to HBR3 */ in link_restore_res_map()
/linux/arch/sh/lib/
H A Dudivsi3_i4i.S23 Uses a lookup table for divisors in the range -128 .. +128, and
65 mov.b @(r0,r5),r1
69 mov.b @(r0,r5),r1
78 mov.b @(r0,r5),r1
121 mov.b r0,@(L_LSWMSB,r15)
195 mov.b r0,@(L_MSWLSB,r15)
201 mov.b r0,@(L_LSWMSB,r15)
207 extu.b r0,r0
217 mov.b @(r0,r5),r1
223 mov.b @(r0,r5),r1
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Drouter_multicast.sh248 $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \
249 -A 198.51.100.2 -B 225.1.2.3 -q
258 $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \
259 -A 198.51.100.2 -B 225.1.2.3 -q
288 $MZ $h1 -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \
289 -b 33:33:00:00:00:03 -A 2001:db8:1::2 -B ff0e::3 -q
298 $MZ $h1 -6 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 \
299 -b 33:33:00:00:00:03 -A 2001:db8:1::2 -B ff0e::3 -q
334 $MZ $h1 -c 5 -p 128 -t udp "ttl=10,sp=54321,dp=12345" \
335 -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \
[all …]
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c31 * Whenever a new trusted key using DCP is generated, we generate a random 128-bit
32 * blob encryption key (BEK) and 128-bit nonce. The BEK and nonce are used to
33 * encrypt the trusted key payload using AES-128-GCM.
36 * encryption engine with AES-128-ECB. The encrypted BEK, generated nonce,
45 * @blob_key: Random AES 128 key which is used to encrypt @payload,
47 * AES-128-ECB mode by DCP.
50 * @payload: The payload itself, encrypted using AES-128-GCM and @blob_key,
202 struct dcp_blob_fmt *b = (struct dcp_blob_fmt *)p->blob; in trusted_dcp_seal() local
210 b->fmt_version = DCP_BLOB_VERSION; in trusted_dcp_seal()
211 get_random_bytes(b->nonce, AES_KEYSIZE_128); in trusted_dcp_seal()
[all …]
/linux/drivers/clk/
H A Dclk-si5351.c3 * clk-si5351.c: Skyworks / Silicon Labs Si5351A/B/C I2C Clock Generator
9 * [1] "Si5351A/B/C Data Sheet"
10 * https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/Si5351-B.pdf
340 * Si5351 pll a/b
344 * fVCO = fIN * (a + b/c)
346 * with 15 + 0/1048575 <= (a + b/c) <= 90 + 0/1048575 and
351 * (1) MSNx_P1[17:0] = 128 * a + floor(128 * b/c) - 512
352 * (2) MSNx_P2[19:0] = 128 * b - c * floor(128 * b/c) = (128*b) mod c
355 * Transposing (2) yields: (4) floor(128 * b/c) = (128 * b / MSNx_P2)/c
358 * MSNx_P1 = 128 * a + (128 * b/MSNx_P2)/c - 512
[all …]
/linux/tools/testing/selftests/powerpc/copyloops/
H A Dcopyuser_power7.S25 EX_TABLE(100b,.Ldo_err1)
30 EX_TABLE(200b,.Ldo_err2)
36 EX_TABLE(300b,.Ldo_err3)
41 EX_TABLE(400b,.Ldo_err4)
53 b .Lexit
72 b __copy_tofrom_user_base
93 /* Get the source 8B aligned */
117 cmpldi r5,128
136 /* Now do cacheline (128B) sized loads and stores. */
155 addi r4,r4,128
[all …]
H A Dmemcpy_power7.S37 /* Get the source 8B aligned */
61 cmpldi r5,128
80 /* Now do cacheline (128B) sized loads and stores. */
99 addi r4,r4,128
116 addi r3,r3,128
117 bdnz 4b
132 /* Up to 127B to go */
156 /* Up to 63B to go */
169 /* Up to 31B to go */
180 /* Up to 15B to go */
[all …]
H A Dcopy_mc_64.S13 EX_TABLE(100b,.Ldo_err1)
18 EX_TABLE(200b,.Ldo_err2)
22 300: EX_TABLE(300b,.Ldone)
44 bdnz 46b
59 /* Get the source 8B aligned */
86 cmpldi r5,128
105 /* Now do cacheline (128B) sized loads and stores. */
124 addi r4,r4,128
141 addi r3,r3,128
142 subi r7,r7,128
[all …]
/linux/arch/powerpc/lib/
H A Dcopyuser_power7.S25 EX_TABLE(100b,.Ldo_err1)
30 EX_TABLE(200b,.Ldo_err2)
36 EX_TABLE(300b,.Ldo_err3)
41 EX_TABLE(400b,.Ldo_err4)
53 b .Lexit
72 b __copy_tofrom_user_base
93 /* Get the source 8B aligned */
117 cmpldi r5,128
136 /* Now do cacheline (128B) sized loads and stores. */
155 addi r4,r4,128
[all …]
H A Dmemcpy_power7.S37 /* Get the source 8B aligned */
61 cmpldi r5,128
80 /* Now do cacheline (128B) sized loads and stores. */
99 addi r4,r4,128
116 addi r3,r3,128
117 bdnz 4b
132 /* Up to 127B to go */
156 /* Up to 63B to go */
169 /* Up to 31B to go */
180 /* Up to 15B to go */
[all …]
H A Dcopy_mc_64.S13 EX_TABLE(100b,.Ldo_err1)
18 EX_TABLE(200b,.Ldo_err2)
22 300: EX_TABLE(300b,.Ldone)
44 bdnz 46b
59 /* Get the source 8B aligned */
86 cmpldi r5,128
105 /* Now do cacheline (128B) sized loads and stores. */
124 addi r4,r4,128
141 addi r3,r3,128
142 subi r7,r7,128
[all …]
/linux/drivers/scsi/arm/
H A Doak.c36 #define START_DMA_INITIATOR_RECEIVE_REG (128 + 7)
38 #define STAT ((128 + 16) << 2)
39 #define DATA ((128 + 8) << 2)
65 unsigned long b; in oakscsi_pread() local
79 if(len >= 128) in oakscsi_pread()
81 readsw(base + DATA, addr, 128); in oakscsi_pread()
82 addr += 128; in oakscsi_pread()
83 len -= 128; in oakscsi_pread()
87 b = (unsigned long) readw(base + DATA); in oakscsi_pread()
88 *addr ++ = b; in oakscsi_pread()
[all …]
/linux/Documentation/devicetree/bindings/mtd/
H A Djedec,spi-nor.yaml21 (m25p(40|80|16|32|64|128)|\
22 n25q(32b|064|128a11|128a13|256a|512a|164k)))|\
24 everspin,mr25h(10|40|128|256)|\
27 (spansion,)?s25fl(128s|256s1|512s|008k|064k|164k)|\
28 (sst|microchip),sst25vf(016b|032b|040b)|\
30 (sst,)?sst25wf(040b|080)|\
32 (winbond,)?w25q(16|32(w|dw)?|64(dw)?|80bl|128(fw)?|256))$"
/linux/arch/sparc/lib/
H A Dcopy_user.S31 #define EX(x,y,a,b) \ argument
36 a, b, %o0; \
37 EX_ENTRY(98b, 99b)
39 #define EX2(x,y,c,d,e,a,b) \ argument
45 a, b, %o0; \
46 EX_ENTRY(98b, 99b)
50 EX_ENTRY(98b, 97f)
57 EX_ENTRY(98b, 99b)
64 EX_ENTRY(98b, 99b)
67 /* left: g7 + (g1 % 128) - offset */
[all …]

12345678910>>...42