Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c475 dma_free_coherent(dev, bt_size, table->bt_l0[index->l0], in free_mhop_hem()
477 table->bt_l0[index->l0] = NULL; in free_mhop_hem()
497 !table->bt_l0[index->l0]) { in alloc_mhop_hem()
498 table->bt_l0[index->l0] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem()
501 if (!table->bt_l0[index->l0]) { in alloc_mhop_hem()
519 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem()
543 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
545 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
922 table->bt_l0 = kcalloc(num_bt_l0, sizeof(*table->bt_l0), in hns_roce_init_hem_table()
924 if (!table->bt_l0) in hns_roce_init_hem_table()
[all …]
H A Dhns_roce_device.h316 u64 **bt_l0; member