Searched refs:num_bits_set (Results 1 – 3 of 3) sorted by relevance
13 define internal fastcc i32 @num_bits_set(i32 %num, i1* %ptr) #1 {
1082 unsigned int num_bits_set; in NumberOfBitsSet() local1083 for (num_bits_set = 0; x; x >>= 1) { in NumberOfBitsSet()1084 num_bits_set += x & 1; in NumberOfBitsSet()1086 return num_bits_set; in NumberOfBitsSet()
632 static int num_bits_set(u16 val) in num_bits_set() function677 (num_bits_set(val) > 1 && in wps_validate_auth_type()723 (num_bits_set(val) > 1 && val != (WPS_ENCR_TKIP | WPS_ENCR_AES))) { in wps_validate_encr_type()