Home
last modified time | relevance | path

Searched refs:LOG_VAL_SCALE (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_algs.c139 logx = (int64_t)(i - LOG_ARG_SCALE) << LOG_VAL_SCALE; in lg2()
148 (1ULL << (63 - LOG_VAL_SCALE - 1))) >> in lg2()
149 (63 - LOG_VAL_SCALE); in lg2()
256 LOG_VAL_SCALE))) >> lg2samples; in n2rng_renyi_entropy()
272 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE))) >> in n2rng_renyi_entropy()
282 ((int64_t)(LOG_ARG_SCALE - 2 * lg2samples) << LOG_VAL_SCALE)) / 64; in n2rng_renyi_entropy()
285 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE)) / 64; in n2rng_renyi_entropy()
H A Dn2rng_entp_setup.c101 #define ENTDIVISOR (((1ULL << LOG_VAL_SCALE) + 500ULL) / 1000ULL)
/titanic_50/usr/src/uts/sun4v/sys/
H A Dn2rng.h269 #define LOG_VAL_SCALE 32 macro