Searched refs:num_bits_set (Results 1 – 4 of 4) 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()
1074 unsigned int num_bits_set; in NumberOfBitsSet() local1075 for (num_bits_set = 0; x; x >>= 1) { in NumberOfBitsSet()1076 num_bits_set += x & 1; in NumberOfBitsSet()1078 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()