Searched refs:mtt_buf (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 182 req.qbuf_addr_l = lower_32_bits(*(u64 *)mtt->mtt_buf); in create_cq_cmd() 183 req.qbuf_addr_h = upper_32_bits(*(u64 *)mtt->mtt_buf); in create_cq_cmd() 498 mem->mtt_buf = in get_mtt_entries() 500 if (!mem->mtt_buf) { in get_mtt_entries() 504 phy_addr = mem->mtt_buf; in get_mtt_entries() 517 dma_map_single(&dev->pdev->dev, mem->mtt_buf, in get_mtt_entries() 520 free_pages_exact(mem->mtt_buf, MTT_SIZE(mem->page_cnt)); in get_mtt_entries() 521 mem->mtt_buf = NULL; in get_mtt_entries() 540 if (mem->mtt_buf) { in put_mtt_entries() 543 free_pages_exact(mem->mtt_buf, MTT_SIZE(mem->page_cnt)); in put_mtt_entries() [all …]
|
D | erdma_verbs.h | 88 void *mtt_buf; member
|
D | erdma_qp.c | 410 mr->mem.mtt_buf, MTT_SIZE(mr->mem.mtt_nents)); in erdma_push_one_sqe()
|
/Linux-v6.1/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 800 u32 offset, u64 *mtt_buf, int mtt_max, u64 *base_addr) in hns_roce_mtr_find() argument 810 if (!mtt_buf || mtt_max < 1) in hns_roce_mtr_find() 823 mtt_buf[total] = addr; in hns_roce_mtr_find() 844 mtt_buf[total++] = le64_to_cpu(mtts[mtt_count]); in hns_roce_mtr_find()
|
D | hns_roce_device.h | 1110 u32 offset, u64 *mtt_buf, int mtt_max, u64 *base_addr);
|