hns_roce_mtr
static inline dma_addr_t hns_roce_get_mtr_ba(struct hns_roce_mtr *mtr)
int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
int hns_roce_mtr_create(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
struct hns_roce_mtr *mtr);
int hns_roce_mtr_map(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
struct hns_roce_mtr pbl_mtr;
struct hns_roce_mtr mtr;
struct hns_roce_mtr mtr;
struct hns_roce_mtr buf_mtr;
struct hns_roce_mtr mtr;
struct hns_roce_mtr mtr;
static void mtr_free_mtt(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr)
int hns_roce_mtr_create(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
void hns_roce_mtr_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr)
struct hns_roce_mtr *mtr = &mr->pbl_mtr;
static int mtr_map_region(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
static void mtr_free_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr)
static int mtr_alloc_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
static int cal_mtr_pg_cnt(struct hns_roce_mtr *mtr)
static bool need_split_huge_page(struct hns_roce_mtr *mtr)
static int mtr_map_bufs(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr)
int hns_roce_mtr_map(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
struct hns_roce_mtr *mtr, u32 start_index,
int hns_roce_mtr_find(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,
struct hns_roce_mtr *mtr,
struct hns_roce_mtr *mtr,
struct hns_roce_mtr *mtr,
struct hns_roce_mtr *mtr,
static int mtr_alloc_mtt(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr,