Home
last modified time | relevance | path

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

/linux/include/asm-generic/bitops/
H A Dconst_hweight.h20 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) macro
21 #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32))
28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w))
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w))
/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h20 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) macro
21 #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32))
28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w))
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w))