Searched refs:HIST_DIV_SHIFT (Results 1 – 1 of 1) sorted by relevance
96 #define HIST_DIV_SHIFT 20 /* For optimizing division by constants */ macro414 if (val1 < (1 << HIST_DIV_SHIFT)) { in div_by_mult_and_shift()417 return (val1 * mult + ((1 << HIST_DIV_SHIFT) - 1)) >> HIST_DIV_SHIFT; in div_by_mult_and_shift()695 if (div > (1 << HIST_DIV_SHIFT)) in hist_field_get_div_fn()698 divisor->div_multiplier = div64_u64((u64)(1 << HIST_DIV_SHIFT), div); in hist_field_get_div_fn()