Lines Matching defs:cpu_base
1212 static int alloc_fake_root_bt(struct hns_roce_dev *hr_dev, void *cpu_base,
1224 hem_list_assign_bt(hem, cpu_base, phy_base);
1231 static int setup_middle_bt(struct hns_roce_dev *hr_dev, void *cpu_base,
1247 hem_list_link_bt(cpu_base + offset, hem->dma_addr);
1261 void *cpu_base;
1278 cpu_base = root_hem->addr + total * BA_BYTE_LEN;
1285 ret = alloc_fake_root_bt(hr_dev, cpu_base, phy_base, r,
1288 ret = setup_middle_bt(hr_dev, cpu_base, unit, r,
1428 void *cpu_base = NULL;
1434 cpu_base = hem->addr + nr * BA_BYTE_LEN;
1443 return cpu_base;