Searched refs:frac_bits (Results 1 – 1 of 1) sorted by relevance
110 fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) in fixed_power_int() argument112 unsigned long result = 1UL << frac_bits; in fixed_power_int()118 result += 1UL << (frac_bits - 1); in fixed_power_int()119 result >>= frac_bits; in fixed_power_int()125 x += 1UL << (frac_bits - 1); in fixed_power_int()126 x >>= frac_bits; in fixed_power_int()