Searched refs:BW_FIXED_BITS_PER_FRACTIONAL_PART (Results 1 – 2 of 2) sorted by relevance
29 #define BW_FIXED_BITS_PER_FRACTIONAL_PART 24 macro31 #define BW_FIXED_GET_INTEGER_PART(x) ((x) >> BW_FIXED_BITS_PER_FRACTIONAL_PART)37 (int64_t)(-(1LL << (63 - BW_FIXED_BITS_PER_FRACTIONAL_PART)))40 (int64_t)((1ULL << (63 - BW_FIXED_BITS_PER_FRACTIONAL_PART)) - 1)74 res.value = value << BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_int_to_fixed()93 result.value = -(raw >> (32 - BW_FIXED_BITS_PER_FRACTIONAL_PART)); in fixed31_32_to_bw_fixed()95 result.value = raw >> (32 - BW_FIXED_BITS_PER_FRACTIONAL_PART); in fixed31_32_to_bw_fixed()
35 ((1ULL << BW_FIXED_BITS_PER_FRACTIONAL_PART) - 1)53 res.value = value << BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_int_to_fixed_nonconst()79 uint32_t i = BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_frc_to_fixed()162 res.value <<= BW_FIXED_BITS_PER_FRACTIONAL_PART; in bw_mul()178 tmp = (tmp >> BW_FIXED_BITS_PER_FRACTIONAL_PART) + in bw_mul()