Home
last modified time | relevance | path

Searched refs:count_leading_zeros (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/arch/powerpc/math-emu/
H A Dudivmodti4.c6 #undef count_leading_zeros
7 #define count_leading_zeros __FP_CLZ macro
51 count_leading_zeros (bm, d0); in _fp_udivmodti4()
75 count_leading_zeros (bm, d0); in _fp_udivmodti4()
133 count_leading_zeros (bm, d1); in _fp_udivmodti4()
/openbmc/u-boot/arch/nios2/lib/
H A Dlonglong.h212 #if !defined (count_leading_zeros)
213 #define count_leading_zeros(count, x) \ macro
243 count_leading_zeros (__ctz_c, __ctz_x & -__ctz_x); \
H A Dlibgcc.c202 count_leading_zeros (bm, d0); in __udivmoddi4()
226 count_leading_zeros (bm, d0); in __udivmoddi4()
291 count_leading_zeros (bm, d1); in __udivmoddi4()
/openbmc/linux/lib/crypto/mpi/
H A Dmpih-div.c52 normalization_steps = count_leading_zeros(divisor_limb); in mpihelp_mod_1()
125 normalization_steps = count_leading_zeros(divisor_limb); in mpihelp_mod_1()
402 normalization_steps = count_leading_zeros(divisor_limb); in mpihelp_divmod_1()
473 normalization_steps = count_leading_zeros(divisor_limb); in mpihelp_divmod_1()
H A Dmpi-pow.c73 mod_shift_cnt = count_leading_zeros(mod->d[msize - 1]); in mpi_powm()
163 c = count_leading_zeros(e); in mpi_powm()
H A Dmpicoder.c55 nbits -= count_leading_zeros(buffer[0]) - (BITS_PER_LONG - 8); in mpi_read_raw_data()
229 lzeros += count_leading_zeros(alimb) / 8; in count_lzeros()
484 nbits -= count_leading_zeros(*buff) - (BITS_PER_LONG - 8); in mpi_read_raw_from_sgl()
H A Dmpi-div.c160 normalization_steps = count_leading_zeros(dp[dsize - 1]); in mpi_tdiv_qr()
H A Dmpi-bit.c49 n = count_leading_zeros(alimb); in mpi_get_nbits()
/openbmc/linux/include/linux/
H A Dcount_zeros.h23 static inline int count_leading_zeros(unsigned long x) in count_leading_zeros() function
/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-acry.c270 nbits -= count_leading_zeros(src[0]) - (BITS_PER_LONG - 8); in aspeed_acry_rsa_ctx_copy()