Home
last modified time | relevance | path

Searched refs:ep_ro (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_random.h46 static inline u32 i915_prandom_u32_max_state(u32 ep_ro, struct rnd_state *state) in i915_prandom_u32_max_state() argument
48 return upper_32_bits(mul_u32_u32(prandom_u32_state(state), ep_ro)); in i915_prandom_u32_max_state()
/Linux-v4.19/drivers/gpu/drm/lib/
Ddrm_random.c10 static inline u32 drm_prandom_u32_max_state(u32 ep_ro, struct rnd_state *state) in drm_prandom_u32_max_state() argument
12 return upper_32_bits((u64)prandom_u32_state(state) * ep_ro); in drm_prandom_u32_max_state()
/Linux-v4.19/include/linux/
Drandom.h137 static inline u32 prandom_u32_max(u32 ep_ro) in prandom_u32_max() argument
139 return (u32)(((u64) prandom_u32() * ep_ro) >> 32); in prandom_u32_max()
Dkernel.h311 static inline u32 reciprocal_scale(u32 val, u32 ep_ro) in reciprocal_scale() argument
313 return (u32)(((u64) val * ep_ro) >> 32); in reciprocal_scale()