Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1333 struct hns_roce_hem_item *root_hem; in setup_root_hem() local
1339 root_hem = list_first_entry(&head->root, in setup_root_hem()
1341 if (!root_hem) in setup_root_hem()
1351 cpu_base = root_hem->addr + total * BA_BYTE_LEN; in setup_root_hem()
1352 phy_base = root_hem->dma_addr + total * BA_BYTE_LEN; in setup_root_hem()
1383 struct hns_roce_hem_item *root_hem; in hem_list_alloc_root_bt() local
1389 root_hem = hem_list_search_item(&hem_list->root_bt, regions[0].offset); in hem_list_alloc_root_bt()
1390 if (root_hem) in hem_list_alloc_root_bt()
1394 root_hem = alloc_root_hem(hr_dev, unit, &max_ba_num, regions, in hem_list_alloc_root_bt()
1396 if (IS_ERR(root_hem)) in hem_list_alloc_root_bt()
[all …]