Searched refs:step_idx (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 457 int step_idx; in hns_roce_table_mhop_get() local 518 step_idx = 0; in hns_roce_table_mhop_get() 519 if (hr_dev->hw->set_hem(hr_dev, table, obj, step_idx)) { in hns_roce_table_mhop_get() 542 step_idx = 1; in hns_roce_table_mhop_get() 543 if (hr_dev->hw->set_hem(hr_dev, table, obj, step_idx)) { in hns_roce_table_mhop_get() 571 step_idx = 2; in hns_roce_table_mhop_get() 574 step_idx = 1; in hns_roce_table_mhop_get() 576 step_idx = 0; in hns_roce_table_mhop_get() 583 if (hr_dev->hw->set_hem(hr_dev, table, obj, step_idx)) { in hns_roce_table_mhop_get()
|
D | hns_roce_hw_v2.h | 135 #define check_whether_last_step(hop_num, step_idx) \ argument 136 ((step_idx == 0 && hop_num == HNS_ROCE_HOP_NUM_0) || \ 137 (step_idx == 1 && hop_num == 1) || \ 138 (step_idx == 2 && hop_num == 2))
|
D | hns_roce_device.h | 958 struct hns_roce_hem_table *table, int obj, int step_idx); 961 int step_idx);
|
D | hns_roce_hw_v2.c | 2995 int step_idx) in get_op_for_set_hem() argument 2999 if (type == HEM_TYPE_SCCC && step_idx) in get_op_for_set_hem() 3030 return op + step_idx; in get_op_for_set_hem() 3035 int step_idx) in hns_roce_v2_set_hem() argument 3071 op = get_op_for_set_hem(hr_dev, table->type, step_idx); in hns_roce_v2_set_hem() 3082 if (check_whether_last_step(hop_num, step_idx)) { in hns_roce_v2_set_hem() 3094 if (step_idx == 0) in hns_roce_v2_set_hem() 3096 else if (step_idx == 1 && hop_num == 2) in hns_roce_v2_set_hem() 3110 int step_idx) in hns_roce_v2_clear_hem() argument 3148 op += step_idx; in hns_roce_v2_clear_hem()
|
D | hns_roce_hw_v1.c | 2425 int step_idx) in hns_roce_v1_clear_hem() argument
|