Searched refs:__const_hweight32 (Results 1 – 2 of 2) sorted by relevance
20 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) macro21 #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))