Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_llc.c51 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 …]
Dselftest_llc.c12 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-6.12.1/crypto/
Dcmac.c31 __be64 consts[]; member
55 __be64 *consts = ctx->consts; in crypto_cmac_digest_setkey() local
65 memset(consts, 0, bs); in crypto_cmac_digest_setkey()
66 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey()
71 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey()
72 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey()
80 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey()
81 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
87 _const[0] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey()
94 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
[all …]
Dxcbc.c30 u8 consts[]; member
55 u8 *consts = ctx->consts; 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()
155 crypto_xor(prev, &tctx->consts[offset], bs); in crypto_xcbc_digest_final()
/linux-6.12.1/rust/macros/
Dvtable.rs31 let mut consts = HashSet::new(); in vtable() localVariable
48 consts.insert(const_name); in vtable()
66 if consts.contains(&gen_const_name) { in vtable()
77 consts.insert(gen_const_name); in vtable()
84 if consts.contains(&gen_const_name) { in vtable()
/linux-6.12.1/arch/arm64/crypto/
Dsm4-ce-glue.c63 u8 __aligned(8) consts[];
527 be128 *consts = (be128 *)ctx->consts; in sm4_cmac_setkey() local
533 memset(consts, 0, SM4_BLOCK_SIZE); in sm4_cmac_setkey()
541 sm4_ce_crypt_block(ctx->key.rkey_enc, (u8 *)consts, (const u8 *)consts); in sm4_cmac_setkey()
546 a = be64_to_cpu(consts[0].a); in sm4_cmac_setkey()
547 b = be64_to_cpu(consts[0].b); in sm4_cmac_setkey()
548 consts[0].a = cpu_to_be64((a << 1) | (b >> 63)); in sm4_cmac_setkey()
549 consts[0].b = cpu_to_be64((b << 1) ^ ((a >> 63) ? 0x87 : 0)); in sm4_cmac_setkey()
551 a = be64_to_cpu(consts[0].a); in sm4_cmac_setkey()
552 b = be64_to_cpu(consts[0].b); in sm4_cmac_setkey()
[all …]
Daes-glue.c129 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-6.12.1/tools/testing/selftests/net/lib/py/
D__init__.py3 from .consts import KSRC
Dynl.py5 from .consts import KSRC, KSFT_DIR
Dksft.py9 from .consts import KSFT_MAIN_NAME
/linux-6.12.1/arch/powerpc/crypto/
Daesp10-ppc.pl533 my $consts=1;
538 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) {
564 $consts=0 if (m/Lconsts:/o); # end of table
Daesp8-ppc.pl3837 my $consts=1;
3842 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) {
3868 $consts=0 if (m/Lconsts:/o); # end of table
/linux-6.12.1/tools/net/ynl/lib/
Dnlspec.py465 self.consts = collections.OrderedDict()
578 self.consts[elem['name']] = self.new_enum(elem)
580 self.consts[elem['name']] = self.new_struct(elem)
582 self.consts[elem['name']] = elem
Dynl.py521 enum = self.consts[attr_spec['enum']]
609 enum = self.consts[attr_spec['enum']]
811 members = self.consts[name].members
827 members = self.consts[name].members
856 members = self.consts[name].members
/linux-6.12.1/tools/net/ynl/
Dynl-gen-c.py66 if self.nested_attrs in self.family.consts:
83 elif value in self.family.consts:
305 enum = self.family.consts[self.attr['enum']]
337 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags'
342 self.type_name = self.family.consts[self.attr['enum']].user_type
351 enum = self.family.consts[self.attr['enum']]
354 flags = self.family.consts[self.checks['flags-mask']]
509 enum = self.family.consts[self.attr['enum']]
700 if self.nested and space_name in family.consts:
898 self.consts = None
[all …]
/linux-6.12.1/drivers/crypto/inside-secure/
Dsafexcel_hash.c2143 __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()
/linux-6.12.1/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S221 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
/linux-6.12.1/tools/sched_ext/
Dscx_qmap.bpf.c27 enum consts { enum
/linux-6.12.1/arch/mips/cavium-octeon/
Docteon-irq.c2881 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()