Home
last modified time | relevance | path

Searched refs:hash_32 (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/hardware/mpp/include/
H A Dmpp_hash.h32 #define hash_long(val, bits) hash_32(val, bits)
278 /* Use hash_32 when possible to allow for fast 32bit hashing in 64bit kernels. */
279 #define hash_min(val, bits) (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
319 static inline unsigned int hash_32(unsigned int val, unsigned int bits) in hash_32() function
340 return hash_32((unsigned int)val ^ ((val >> 32) * GOLDEN_RATIO_32), bits); in hash_64()
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dmpp_hash.h32 #define hash_long(val, bits) hash_32(val, bits)
274 /* Use hash_32 when possible to allow for fast 32bit hashing in 64bit kernels. */
276 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
319 static inline RK_U32 hash_32(RK_U32 val, unsigned int bits) in hash_32() function
340 return hash_32((RK_U32)val ^ ((val >> 32) * GOLDEN_RATIO_32), bits); in hash_64()
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dmpp_hash.h32 #define hash_long(val, bits) hash_32(val, bits)
279 /* Use hash_32 when possible to allow for fast 32bit hashing in 64bit kernels. */
281 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
324 static inline RK_U32 hash_32(RK_U32 val, unsigned int bits) in hash_32() function
345 return hash_32((RK_U32)val ^ ((val >> 32) * GOLDEN_RATIO_32), bits); in hash_64()
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dmpp_hash.h33 #define hash_long(val, bits) hash_32(val, bits)
270 /* Use hash_32 when possible to allow for fast 32bit hashing in 64bit kernels. */
272 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
315 static inline RK_U32 hash_32(RK_U32 val, unsigned int bits) in hash_32() function
336 return hash_32((RK_U32)val ^ ((val >> 32) * GOLDEN_RATIO_32), bits); in hash_64()

Completed in 3 milliseconds