Searched refs:ba_per_bt (Results 1 – 1 of 1) sorted by relevance
917 static u64 cal_pages_per_l1ba(unsigned int ba_per_bt, unsigned int hopnum) in cal_pages_per_l1ba() argument919 return int_pow(ba_per_bt, hopnum - 1); in cal_pages_per_l1ba()929 unsigned int ba_per_bt; in cal_best_bt_pg_sz() local937 ba_per_bt = BIT(pg_shift) / BA_BYTE_LEN; in cal_best_bt_pg_sz()944 pgs_per_l1ba = cal_pages_per_l1ba(ba_per_bt, re->hopnum); in cal_best_bt_pg_sz()948 if (ba_num <= ba_per_bt) in cal_best_bt_pg_sz()