Searched refs:bt_l1 (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 390 dma_free_coherent(dev, bt_size, table->bt_l1[index->l1], in free_mhop_hem() 392 table->bt_l1[index->l1] = NULL; in free_mhop_hem() 431 !table->bt_l1[index->l1]) { in alloc_mhop_hem() 432 table->bt_l1[index->l1] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem() 435 if (!table->bt_l1[index->l1]) { in alloc_mhop_hem() 462 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem() 626 if (hns_roce_check_bt_null(table->bt_l1, index->l1, in clear_mhop_hem() 827 table->bt_l1 = kcalloc(num_bt_l1, in hns_roce_init_hem_table() 828 sizeof(*table->bt_l1), in hns_roce_init_hem_table() 830 if (!table->bt_l1) in hns_roce_init_hem_table() [all...] |
H A D | hns_roce_device.h | 312 u64 **bt_l1; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 399 dma_free_coherent(dev, bt_size, table->bt_l1[index->l1], in free_mhop_hem() 401 table->bt_l1[index->l1] = NULL; in free_mhop_hem() 440 !table->bt_l1[index->l1]) { in alloc_mhop_hem() 441 table->bt_l1[index->l1] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem() 444 if (!table->bt_l1[index->l1]) { in alloc_mhop_hem() 471 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem() 634 if (hns_roce_check_bt_null(table->bt_l1, index->l1, in clear_mhop_hem() 840 table->bt_l1 = kcalloc(num_bt_l1, in hns_roce_init_hem_table() 841 sizeof(*table->bt_l1), in hns_roce_init_hem_table() 843 if (!table->bt_l1) in hns_roce_init_hem_table() [all...] |
H A D | hns_roce_device.h | 248 u64 **bt_l1; member
|
Completed in 10 milliseconds