Home
last modified time | relevance | path

Searched refs:hns_roce_mtr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c443 struct hns_roce_mtr *mtr = &mr->pbl_mtr; in hns_roce_map_mr_sg()
597 static int mtr_map_region(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in mtr_map_region()
673 static void mtr_free_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr) in mtr_free_bufs()
688 static int mtr_alloc_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in mtr_alloc_bufs()
722 static int cal_mtr_pg_cnt(struct hns_roce_mtr *mtr) in cal_mtr_pg_cnt()
736 static bool need_split_huge_page(struct hns_roce_mtr *mtr) in need_split_huge_page()
746 static int mtr_map_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr) in mtr_map_bufs()
796 int hns_roce_mtr_map(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in hns_roce_mtr_map()
882 struct hns_roce_mtr *mtr, u32 start_index, in hns_roce_get_mhop_mtt()
911 int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, in hns_roce_mtr_find()
[all …]
H A Dhns_roce_device.h312 struct hns_roce_mtr { struct
339 struct hns_roce_mtr pbl_mtr; argument
427 struct hns_roce_mtr mtr;
448 struct hns_roce_mtr mtr;
469 struct hns_roce_mtr buf_mtr;
622 struct hns_roce_mtr mtr;
718 struct hns_roce_mtr mtr;
1180 static inline dma_addr_t hns_roce_get_mtr_ba(struct hns_roce_mtr *mtr) in hns_roce_get_mtr_ba()
1185 int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
1187 int hns_roce_mtr_create(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
[all …]