Home
last modified time | relevance | path

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

/openbmc/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h8 #define __const_hweight8(w) \ macro
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 ))
26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w))
34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w))
/openbmc/linux/include/asm-generic/bitops/
H A Dconst_hweight.h8 #define __const_hweight8(w) \ macro
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 ))
26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w))
34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w))