Lines Matching refs:hop_num
1965 static void calc_pg_sz(u32 obj_num, u32 obj_size, u32 hop_num, u32 ctx_bt_num, in calc_pg_sz() argument
1976 switch (hop_num) { in calc_pg_sz()
1997 hop_num); in calc_pg_sz()
4106 u32 hop_num; in hns_roce_v2_set_hem() local
4115 hop_num = mhop.hop_num; in hns_roce_v2_set_hem()
4118 if (hop_num == 2) { in hns_roce_v2_set_hem()
4122 } else if (hop_num == 1) { in hns_roce_v2_set_hem()
4124 } else if (hop_num == HNS_ROCE_HOP_NUM_0) { in hns_roce_v2_set_hem()
4131 if (check_whether_last_step(hop_num, step_idx)) { in hns_roce_v2_set_hem()
4138 else if (step_idx == 1 && hop_num == 2) in hns_roce_v2_set_hem()
6461 hr_reg_write(eqc, EQC_EQE_HOP_NUM, eq->hop_num); in config_eqc()
6506 eq->hop_num = 0; in alloc_eq_buf()
6508 eq->hop_num = hr_dev->caps.eqe_hop_num; in alloc_eq_buf()
6512 buf_attr.region[0].hopnum = eq->hop_num; in alloc_eq_buf()