Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/lib/ !
Ddrm_random.c10 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()
Ddrm_random.h25 u32 drm_prandom_u32_max_state(u32 ep_ro,
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ !
Di915_random.h47 static inline u32 i915_prandom_u32_max_state(u32 ep_ro, struct rnd_state *state) in i915_prandom_u32_max_state() argument
49 return upper_32_bits(mul_u32_u32(prandom_u32_state(state), ep_ro)); in i915_prandom_u32_max_state()
/linux-6.1.9/include/linux/ !
Dprandom.h27 static inline u32 prandom_u32_max(u32 ep_ro) in prandom_u32_max() argument
29 return get_random_u32_below(ep_ro); in prandom_u32_max()
Dmath.h172 static inline u32 reciprocal_scale(u32 val, u32 ep_ro)
174 return (u32)(((u64) val * ep_ro) >> 32);
/linux-6.1.9/kernel/kcsan/ !
Dcore.c296 static u32 kcsan_prandom_u32_max(u32 ep_ro) in kcsan_prandom_u32_max() argument
303 return state % ep_ro; in kcsan_prandom_u32_max()