/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
D | intel_llc.c | 51 struct ia_constants *consts) in get_ia_constants() argument 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() argument 79 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq() 90 ring_freq = max(consts->min_ring_freq, gpu_freq); in calc_ia_freq() 93 ring_freq = max(consts->min_ring_freq, ring_freq); in calc_ia_freq() [all …]
|
D | selftest_llc.c | 13 struct ia_constants consts; in gen6_verify_ring_freq() local 20 if (!get_ia_constants(llc, &consts)) in gen6_verify_ring_freq() 23 for (gpu_freq = consts.min_gpu_freq; in gen6_verify_ring_freq() 24 gpu_freq <= consts.max_gpu_freq; in gen6_verify_ring_freq() 31 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq() 37 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq); in gen6_verify_ring_freq() 45 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq() 55 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
|
/Linux-v6.1/crypto/ |
D | cmac.c | 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[0]); in crypto_cmac_digest_setkey() 96 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 173 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final() local [all …]
|
D | xcbc.c | 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()
|
/Linux-v6.1/arch/arm64/crypto/ |
D | aes-glue.c | 129 u8 __aligned(8) consts[]; 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 = tctx->consts; in cmac_final() local 968 consts += AES_BLOCK_SIZE; in cmac_final() 971 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1); in cmac_final()
|
/Linux-v6.1/drivers/crypto/inside-secure/ |
D | safexcel_hash.c | 2169 __be64 consts[4]; in safexcel_cmac_setkey() local 2184 memset(consts, 0, AES_BLOCK_SIZE); in safexcel_cmac_setkey() 2185 aes_encrypt(ctx->aes, (u8 *)consts, (u8 *)consts); in safexcel_cmac_setkey() 2188 _const[0] = be64_to_cpu(consts[1]); in safexcel_cmac_setkey() 2189 _const[1] = be64_to_cpu(consts[0]); in safexcel_cmac_setkey() 2197 consts[i + 0] = cpu_to_be64(_const[1]); in safexcel_cmac_setkey() 2198 consts[i + 1] = cpu_to_be64(_const[0]); in safexcel_cmac_setkey() 2203 ctx->base.ipad.be[i] = cpu_to_be32(((u32 *)consts)[i]); in safexcel_cmac_setkey()
|
/Linux-v6.1/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 221 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
|
/Linux-v6.1/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 2883 union cvmx_ciu3_const consts; in octeon_irq_init_ciu3() local 2901 consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST); in octeon_irq_init_ciu3()
|
/Linux-v6.1/drivers/crypto/vmx/ |
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
|