Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A 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()
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()
120 struct ia_constants consts; in gen6_update_ring_freq() local
123 if (!get_ia_constants(llc, &consts)) in gen6_update_ring_freq()
130 if (consts.max_gpu_freq <= consts.min_gpu_freq) in gen6_update_ring_freq()
137 for (gpu_freq = consts.max_gpu_freq; in gen6_update_ring_freq()
[all …]
H A 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()
/openbmc/linux/crypto/
H 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 …]
H 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()
/openbmc/linux/rust/macros/
H A 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()
/openbmc/linux/arch/arm64/crypto/
H A Dsm4-ce-glue.c68 u8 __aligned(8) consts[];
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()
656 a = be64_to_cpu(consts[0].a); in sm4_cmac_setkey()
657 b = be64_to_cpu(consts[0].b); in sm4_cmac_setkey()
759 const u8 *consts = tctx->consts; in sm4_cmac_final() local
[all …]
H A 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()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-linux.rs-Define-consts-for-rv32-architecture.patch4 Subject: [PATCH] linux.rs: Define consts for rv32 architecture
16 @@ -34,6 +34,7 @@ mod consts {
22 mod consts {
/openbmc/linux/tools/net/ynl/lib/
H A Dnlspec.py407 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 Dynl.py477 enum = self.consts[attr_spec['enum']]
492 members = self.consts[attr_spec.struct_name]
592 fixed_header_members = self.consts[op.fixed_header].members
602 fixed_header_members = self.consts[name].members
675 fixed_header_members = self.consts[op.fixed_header].members
/openbmc/linux/arch/powerpc/crypto/
H A 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
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/cherokee/cherokee/
H A Dcherokee-install-configured.py-once.patch35 consts.py \
/openbmc/linux/tools/net/ynl/
H A Dynl-gen-c.py54 if self.nested_attrs in self.family.consts:
282 if maybe_enum and self.family.consts[self.attr['enum']].enum_name:
297 enum = self.family.consts[self.attr['enum']]
300 flags = self.family.consts[self.checks['flags-mask']]
307 enum = self.family.consts[self.attr['enum']]
612 if self.nested and space_name in family.consts:
794 self.consts = None
1034 if attr_set in family.consts:
2149 enum = family.consts[const['name']]
2489 for name, const in parsed.consts.items():
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pyruvate_1.2.1.bb12 …file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=../cargo_home/bitbake/nix-…
/openbmc/linux/drivers/crypto/inside-secure/
H A 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()
/openbmc/linux/arch/x86/crypto/
H A Dcrc32c-pcl-intel-asm_64.S221 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
/openbmc/linux/arch/mips/cavium-octeon/
H A 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()
/openbmc/linux/drivers/crypto/vmx/
H 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
/openbmc/openbmc/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist2.txt1696 -rw-r--r-- root root 1471 ./usr/include/bits/sigevent-consts.h
1698 -rw-r--r-- root root 204 ./usr/include/bits/siginfo-consts-arch.h
1699 -rw-r--r-- root root 6855 ./usr/include/bits/siginfo-consts.h
H A Dbuildhistory_filelist1.txt1695 -rw-r--r-- root root 1471 ./usr/include/bits/sigevent-consts.h
1697 -rw-r--r-- root root 204 ./usr/include/bits/siginfo-consts-arch.h
1698 -rw-r--r-- root root 6855 ./usr/include/bits/siginfo-consts.h
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch29506 +# Setup: consts - subdivide a single register
29610 +# These 3 consts each save 1 instruction in Y loop setup