Home
last modified time | relevance | path

Searched refs:mul (Results 1 – 18 of 18) sorted by relevance

/optee_os/core/drivers/clk/sam/
H A Dat91_pll.c42 uint16_t mul; member
66 uint16_t mul = 0; in clk_pll_enable() local
70 mul = PLL_MUL(pllr, layout); in clk_pll_enable()
74 (div == pll->div && mul == pll->mul)) in clk_pll_enable()
88 ((pll->mul & layout->mul_mask) << layout->mul_shift)); in clk_pll_enable()
109 if (!pll->div || !pll->mul) in clk_pll_get_rate()
112 return (parent_rate / pll->div) * (pll->mul + 1); in clk_pll_get_rate()
117 uint32_t *div, uint32_t *mul, in clk_pll_get_best_div_mul() argument
219 if (mul) in clk_pll_get_best_div_mul()
220 *mul = bestmul - 1; in clk_pll_get_best_div_mul()
[all …]
H A Dclk-sam9x60-pll.c51 uint16_t mul; member
90 return parent_rate * (frac->mul + 1) + in sam9x60_frac_pll_recalc_rate()
110 cmul == frac->mul && cfrac == frac->frac) in sam9x60_frac_pll_set()
121 SHIFT_U32(frac->mul, core->layout->mul_shift) | in sam9x60_frac_pll_set()
220 frac->mul = nmul - 1; in sam9x60_frac_pll_compute_mul_frac()
242 SHIFT_U32(frac->mul, core->layout->mul_shift) | in sam9x60_frac_pll_set_rate_chg()
443 frac->mul = (val >> PMC_PLL_CTRL1_MUL_POS) & in sam9x60_clk_register_frac_pll()
/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dtiger.c569 LTC_INLINE static void tiger_round(ulong64 *a, ulong64 *b, ulong64 *c, ulong64 x, int mul) in tiger_round() argument
575 switch (mul) { in tiger_round()
583 static void s_pass(ulong64 *a, ulong64 *b, ulong64 *c, const ulong64 *x, int mul) in s_pass() argument
585 tiger_round(a,b,c,x[0],mul); in s_pass()
586 tiger_round(b,c,a,x[1],mul); in s_pass()
587 tiger_round(c,a,b,x[2],mul); in s_pass()
588 tiger_round(a,b,c,x[3],mul); in s_pass()
589 tiger_round(b,c,a,x[4],mul); in s_pass()
590 tiger_round(c,a,b,x[5],mul); in s_pass()
591 tiger_round(a,b,c,x[6],mul); in s_pass()
[all …]
/optee_os/core/arch/arm/plat-marvell/otx2/
H A Dcore_pos.S12 mul x1, x1, x2
/optee_os/core/arch/riscv/kernel/
H A Dentry.S41 mul t1, t0, t1
63 mul t2, t1, t0
322 mul a2, a2, a0
399 mul t2, t2, t0
462 mul t6, t6, t5
498 mul a0, a0, a2
/optee_os/core/lib/libtomcrypt/
H A Dmpi_desc.c313 static int mul(void *a, void *b, void *c) in mul() function
335 return mul(a, a, b); in sqr()
465 res = mul(&ta, &tb, d); in mulmod()
659 .mul = mul,
/optee_os/core/drivers/
H A Dversal_trng.c724 uint32_t mul) in trng_reseed_internal() argument
734 trng->len = (mul + 1) * BYTES_PER_BLOCK; in trng_reseed_internal()
831 uint32_t mul) in trng_reseed() argument
849 if (mul < TRNG_MIN_DFLENMULT || mul > TRNG_MAX_DFLENMULT) in trng_reseed()
853 if (trng->usr_cfg.df_disable && mul) in trng_reseed()
859 if (trng_reseed_internal(trng, eseed, NULL, mul)) in trng_reseed()
/optee_os/core/crypto/
H A Daes-gcm.c527 uint32_t mul = 0; in internal_aes_gcm_gfmul() local
539 mul = y[1] & 1; in internal_aes_gcm_gfmul()
541 y[0] = (y[0] >> 1) ^ (0xe100000000000000 * mul); in internal_aes_gcm_gfmul()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_math.h232 int (*mul)(void *a, void *b, void *c); member
H A Dtomcrypt_private.h224 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c)
/optee_os/core/lib/libtomcrypt/src/math/
H A Dltm_desc.c271 static int mul(void *a, void *b, void *c) in mul() function
502 &mul,
H A Dgmp_desc.c257 static int mul(void *a, void *b, void *c) in mul() function
600 &mul,
H A Dtfm_desc.c236 static int mul(void *a, void *b, void *c) in mul() function
794 &mul,
/optee_os/lib/libmbedtls/mbedtls/library/
H A Decdsa.c282 goto mul; in mbedtls_ecdsa_sign_restartable()
315 mul: in mbedtls_ecdsa_sign_restartable()
H A Dbn_mul.h934 __asm mul ebx \
/optee_os/core/arch/arm/kernel/
H A Dentry_a64.S37 mul x1, x0, x1
H A Dentry_a32.S273 mul r1, r0, r1
/optee_os/core/arch/riscv/include/
H A Dencoding.h3731 DECLARE_INSN(mul, MATCH_MUL, MASK_MUL)