Searched refs:is_power_of_2 (Results 1 – 9 of 9) sorted by relevance
36 #define is_power_of_2(n) ({ \ macro
57 if (!is_power_of_2(bin_len)) in ath10k_spectral_fix_bin_size()457 if (!is_power_of_2(val)) in write_file_spectral_bins()
812 if (!is_power_of_2(htt->rx_ring.size)) { in ath10k_htt_rx_alloc()
455 if (!is_power_of_2(val)) in ath11k_write_file_spectral_bins()620 !is_power_of_2(num_bins)) { in ath11k_spectral_process_fft()
112 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) macro
466 if (numecs <= csize && is_power_of_2(numecs)) { in ntod()
176 if (!is_power_of_2(num)) in mlx4_bitmap_init()
924 if (!is_power_of_2(dev->caps.num_mpts)) in mlx4_init_mr_table()