Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hem.h107 void hns_roce_hem_list_init(struct hns_roce_hem_list *hem_list);
111 struct hns_roce_hem_list *hem_list,
115 struct hns_roce_hem_list *hem_list);
117 struct hns_roce_hem_list *hem_list,
Dhns_roce_hem.c1257 setup_root_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem_list *hem_list, in setup_root_hem() argument
1291 &hem_list->mid_bt[i][1]); in setup_root_hem()
1299 list_splice(&head->leaf, &hem_list->btm_bt); in setup_root_hem()
1300 list_splice(&head->root, &hem_list->root_bt); in setup_root_hem()
1302 list_splice(&head->branch[i], &hem_list->mid_bt[i][0]); in setup_root_hem()
1308 struct hns_roce_hem_list *hem_list, int unit, in hem_list_alloc_root_bt() argument
1318 root_hem = hem_list_search_item(&hem_list->root_bt, regions[0].offset); in hem_list_alloc_root_bt()
1334 hem_list->root_ba = root_hem->dma_addr; in hem_list_alloc_root_bt()
1336 ret = setup_root_hem(hr_dev, hem_list, unit, max_ba_num, &head, regions, in hem_list_alloc_root_bt()
1350 struct hns_roce_hem_list *hem_list, in hns_roce_hem_list_request() argument
[all …]
Dhns_roce_mr.c210 hns_roce_hem_list_init(&mr->pbl_mtr.hem_list); in hns_roce_get_dma_mr()
612 mtts = hns_roce_hem_list_find_mtt(hr_dev, &mtr->hem_list, in mtr_map_region()
893 mtts = hns_roce_hem_list_find_mtt(hr_dev, &mtr->hem_list, in hns_roce_get_mhop_mtt()
1110 hns_roce_hem_list_init(&mtr->hem_list); in mtr_alloc_mtt()
1116 ret = hns_roce_hem_list_request(hr_dev, &mtr->hem_list, in mtr_alloc_mtt()
1121 cfg->root_ba = mtr->hem_list.root_ba; in mtr_alloc_mtt()
1132 hns_roce_hem_list_release(hr_dev, &mtr->hem_list); in mtr_free_mtt()
1209 hns_roce_hem_list_release(hr_dev, &mtr->hem_list); in hns_roce_mtr_destroy()
Dhns_roce_device.h313 struct hns_roce_hem_list hem_list; /* multi-hop addressing resource */ member