Searched refs:powerof2 (Results 1 – 3 of 3) sorted by relevance
90 #define powerof2(x) ((((x)-1)&(x))==0) macro
9312 while (powerof2(sg_prefetch_align) == 0) in ahd_loadseq()
5845 u32 powerof2, hte, i; in irdma_cfg_fpm_val() local5878 powerof2 = 1; in irdma_cfg_fpm_val()5879 while (powerof2 <= qpwanted) in irdma_cfg_fpm_val()5880 powerof2 *= 2; in irdma_cfg_fpm_val()5881 powerof2 /= 2; in irdma_cfg_fpm_val()5882 qpwanted = powerof2; in irdma_cfg_fpm_val()5917 powerof2 = 1; in irdma_cfg_fpm_val()5918 while (powerof2 < hte) in irdma_cfg_fpm_val()5919 powerof2 *= 2; in irdma_cfg_fpm_val()5921 powerof2 * hmc_fpm_misc->ht_multiplier; in irdma_cfg_fpm_val()