Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c469 dma_free_coherent(dev, bt_size, table->bt_l1[index->l1], in free_mhop_hem()
471 table->bt_l1[index->l1] = NULL; in free_mhop_hem()
510 !table->bt_l1[index->l1]) { in alloc_mhop_hem()
511 table->bt_l1[index->l1] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem()
514 if (!table->bt_l1[index->l1]) { in alloc_mhop_hem()
541 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem()
704 if (hns_roce_check_bt_null(table->bt_l1, index->l1, in clear_mhop_hem()
906 table->bt_l1 = kcalloc(num_bt_l1, in hns_roce_init_hem_table()
907 sizeof(*table->bt_l1), in hns_roce_init_hem_table()
909 if (!table->bt_l1) in hns_roce_init_hem_table()
[all …]
H A Dhns_roce_device.h314 u64 **bt_l1; member