Searched refs:num_bits_set (Results 1 – 5 of 5) sorted by relevance
100 static unsigned int num_bits_set(DWORD_PTR mask) { in num_bits_set() function109 n %= num_bits_set(mask); in nth_set_bit()
846 unsigned int num_bits_set; in NumberOfBitsSet() local847 for (num_bits_set = 0; x; x >>= 1) { in NumberOfBitsSet()848 num_bits_set += x & 1; in NumberOfBitsSet()850 return num_bits_set; in NumberOfBitsSet()
1039 unsigned int num_bits_set; in NumberOfBitsSet() local1040 for (num_bits_set = 0; x; x >>= 1) { in NumberOfBitsSet()1041 num_bits_set += x & 1; in NumberOfBitsSet()1043 return num_bits_set; in NumberOfBitsSet()
630 static int num_bits_set(u16 val) in num_bits_set() function675 (num_bits_set(val) > 1 && in wps_validate_auth_type()721 (num_bits_set(val) > 1 && val != (WPS_ENCR_TKIP | WPS_ENCR_AES))) { in wps_validate_encr_type()