Searched refs:step_idx (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 383 int step_idx; in hns_roce_table_mhop_get() local 438 step_idx = 0; in hns_roce_table_mhop_get() 439 if (hr_dev->hw->set_hem(hr_dev, table, obj, step_idx)) { in hns_roce_table_mhop_get() 462 step_idx = 1; in hns_roce_table_mhop_get() 463 if (hr_dev->hw->set_hem(hr_dev, table, obj, step_idx)) { in hns_roce_table_mhop_get() 491 step_idx = 2; in hns_roce_table_mhop_get() 494 step_idx = 1; in hns_roce_table_mhop_get() 496 step_idx = 0; in hns_roce_table_mhop_get() 503 if (hr_dev->hw->set_hem(hr_dev, table, obj, step_idx)) { in hns_roce_table_mhop_get()
|
D | hns_roce_hw_v2.h | 110 #define check_whether_last_step(hop_num, step_idx) \ argument 111 ((step_idx == 0 && hop_num == HNS_ROCE_HOP_NUM_0) || \ 112 (step_idx == 1 && hop_num == 1) || \ 113 (step_idx == 2 && hop_num == 2))
|
D | hns_roce_device.h | 771 struct hns_roce_hem_table *table, int obj, int step_idx); 774 int step_idx);
|
D | hns_roce_hw_v2.c | 2328 int step_idx) in hns_roce_v2_set_hem() argument 2383 op += step_idx; in hns_roce_v2_set_hem() 2389 if (check_whether_last_step(hop_num, step_idx)) { in hns_roce_v2_set_hem() 2401 if (step_idx == 0) in hns_roce_v2_set_hem() 2403 else if (step_idx == 1 && hop_num == 2) in hns_roce_v2_set_hem() 2417 int step_idx) in hns_roce_v2_clear_hem() argument 2445 op += step_idx; in hns_roce_v2_clear_hem()
|
D | hns_roce_hw_v1.c | 2458 int step_idx) in hns_roce_v1_clear_hem() argument
|