Searched refs:hopnum (Results 1 – 2 of 2) sorted by relevance
1014 static bool hem_list_is_bottom_bt(int hopnum, int bt_level) in hem_list_is_bottom_bt() argument1023 return bt_level >= (hopnum ? hopnum - 1 : hopnum); in hem_list_is_bottom_bt()1032 static u64 hem_list_calc_ba_range(int hopnum, int bt_level, int unit) in hem_list_calc_ba_range() argument1038 if (hopnum <= bt_level) in hem_list_calc_ba_range()1052 max = hopnum - bt_level; in hem_list_calc_ba_range()1076 if (!r->hopnum) in hns_roce_hem_list_calc_root_ba()1079 if (r->hopnum > 1) { in hns_roce_hem_list_calc_root_ba()1080 step = hem_list_calc_ba_range(r->hopnum, 1, unit); in hns_roce_hem_list_calc_root_ba()1099 const int hopnum = r->hopnum; in hem_list_alloc_mid_bt() local1108 if (hopnum <= 1) in hem_list_alloc_mid_bt()[all …]
158 __entry->region0_hopnum = attr->region[0].hopnum;160 __entry->region1_hopnum = attr->region[1].hopnum;162 __entry->region2_hopnum = attr->region[2].hopnum;