/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_llc.c | 48 struct ia_constants *consts) in get_ia_constants() 59 consts->max_ia_freq = cpu_max_MHz(); in get_ia_constants() 61 consts->min_ring_freq = in get_ia_constants() 64 consts->min_ring_freq = mult_frac(consts->min_ring_freq, 8, 3); in get_ia_constants() 66 consts->min_gpu_freq = rps->min_freq; in get_ia_constants() 67 consts->max_gpu_freq = rps->max_freq; in get_ia_constants() 70 consts->min_gpu_freq /= GEN9_FREQ_SCALER; in get_ia_constants() 71 consts->max_gpu_freq /= GEN9_FREQ_SCALER; in get_ia_constants() 79 const struct ia_constants *consts, in calc_ia_freq() 47 get_ia_constants(struct intel_llc *llc, struct ia_constants *consts) get_ia_constants() argument 77 calc_ia_freq(struct intel_llc *llc, unsigned int gpu_freq, const struct ia_constants *consts, unsigned int *out_ia_freq, unsigned int *out_ring_freq) calc_ia_freq() argument 126 struct ia_constants consts; gen6_update_ring_freq() local [all...] |
H A D | selftest_llc.c | 14 struct ia_constants consts; in gen6_verify_ring_freq() local 21 if (!get_ia_constants(llc, &consts)) in gen6_verify_ring_freq() 24 for (gpu_freq = consts.min_gpu_freq; in gen6_verify_ring_freq() 25 gpu_freq <= consts.max_gpu_freq; in gen6_verify_ring_freq() 32 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq() 39 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq); in gen6_verify_ring_freq() 47 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq() 57 gpu_freq, consts in gen6_verify_ring_freq() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_llc.c | 51 struct ia_constants *consts) in get_ia_constants() 59 consts->max_ia_freq = cpu_max_MHz(); in get_ia_constants() 61 consts->min_ring_freq = in get_ia_constants() 64 consts->min_ring_freq = mult_frac(consts->min_ring_freq, 8, 3); in get_ia_constants() 66 consts->min_gpu_freq = intel_rps_get_min_raw_freq(rps); in get_ia_constants() 67 consts->max_gpu_freq = intel_rps_get_max_raw_freq(rps); in get_ia_constants() 74 const struct ia_constants *consts, in calc_ia_freq() 79 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq() 90 ring_freq = max(consts in calc_ia_freq() 50 get_ia_constants(struct intel_llc *llc, struct ia_constants *consts) get_ia_constants() argument 72 calc_ia_freq(struct intel_llc *llc, unsigned int gpu_freq, const struct ia_constants *consts, unsigned int *out_ia_freq, unsigned int *out_ring_freq) calc_ia_freq() argument 120 struct ia_constants consts; gen6_update_ring_freq() local [all...] |
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 in gen6_verify_ring_freq() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | cmac.c | 25 * | consts (block size * 2) 55 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey() local 66 memset(consts, 0, bs); in crypto_cmac_digest_setkey() 67 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey() 72 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey() 73 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 81 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey() 82 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 88 _const[0] = be64_to_cpu(consts[ in crypto_cmac_digest_setkey() 172 u8 *consts = PTR_ALIGN((void *)tctx->ctx, crypto_cmac_digest_final() local [all...] |
H A D | xcbc.c | 24 * | consts (block size * 2) 55 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() local 63 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 64 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 139 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local 159 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | cmac.c | 26 * | consts (block size * 2) 56 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey() local 67 memset(consts, 0, bs); in crypto_cmac_digest_setkey() 68 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey() 73 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey() 74 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 82 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey() 83 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 89 _const[0] = be64_to_cpu(consts[ in crypto_cmac_digest_setkey() 173 u8 *consts = PTR_ALIGN((void *)tctx->ctx, crypto_cmac_digest_final() local [all...] |
H A D | xcbc.c | 25 * | consts (block size * 2) 56 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() local 64 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 65 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 140 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local 160 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
|
/kernel/linux/linux-6.6/rust/macros/ |
H A D | vtable.rs | 31 let mut consts = HashSet::new(); variables 48 consts.insert(const_name); 66 if consts.contains(&gen_const_name) { 77 consts.insert(gen_const_name); 84 if consts.contains(&gen_const_name) {
|
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | sm4-ce-glue.c | 68 u8 __aligned(8) consts[]; member 632 be128 *consts = (be128 *)ctx->consts; in sm4_cmac_setkey() local 638 memset(consts, 0, SM4_BLOCK_SIZE); in sm4_cmac_setkey() 646 sm4_ce_crypt_block(ctx->key.rkey_enc, (u8 *)consts, (const u8 *)consts); in sm4_cmac_setkey() 651 a = be64_to_cpu(consts[0].a); in sm4_cmac_setkey() 652 b = be64_to_cpu(consts[0].b); in sm4_cmac_setkey() 653 consts[0].a = cpu_to_be64((a << 1) | (b >> 63)); in sm4_cmac_setkey() 654 consts[ in sm4_cmac_setkey() 759 const u8 *consts = tctx->consts; sm4_cmac_final() local [all...] |
H A D | aes-glue.c | 129 u8 __aligned(8) consts[]; member 821 be128 *consts = (be128 *)ctx->consts; in cmac_setkey() local 831 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, ctx->key.key_enc, in cmac_setkey() 835 cmac_gf128_mul_by_x(consts, consts); in cmac_setkey() 836 cmac_gf128_mul_by_x(consts + 1, consts); in cmac_setkey() 861 aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2); in xcbc_setkey() 964 u8 *consts in cmac_final() local [all...] |
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
H A D | aes-glue.c | 123 u8 __aligned(8) consts[]; member 793 be128 *consts = (be128 *)ctx->consts; in cmac_setkey() local 803 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, ctx->key.key_enc, in cmac_setkey() 807 cmac_gf128_mul_by_x(consts, consts); in cmac_setkey() 808 cmac_gf128_mul_by_x(consts + 1, consts); in cmac_setkey() 833 aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2); in xcbc_setkey() 936 u8 *consts in cmac_final() local [all...] |
/kernel/linux/linux-6.6/tools/net/ynl/lib/ |
H A D | nlspec.py | 364 consts dict of all constants/enums 407 self.consts = collections.OrderedDict() 516 self.consts[elem['name']] = self.new_enum(elem) 518 self.consts[elem['name']] = self.new_struct(elem) 520 self.consts[elem['name']] = elem
|
H A D | ynl.py | 476 enum = self.consts[attr_spec['enum']] 491 members = self.consts[attr_spec.struct_name] 591 fixed_header_members = self.consts[op.fixed_header].members 601 fixed_header_members = self.consts[name].members 674 fixed_header_members = self.consts[op.fixed_header].members
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 2143 __be64 consts[4]; in safexcel_cmac_setkey() local 2158 memset(consts, 0, AES_BLOCK_SIZE); in safexcel_cmac_setkey() 2159 aes_encrypt(ctx->aes, (u8 *)consts, (u8 *)consts); in safexcel_cmac_setkey() 2162 _const[0] = be64_to_cpu(consts[1]); in safexcel_cmac_setkey() 2163 _const[1] = be64_to_cpu(consts[0]); in safexcel_cmac_setkey() 2171 consts[i + 0] = cpu_to_be64(_const[1]); in safexcel_cmac_setkey() 2172 consts[i + 1] = cpu_to_be64(_const[0]); in safexcel_cmac_setkey() 2177 ctx->base.ipad.be[i] = cpu_to_be32(((u32 *)consts)[i]); in safexcel_cmac_setkey()
|
/kernel/linux/linux-6.6/tools/net/ynl/ |
H A D | ynl-gen-c.py | 54 if self.nested_attrs in self.family.consts: 274 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags' 279 if maybe_enum and self.family.consts[self.attr['enum']].enum_name: 294 enum = self.family.consts[self.attr['enum']] 297 flags = self.family.consts[self.checks['flags-mask']] 304 enum = self.family.consts[self.attr['enum']] 609 if self.nested and space_name in family.consts: 791 self.consts = None 792 delattr(self, "consts") 1031 if attr_set in family.consts [all...] |
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 2180 __be64 consts[4]; in safexcel_cmac_setkey() local 2202 memset(consts, 0, AES_BLOCK_SIZE); in safexcel_cmac_setkey() 2203 crypto_cipher_encrypt_one(ctx->kaes, (u8 *)consts, (u8 *)consts); in safexcel_cmac_setkey() 2206 _const[0] = be64_to_cpu(consts[1]); in safexcel_cmac_setkey() 2207 _const[1] = be64_to_cpu(consts[0]); in safexcel_cmac_setkey() 2215 consts[i + 0] = cpu_to_be64(_const[1]); in safexcel_cmac_setkey() 2216 consts[i + 1] = cpu_to_be64(_const[0]); in safexcel_cmac_setkey() 2221 ctx->base.ipad.be[i] = cpu_to_be32(((u32 *)consts)[i]); in safexcel_cmac_setkey()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | crc32c-pcl-intel-asm_64.S | 222 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | crc32c-pcl-intel-asm_64.S | 221 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 2865 union cvmx_ciu3_const consts; in octeon_irq_init_ciu3() local 2883 consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST); in octeon_irq_init_ciu3()
|
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 2881 union cvmx_ciu3_const consts; in octeon_irq_init_ciu3() local 2896 consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST); in octeon_irq_init_ciu3()
|
/kernel/linux/linux-5.10/drivers/crypto/vmx/ |
H A D | aesp8-ppc.pl | 3794 my $consts=1; 3799 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) { 3825 $consts=0 if (m/Lconsts:/o); # end of table
|
/kernel/linux/linux-6.6/drivers/crypto/vmx/ |
H A D | aesp8-ppc.pl | 3794 my $consts=1; 3799 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) { 3825 $consts=0 if (m/Lconsts:/o); # end of table
|