Home
last modified time | relevance | path

Searched refs:is_power_of_2 (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dlog2.h36 #define is_power_of_2(n) ({ \ macro
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dspectral.c57 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()
H A Dhtt_rx.c812 if (!is_power_of_2(htt->rx_ring.size)) { in ath10k_htt_rx_alloc()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dspectral.c455 if (!is_power_of_2(val)) in ath11k_write_file_spectral_bins()
620 !is_power_of_2(num_bins)) { in ath11k_spectral_process_fft()
/freebsd/contrib/flex/src/
H A Dflexdef.h112 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) macro
H A Ddfa.c466 if (numecs <= csize && is_power_of_2(numecs)) { in ntod()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_alloc.c176 if (!is_power_of_2(num)) in mlx4_bitmap_init()
H A Dmlx4_mr.c924 if (!is_power_of_2(dev->caps.num_mpts)) in mlx4_init_mr_table()
/freebsd/sys/contrib/dev/iwlwifi/queue/
H A Dtx.c