| /linux/lib/crc/riscv/ |
| H A D | crc-clmul-template.h | 91 crc_clmul_long(unsigned long msgpoly, const struct crc_clmul_consts *consts) in crc_clmul_long() argument 118 tmp = clmul(msgpoly, consts->barrett_reduction_const_1); in crc_clmul_long() 120 tmp = clmulr(msgpoly, consts->barrett_reduction_const_1); in crc_clmul_long() 146 return clmulr(tmp, consts->barrett_reduction_const_2); in crc_clmul_long() 148 return clmul(tmp, consts->barrett_reduction_const_2); in crc_clmul_long() 155 const struct crc_clmul_consts *consts) in crc_clmul_update_long() argument 157 return crc_clmul_long(crc_clmul_prep(crc, msgpoly), consts); in crc_clmul_update_long() 163 const struct crc_clmul_consts *consts) in crc_clmul_update_partial() argument 184 return crc_clmul_long(msgpoly, consts); in crc_clmul_update_partial() 188 return crc_clmul_long(msgpoly, consts) ^ (crc >> (8*len)); in crc_clmul_update_partial() [all …]
|
| H A D | crc-clmul.h | 11 const struct crc_clmul_consts *consts); 13 const struct crc_clmul_consts *consts); 15 const struct crc_clmul_consts *consts); 18 const struct crc_clmul_consts *consts); 20 const struct crc_clmul_consts *consts);
|
| H A D | crc32_msb.c | 15 const struct crc_clmul_consts *consts) in crc32_msb_clmul() argument 17 return crc_clmul(crc, p, len, consts); in crc32_msb_clmul()
|
| H A D | crc16_msb.c | 15 const struct crc_clmul_consts *consts) in crc16_msb_clmul() argument 17 return crc_clmul(crc, p, len, consts); in crc16_msb_clmul()
|
| H A D | crc64_lsb.c | 15 const struct crc_clmul_consts *consts) in crc64_lsb_clmul() argument 17 return crc_clmul(crc, p, len, consts); in crc64_lsb_clmul()
|
| H A D | crc32_lsb.c | 15 const struct crc_clmul_consts *consts) in crc32_lsb_clmul() argument 17 return crc_clmul(crc, p, len, consts); in crc32_lsb_clmul()
|
| H A D | crc64_msb.c | 15 const struct crc_clmul_consts *consts) in crc64_msb_clmul() argument 17 return crc_clmul(crc, p, len, consts); in crc64_msb_clmul()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_llc.c | 12 struct ia_constants consts; in gen6_verify_ring_freq() local 19 if (!get_ia_constants(llc, &consts)) in gen6_verify_ring_freq() 22 for (gpu_freq = consts.min_gpu_freq; in gen6_verify_ring_freq() 23 gpu_freq <= consts.max_gpu_freq; in gen6_verify_ring_freq() 30 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq() 36 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq); in gen6_verify_ring_freq() 44 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq() 54 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-glue.c | 62 u8 __aligned(8) consts[]; 508 be128 *consts = (be128 *)ctx->consts; in sm4_cmac_setkey() local 514 memset(consts, 0, SM4_BLOCK_SIZE); in sm4_cmac_setkey() 521 sm4_ce_crypt_block(ctx->key.rkey_enc, (u8 *)consts, (const u8 *)consts); in sm4_cmac_setkey() 525 a = be64_to_cpu(consts[0].a); in sm4_cmac_setkey() 526 b = be64_to_cpu(consts[0].b); in sm4_cmac_setkey() 527 consts[0].a = cpu_to_be64((a << 1) | (b >> 63)); in sm4_cmac_setkey() 528 consts[0].b = cpu_to_be64((b << 1) ^ ((a >> 63) ? 0x87 : 0)); in sm4_cmac_setkey() 530 a = be64_to_cpu(consts[0].a); in sm4_cmac_setkey() 531 b = be64_to_cpu(consts[0].b); in sm4_cmac_setkey() [all …]
|
| /linux/rust/macros/ |
| H A D | vtable.rs | 31 let mut consts = HashSet::new(); vtable() localVariable
|
| /linux/lib/crc/x86/ |
| H A D | crc-pclmul-template.S | 138 .macro _fold_vec acc, data, consts, tmp 139 _pclmulqdq \consts, HI64_TERMS, \acc, HI64_TERMS, \tmp 140 _pclmulqdq \consts, LO64_TERMS, \acc, LO64_TERMS, \acc 154 .macro _fold_vec_mem vl, acc, data, consts, bswap_mask, tmp1, tmp2 157 _fold_vec \acc, \tmp1, \consts, \tmp2 159 _fold_vec \acc, \data, \consts, \tmp1 174 .macro _fold_vec_final vl, v0, v1, consts, bswap_mask, tmp1, tmp2 175 _fold_vec \v0, \v1, \consts, \tmp1 178 _fold_vec_mem \vl, \v0, (BUF), \consts, \bswap_mask, \tmp1, \tmp2
|
| H A D | crc-pclmul-template.h | 56 #define CRC_PCLMUL(crc, p, len, prefix, consts, have_pclmulqdq) \ argument 62 consts_ptr = (consts).fold_across_128_bits_consts; \
|
| /linux/sound/soc/sdca/ |
| H A D | sdca_regmap.c | 235 * @consts: Pointer to the array which should be filled with the DisCo 248 struct reg_default *consts) 266 consts[k].reg = SDW_SDCA_CTL(function->desc->adr, in sdca_regmap_populate_constants() 270 consts[k].def = control->values[l]; in sdca_regmap_populate_constants() 272 consts[k].def = control->reset; in sdca_regmap_populate_constants() 254 sdca_regmap_populate_constants(struct device * dev,struct sdca_function_data * function,struct reg_default * consts) sdca_regmap_populate_constants() argument
|
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_fdma.c | 103 const struct sparx5_consts *consts = sparx5->data->consts; in lan969x_fdma_rx_get_frame() local 115 port = fi.src_port < consts->n_ports ? sparx5->ports[fi.src_port] : in lan969x_fdma_rx_get_frame() 220 for (int idx = 0; idx < sparx5->data->consts->n_ports; ++idx) { in lan969x_fdma_rx_init()
|
| H A D | lan969x_calendar.c | 97 if (portno < sparx5->data->consts->n_ports_all) in lan969x_dsm_calendar_calc()
|
| H A D | lan969x.c | 355 .consts = &lan969x_consts,
|
| /linux/arch/powerpc/crypto/ |
| H A D | aesp10-ppc.pl | 533 my $consts=1; 538 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) { 564 $consts=0 if (m/Lconsts:/o); # end of table
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | __init__.py | 7 from .consts import KSRC
|
| H A D | ynl.py | 5 from .consts import KSRC, KSFT_DIR
|
| H A D | ksft.py | 13 from .consts import KSFT_MAIN_NAME
|
| /linux/tools/net/ynl/pyynl/ |
| H A D | ynl_gen_c.py | 91 if self.nested_attrs in self.family.consts: 126 if value in self.family.consts: 127 return self.family.consts[value]["value"] 136 if value in self.family.consts: 137 const = self.family.consts[value] 397 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags' 402 self.type_name = self.family.consts[self.attr['enum']].user_type 410 enum = self.family.consts[self.attr['enum']] 437 enum = self.family.consts[self.attr['enum']] 440 flags = self.family.consts[self.checks['flags-mask']] [all …]
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 2059 __be64 consts[4]; in safexcel_cmac_setkey() local 2074 memset(consts, 0, AES_BLOCK_SIZE); in safexcel_cmac_setkey() 2075 aes_encrypt(ctx->aes, (u8 *)consts, (u8 *)consts); in safexcel_cmac_setkey() 2078 _const[0] = be64_to_cpu(consts[1]); in safexcel_cmac_setkey() 2079 _const[1] = be64_to_cpu(consts[0]); in safexcel_cmac_setkey() 2087 consts[i + 0] = cpu_to_be64(_const[1]); in safexcel_cmac_setkey() 2088 consts[i + 1] = cpu_to_be64(_const[0]); in safexcel_cmac_setkey() 2093 ctx->base.ipad.be[i] = cpu_to_be32(((u32 *)consts)[i]); in safexcel_cmac_setkey()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_mirror.c | 202 sparx5->data->consts->n_ports); in sparx5_mirror_del()
|
| H A D | sparx5_vlan.c | 171 for (port = 0; port < sparx5->data->consts->n_ports; port++) { in sparx5_update_fwd()
|
| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | ynl.py | 782 enum = self.consts[attr_spec['enum']] 911 enum = self.consts[attr_spec['enum']] 1148 members = self.consts[name].members 1163 members = self.consts[name].members 1192 members = self.consts[name].members
|