Lines Matching refs:bt_l1
362 dma_free_coherent(dev, bt_size, table->bt_l1[index->l1], in free_mhop_hem()
364 table->bt_l1[index->l1] = NULL; in free_mhop_hem()
402 !table->bt_l1[index->l1]) { in alloc_mhop_hem()
403 table->bt_l1[index->l1] = dma_alloc_coherent(dev, bt_size, in alloc_mhop_hem()
406 if (!table->bt_l1[index->l1]) { in alloc_mhop_hem()
432 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem()
594 if (hns_roce_check_bt_null(table->bt_l1, index->l1, in clear_mhop_hem()
783 table->bt_l1 = kcalloc(num_bt_l1, in hns_roce_init_hem_table()
784 sizeof(*table->bt_l1), in hns_roce_init_hem_table()
786 if (!table->bt_l1) in hns_roce_init_hem_table()
828 kfree(table->bt_l1); in hns_roce_init_hem_table()
829 table->bt_l1 = NULL; in hns_roce_init_hem_table()
860 kfree(table->bt_l1); in hns_roce_cleanup_mhop_hem_table()
861 table->bt_l1 = NULL; in hns_roce_cleanup_mhop_hem_table()