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

/linux-4.1.27/include/asm-generic/bitops/
H A Dconst_hweight.h18 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) macro
19 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16))
26 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w))
34 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w))

Completed in 29 milliseconds