chunk_ba_num      232 drivers/infiniband/hw/hns/hns_roce_hem.c 	u32 chunk_ba_num;
chunk_ba_num      248 drivers/infiniband/hw/hns/hns_roce_hem.c 	chunk_ba_num = mhop->bt_chunk_size / BA_BYTE_LEN;
chunk_ba_num      255 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->l2_idx = table_idx & (chunk_ba_num - 1);
chunk_ba_num      256 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1);
chunk_ba_num      257 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num;
chunk_ba_num      260 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->l1_idx = table_idx & (chunk_ba_num - 1);
chunk_ba_num      261 drivers/infiniband/hw/hns/hns_roce_hem.c 		mhop->l0_idx = table_idx / chunk_ba_num;
chunk_ba_num      446 drivers/infiniband/hw/hns/hns_roce_hem.c 	u32 chunk_ba_num;
chunk_ba_num      467 drivers/infiniband/hw/hns/hns_roce_hem.c 	chunk_ba_num = bt_chunk_size / BA_BYTE_LEN;
chunk_ba_num      472 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num +
chunk_ba_num      473 drivers/infiniband/hw/hns/hns_roce_hem.c 			  mhop.l1_idx * chunk_ba_num + mhop.l2_idx;
chunk_ba_num      474 drivers/infiniband/hw/hns/hns_roce_hem.c 		bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx;
chunk_ba_num      478 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx;
chunk_ba_num      668 drivers/infiniband/hw/hns/hns_roce_hem.c 	u32 chunk_ba_num;
chunk_ba_num      682 drivers/infiniband/hw/hns/hns_roce_hem.c 	chunk_ba_num = bt_chunk_size / BA_BYTE_LEN;
chunk_ba_num      687 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num +
chunk_ba_num      688 drivers/infiniband/hw/hns/hns_roce_hem.c 			  mhop.l1_idx * chunk_ba_num + mhop.l2_idx;
chunk_ba_num      689 drivers/infiniband/hw/hns/hns_roce_hem.c 		bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx;
chunk_ba_num      692 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx;
chunk_ba_num      730 drivers/infiniband/hw/hns/hns_roce_hem.c 		start_idx = mhop.l0_idx * chunk_ba_num;
chunk_ba_num      732 drivers/infiniband/hw/hns/hns_roce_hem.c 					    chunk_ba_num, table->num_hem)) {
chunk_ba_num      743 drivers/infiniband/hw/hns/hns_roce_hem.c 		start_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num +
chunk_ba_num      744 drivers/infiniband/hw/hns/hns_roce_hem.c 			    mhop.l1_idx * chunk_ba_num;
chunk_ba_num      746 drivers/infiniband/hw/hns/hns_roce_hem.c 					    chunk_ba_num, table->num_hem)) {
chunk_ba_num      755 drivers/infiniband/hw/hns/hns_roce_hem.c 			start_idx = mhop.l0_idx * chunk_ba_num;
chunk_ba_num      757 drivers/infiniband/hw/hns/hns_roce_hem.c 						   chunk_ba_num)) {
chunk_ba_num     3050 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u32 chunk_ba_num;
chunk_ba_num     3062 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	chunk_ba_num = mhop.bt_chunk_size / 8;
chunk_ba_num     3065 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hem_idx = i * chunk_ba_num * chunk_ba_num + j * chunk_ba_num +
chunk_ba_num     3067 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		l1_idx = i * chunk_ba_num + j;
chunk_ba_num     3069 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hem_idx = i * chunk_ba_num + j;