Home
last modified time | relevance | path

Searched refs:consts (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_llc.c48 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 = 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() argument
84 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq()
[all …]
Dselftest_llc.c14 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.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
/Linux-v5.10/crypto/
Dcmac.c55 __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[0]); in crypto_cmac_digest_setkey()
95 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
172 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final() local
[all …]
Dxcbc.c55 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()
/Linux-v5.10/arch/arm64/crypto/
Daes-glue.c123 u8 __aligned(8) consts[];
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()
929 u8 *consts = tctx->consts; in cmac_final() local
933 consts += AES_BLOCK_SIZE; in cmac_final()
936 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1); in cmac_final()
/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c2180 __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()
/Linux-v5.10/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S222 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
/Linux-v5.10/arch/mips/cavium-octeon/
Docteon-irq.c2855 union cvmx_ciu3_const consts; in octeon_irq_init_ciu3() local
2873 consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST); in octeon_irq_init_ciu3()
/Linux-v5.10/drivers/crypto/vmx/
Daesp8-ppc.pl3794 my $consts=1;
3799 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) {
3825 $consts=0 if (m/Lconsts:/o); # end of table