Home
last modified time | relevance | path

Searched refs:frac_bits (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/clk/bcm/
A Dclk-bcm2835.c496 u32 frac_bits; member
1923 .frac_bits = 0,
1962 .frac_bits = 8,
1970 .frac_bits = 8,
1983 .frac_bits = 0,
1991 .frac_bits = 8,
2005 .frac_bits = 8,
2017 .frac_bits = 0,
2025 .frac_bits = 8,
2033 .frac_bits = 8,
[all …]
/linux/kernel/sched/
A Dloadavg.c110 fixed_power_int(unsigned long x, unsigned int frac_bits, unsigned int n) in fixed_power_int() argument
112 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()
/linux/drivers/md/
A Ddm-ps-historical-service-time.c87 static u64 fixed_power(u64 x, unsigned int frac_bits, unsigned int n) in fixed_power() argument
89 unsigned long result = 1UL << frac_bits; in fixed_power()
95 result += 1UL << (frac_bits - 1); in fixed_power()
96 result >>= frac_bits; in fixed_power()
102 x += 1UL << (frac_bits - 1); in fixed_power()
103 x >>= frac_bits; in fixed_power()
/linux/drivers/gpu/drm/amd/display/include/
A Dfixed31_32.h517 static inline struct fixed31_32 dc_fixpt_truncate(struct fixed31_32 arg, unsigned int frac_bits) in dc_fixpt_truncate() argument
521 if (frac_bits >= FIXED31_32_BITS_PER_FRACTIONAL_PART) { in dc_fixpt_truncate()
522 ASSERT(frac_bits == FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_truncate()
528 arg.value &= (~0LL) << (FIXED31_32_BITS_PER_FRACTIONAL_PART - frac_bits); in dc_fixpt_truncate()
/linux/sound/soc/fsl/
A Dfsl_easrc.c179 unsigned int frac_bits; in fsl_easrc_set_rs_ratio() local
186 frac_bits = 39; in fsl_easrc_set_rs_ratio()
190 frac_bits = 38; in fsl_easrc_set_rs_ratio()
194 frac_bits = 37; in fsl_easrc_set_rs_ratio()
200 val = (u64)in_rate << frac_bits; in fsl_easrc_set_rs_ratio()

Completed in 19 milliseconds