Searched refs:__const_hweight16 (Results 1 – 2 of 2) sorted by relevance
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) macro20 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16))27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w))35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w))