Lines Matching refs:region_cnt
1118 int region_cnt, int unit) in hns_roce_hem_list_calc_root_ba() argument
1125 for (i = 0; i < region_cnt; i++) { in hns_roce_hem_list_calc_root_ba()
1226 const struct hns_roce_buf_region *regions, int region_cnt) in alloc_root_hem() argument
1233 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit); in alloc_root_hem()
1242 r = ®ions[region_cnt - 1]; in alloc_root_hem()
1298 const struct hns_roce_buf_region *regions, int region_cnt) in setup_root_hem() argument
1313 for (i = 0; i < region_cnt && total < max_ba_num; i++) { in setup_root_hem()
1340 for (i = 0; i < region_cnt; i++) in setup_root_hem()
1349 int region_cnt) in hem_list_alloc_root_bt() argument
1363 region_cnt); in hem_list_alloc_root_bt()
1370 for (i = 0; i < region_cnt; i++) in hem_list_alloc_root_bt()
1376 region_cnt); in hem_list_alloc_root_bt()
1378 for (i = 0; i < region_cnt; i++) in hem_list_alloc_root_bt()
1391 int region_cnt, unsigned int bt_pg_shift) in hns_roce_hem_list_request() argument
1399 if (region_cnt > HNS_ROCE_MAX_BT_REGION) { in hns_roce_hem_list_request()
1401 region_cnt); in hns_roce_hem_list_request()
1406 for (i = 0; i < region_cnt; i++) { in hns_roce_hem_list_request()
1425 region_cnt); in hns_roce_hem_list_request()