Home
last modified time | relevance | path

Searched refs:powerof2 (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/scsi/aic7xxx/
Daic79xx_osm.h90 #define powerof2(x) ((((x)-1)&(x))==0) macro
Daic79xx_core.c9312 while (powerof2(sg_prefetch_align) == 0) in ahd_loadseq()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dctrl.c4798 u32 powerof2, hte; in irdma_cfg_fpm_val() local
4828 powerof2 = 1; in irdma_cfg_fpm_val()
4829 while (powerof2 <= qpwanted) in irdma_cfg_fpm_val()
4830 powerof2 *= 2; in irdma_cfg_fpm_val()
4831 powerof2 /= 2; in irdma_cfg_fpm_val()
4832 qpwanted = powerof2; in irdma_cfg_fpm_val()
4867 powerof2 = 1; in irdma_cfg_fpm_val()
4868 while (powerof2 < hte) in irdma_cfg_fpm_val()
4869 powerof2 *= 2; in irdma_cfg_fpm_val()
4871 powerof2 * hmc_fpm_misc->ht_multiplier; in irdma_cfg_fpm_val()