Lines Matching refs:mtr

875 	return hns_roce_buf_offset(idx_que->mtr.kmem,  in get_idx_buf()
3504 return hns_roce_buf_offset(hr_cq->mtr.kmem, n * hr_cq->cqe_size); in get_cqe_v2()
3616 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_cqc()
3618 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()
4375 ret = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, hr_qp->rq.offset, mtts, in config_qp_rq_buf()
4384 wqe_sge_ba = hns_roce_get_mtr_ba(&hr_qp->mtr); in config_qp_rq_buf()
4415 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.ba_pg_shift)); in config_qp_rq_buf()
4419 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()
4452 ret = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, hr_qp->sq.offset, in config_qp_sq_buf()
4460 ret = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, in config_qp_sq_buf()
5686 ret = hns_roce_mtr_find(hr_dev, &idx_que->mtr, 0, mtts_idx, in hns_roce_v2_write_srqc_index_queue()
5694 dma_handle_idx = hns_roce_get_mtr_ba(&idx_que->mtr); in hns_roce_v2_write_srqc_index_queue()
5704 to_hr_hw_page_shift(idx_que->mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_srqc_index_queue()
5706 to_hr_hw_page_shift(idx_que->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc_index_queue()
6079 aeqe = hns_roce_buf_offset(eq->mtr.kmem, in next_aeqe_sw_v2()
6164 ceqe = hns_roce_buf_offset(eq->mtr.kmem, in next_ceqe_sw_v2()
6404 hns_roce_mtr_destroy(hr_dev, &eq->mtr); in free_eq_buf()
6451 ret = hns_roce_mtr_find(hr_dev, &eq->mtr, 0, eqe_ba, in config_eqc()
6458 bt_ba = hns_roce_get_mtr_ba(&eq->mtr); in config_eqc()
6468 to_hr_hw_page_shift(eq->mtr.hem_cfg.ba_pg_shift)); in config_eqc()
6470 to_hr_hw_page_shift(eq->mtr.hem_cfg.buf_pg_shift)); in config_eqc()
6515 err = hns_roce_mtr_create(hr_dev, &eq->mtr, &buf_attr, in alloc_eq_buf()