Home
last modified time | relevance | path

Searched refs:mul (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dmath64.h160 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr() argument
162 return (u64)(((unsigned __int128)a * mul) >> shift); in mul_u64_u32_shr()
167 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() argument
169 return (u64)(((unsigned __int128)a * mul) >> shift); in mul_u64_u64_shr()
176 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr() argument
184 ret = mul_u32_u32(al, mul) >> shift; in mul_u64_u32_shr()
186 ret += mul_u32_u32(ah, mul) << (32 - shift); in mul_u64_u32_shr()
257 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) in mul_u64_u32_div() argument
271 rl.ll = mul_u32_u32(u.l.low, mul); in mul_u64_u32_div()
272 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div()
[all …]
/include/media/
Dv4l2-common.h541 s64 v4l2_get_link_freq(struct v4l2_ctrl_handler *handler, unsigned int mul,