Searched refs:bt_l0 (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 396 dma_free_coherent(dev, bt_size, table->bt_l0[index->l0], in free_mhop_hem() 398 table->bt_l0[index->l0] = NULL; in free_mhop_hem() 418 !table->bt_l0[index->l0]) { in alloc_mhop_hem() 419 table->bt_l0[index->l0] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem() 422 if (!table->bt_l0[index->l0]) { in alloc_mhop_hem() 440 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem() 464 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 466 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 843 table->bt_l0 = kcalloc(num_bt_l0, sizeof(*table->bt_l0), in hns_roce_init_hem_table() [all...] |
H A D | hns_roce_device.h | 314 u64 **bt_l0; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 405 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() [all...] |
H A D | hns_roce_device.h | 250 u64 **bt_l0; member
|
Completed in 10 milliseconds