Searched refs:bt_num (Results 1 – 2 of 2) sorted by relevance
234 u32 bt_num; in hns_roce_calc_hem_mhop() local247 bt_num = hns_roce_get_bt_num(table->type, mhop->hop_num); in hns_roce_calc_hem_mhop()253 switch (bt_num) { in hns_roce_calc_hem_mhop()449 u32 bt_num; in hns_roce_table_mhop_get() local469 bt_num = hns_roce_get_bt_num(table->type, hop_num); in hns_roce_table_mhop_get()470 switch (bt_num) { in hns_roce_table_mhop_get()671 u32 bt_num; in hns_roce_table_mhop_put() local684 bt_num = hns_roce_get_bt_num(table->type, hop_num); in hns_roce_table_mhop_put()685 switch (bt_num) { in hns_roce_table_mhop_put()
5559 int bt_num; in hns_roce_mhop_alloc_eq() local5571 bt_num = DIV_ROUND_UP(ba_num, bt_chk_sz / BA_BYTE_LEN); in hns_roce_mhop_alloc_eq()5598 eq->l1_dma = kcalloc(bt_num, sizeof(*eq->l1_dma), GFP_KERNEL); in hns_roce_mhop_alloc_eq()5602 eq->bt_l1 = kcalloc(bt_num, sizeof(*eq->bt_l1), GFP_KERNEL); in hns_roce_mhop_alloc_eq()