Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_hem.c1313 setup_root_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem_list *hem_list, in setup_root_hem() argument
1347 &hem_list->mid_bt[i][1]); in setup_root_hem()
1355 list_splice(&head->leaf, &hem_list->btm_bt); in setup_root_hem()
1356 list_splice(&head->root, &hem_list->root_bt); in setup_root_hem()
1358 list_splice(&head->branch[i], &hem_list->mid_bt[i][0]); in setup_root_hem()
1364 struct hns_roce_hem_list *hem_list, int unit, in hem_list_alloc_root_bt() argument
1374 root_hem = hem_list_search_item(&hem_list->root_bt, regions[0].offset); in hem_list_alloc_root_bt()
1390 hem_list->root_ba = root_hem->dma_addr; in hem_list_alloc_root_bt()
1392 ret = setup_root_hem(hr_dev, hem_list, unit, max_ba_num, &head, regions, in hem_list_alloc_root_bt()
1406 struct hns_roce_hem_list *hem_list, in hns_roce_hem_list_request() argument
[all …]
Dhns_roce_hem.h123 void hns_roce_hem_list_init(struct hns_roce_hem_list *hem_list);
127 struct hns_roce_hem_list *hem_list,
131 struct hns_roce_hem_list *hem_list);
133 struct hns_roce_hem_list *hem_list,
Dhns_roce_mr.c202 hns_roce_hem_list_init(&mr->pbl_mtr.hem_list); in hns_roce_get_dma_mr()
588 mtts = hns_roce_hem_list_find_mtt(hr_dev, &mtr->hem_list, in mtr_map_region()
836 mtts = hns_roce_hem_list_find_mtt(hr_dev, &mtr->hem_list, in hns_roce_mtr_find()
957 hns_roce_hem_list_init(&mtr->hem_list); in mtr_alloc_mtt()
963 ret = hns_roce_hem_list_request(hr_dev, &mtr->hem_list, in mtr_alloc_mtt()
968 cfg->root_ba = mtr->hem_list.root_ba; in mtr_alloc_mtt()
979 hns_roce_hem_list_release(hr_dev, &mtr->hem_list); in mtr_free_mtt()
1048 hns_roce_hem_list_release(hr_dev, &mtr->hem_list); in hns_roce_mtr_destroy()
Dhns_roce_device.h293 struct hns_roce_hem_list hem_list; /* multi-hop addressing resource */ member