Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hem.c368 dma_free_coherent(dev, bt_size, table->bt_l0[index->l0], in free_mhop_hem()
370 table->bt_l0[index->l0] = NULL; in free_mhop_hem()
389 !table->bt_l0[index->l0]) { in alloc_mhop_hem()
390 table->bt_l0[index->l0] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem()
393 if (!table->bt_l0[index->l0]) { in alloc_mhop_hem()
411 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem()
434 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
436 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
799 table->bt_l0 = kcalloc(num_bt_l0, sizeof(*table->bt_l0), in hns_roce_init_hem_table()
801 if (!table->bt_l0) in hns_roce_init_hem_table()
[all …]
Dhns_roce_device.h262 u64 **bt_l0; member