Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_hem.c405 dma_free_coherent(dev, bt_size, table->bt_l0[index->l0], in free_mhop_hem()
407 table->bt_l0[index->l0] = NULL; in free_mhop_hem()
427 !table->bt_l0[index->l0]) { in alloc_mhop_hem()
428 table->bt_l0[index->l0] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem()
431 if (!table->bt_l0[index->l0]) { in alloc_mhop_hem()
449 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem()
473 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
475 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
856 table->bt_l0 = kcalloc(num_bt_l0, sizeof(*table->bt_l0), in hns_roce_init_hem_table()
858 if (!table->bt_l0) in hns_roce_init_hem_table()
[all …]
Dhns_roce_device.h250 u64 **bt_l0; member