Lines Matching refs:mtr
832 return hns_roce_buf_offset(idx_que->mtr.kmem, in get_idx_buf()
2959 return hns_roce_buf_offset(hr_cq->mtr.kmem, n * hr_cq->cqe_size); in get_cqe_v2()
3082 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_cqc()
3086 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()
3972 count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, hr_qp->rq.offset, mtts, in config_qp_rq_buf()
4023 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.ba_pg_shift)); in config_qp_rq_buf()
4031 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()
4083 count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, 0, &sq_cur_blk, 1, NULL); in config_qp_sq_buf()
4090 count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, in config_qp_sq_buf()
5203 to_hr_hw_page_shift(srq->idx_que.mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_srqc()
5207 to_hr_hw_page_shift(srq->idx_que.mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_srqc()
5474 aeqe = hns_roce_buf_offset(eq->mtr.kmem, in next_aeqe_sw_v2()
5574 ceqe = hns_roce_buf_offset(eq->mtr.kmem, in next_ceqe_sw_v2()
5736 hns_roce_mtr_destroy(hr_dev, &eq->mtr); in free_eq_buf()
5759 count = hns_roce_mtr_find(hr_dev, &eq->mtr, 0, eqe_ba, MTT_MIN_COUNT, in config_eqc()
5797 to_hr_hw_page_shift(eq->mtr.hem_cfg.ba_pg_shift)); in config_eqc()
5802 to_hr_hw_page_shift(eq->mtr.hem_cfg.buf_pg_shift)); in config_eqc()
5882 err = hns_roce_mtr_create(hr_dev, &eq->mtr, &buf_attr, in alloc_eq_buf()