Searched refs:lg2samples (Results 1 – 1 of 1) sorted by relevance
235 n2rng_renyi_entropy(uint64_t *samples, int lg2samples, n2rng_osc_perf_t *entp) in n2rng_renyi_entropy() argument245 n2rng_sort(samples, lg2samples); in n2rng_renyi_entropy()247 for (i = 1; i < (1 << lg2samples); i++) { in n2rng_renyi_entropy()255 ((int64_t)(LOG_ARG_SCALE - lg2samples) << in n2rng_renyi_entropy()256 LOG_VAL_SCALE))) >> lg2samples; in n2rng_renyi_entropy()272 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE))) >> in n2rng_renyi_entropy()273 lg2samples; 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()