Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
A 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()
79 const struct ia_constants *consts, in calc_ia_freq() argument
126 struct ia_constants consts; in gen6_update_ring_freq() local
129 if (!get_ia_constants(llc, &consts)) in gen6_update_ring_freq()
137 for (gpu_freq = consts.max_gpu_freq; in gen6_update_ring_freq()
[all …]
A Dselftest_llc.c13 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()
38 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq); in gen6_verify_ring_freq()
46 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
56 gpu_freq, consts.min_gpu_freq, consts.max_gpu_freq, in gen6_verify_ring_freq()
/linux/crypto/
A Dcmac.c56 __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 …]
A Dxcbc.c56 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/arch/arm64/crypto/
A Daes-glue.c125 u8 __aligned(8) consts[];
752 be128 *consts = (be128 *)ctx->consts; in cmac_setkey() local
762 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, ctx->key.key_enc, in cmac_setkey()
766 cmac_gf128_mul_by_x(consts, consts); in cmac_setkey()
767 cmac_gf128_mul_by_x(consts + 1, consts); in cmac_setkey()
792 aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2); in xcbc_setkey()
895 u8 *consts = tctx->consts; in cmac_final() local
899 consts += AES_BLOCK_SIZE; in cmac_final()
902 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1); in cmac_final()
/linux/drivers/crypto/inside-secure/
A Dsafexcel_hash.c2182 __be64 consts[4]; in safexcel_cmac_setkey() local
2204 memset(consts, 0, AES_BLOCK_SIZE); in safexcel_cmac_setkey()
2205 crypto_cipher_encrypt_one(ctx->kaes, (u8 *)consts, (u8 *)consts); in safexcel_cmac_setkey()
2208 _const[0] = be64_to_cpu(consts[1]); in safexcel_cmac_setkey()
2209 _const[1] = be64_to_cpu(consts[0]); in safexcel_cmac_setkey()
2217 consts[i + 0] = cpu_to_be64(_const[1]); in safexcel_cmac_setkey()
2218 consts[i + 1] = cpu_to_be64(_const[0]); in safexcel_cmac_setkey()
2223 ctx->base.ipad.be[i] = cpu_to_be32(((u32 *)consts)[i]); in safexcel_cmac_setkey()
/linux/arch/x86/crypto/
A Dcrc32c-pcl-intel-asm_64.S219 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
/linux/arch/mips/cavium-octeon/
A Docteon-irq.c2873 union cvmx_ciu3_const consts; in octeon_irq_init_ciu3() local
2891 consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST); in octeon_irq_init_ciu3()
/linux/drivers/crypto/vmx/
A 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

Completed in 23 milliseconds