Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hem.c378 u64 bt_l0_idx = 0; in hns_roce_table_mhop_get() local
401 bt_l0_idx = mhop.l0_idx; in hns_roce_table_mhop_get()
405 bt_l0_idx = mhop.l0_idx; in hns_roce_table_mhop_get()
426 !table->bt_l0[bt_l0_idx]) { in hns_roce_table_mhop_get()
427 table->bt_l0[bt_l0_idx] = dma_alloc_coherent(dev, bt_chunk_size, in hns_roce_table_mhop_get()
428 &(table->bt_l0_dma_addr[bt_l0_idx]), in hns_roce_table_mhop_get()
430 if (!table->bt_l0[bt_l0_idx]) { in hns_roce_table_mhop_get()
458 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = in hns_roce_table_mhop_get()
493 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = bt_ba; in hns_roce_table_mhop_get()
509 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = bt_ba; in hns_roce_table_mhop_get()
[all …]