Home
last modified time | relevance | path

Searched refs:hr_mtt (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_cq.c85 struct hns_roce_mtt *hr_mtt, in hns_roce_cq_alloc() argument
105 hr_mtt->first_seg, &dma_handle); in hns_roce_cq_alloc()
222 buf->hr_mtt.mtt_type = MTT_TYPE_CQE; in hns_roce_ib_get_cq_umem()
224 buf->hr_mtt.mtt_type = MTT_TYPE_WQE; in hns_roce_ib_get_cq_umem()
232 &buf->hr_mtt); in hns_roce_ib_get_cq_umem()
235 PAGE_SHIFT, &buf->hr_mtt); in hns_roce_ib_get_cq_umem()
240 ret = hns_roce_ib_umem_write_mtt(hr_dev, &buf->hr_mtt, *umem); in hns_roce_ib_get_cq_umem()
247 hns_roce_mtt_cleanup(hr_dev, &buf->hr_mtt); in hns_roce_ib_get_cq_umem()
267 buf->hr_mtt.mtt_type = MTT_TYPE_CQE; in hns_roce_ib_alloc_cq_buf()
269 buf->hr_mtt.mtt_type = MTT_TYPE_WQE; in hns_roce_ib_alloc_cq_buf()
[all …]
Dhns_roce_srq.c81 u16 xrcd, struct hns_roce_mtt *hr_mtt, in hns_roce_srq_alloc() argument
Dhns_roce_device.h487 struct hns_roce_mtt hr_mtt; member
Dhns_roce_hw_v1.c3689 hns_roce_mtt_cleanup(hr_dev, &hr_cq->hr_buf.hr_mtt); in hns_roce_v1_destroy_cq()