Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hem.c452 u64 bt_l0_idx = 0; in hns_roce_table_mhop_get() local
475 bt_l0_idx = mhop.l0_idx; in hns_roce_table_mhop_get()
479 bt_l0_idx = mhop.l0_idx; in hns_roce_table_mhop_get()
506 !table->bt_l0[bt_l0_idx]) { in hns_roce_table_mhop_get()
507 table->bt_l0[bt_l0_idx] = dma_alloc_coherent(dev, bt_chunk_size, in hns_roce_table_mhop_get()
508 &(table->bt_l0_dma_addr[bt_l0_idx]), in hns_roce_table_mhop_get()
510 if (!table->bt_l0[bt_l0_idx]) { in hns_roce_table_mhop_get()
538 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = in hns_roce_table_mhop_get()
573 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = bt_ba; in hns_roce_table_mhop_get()
589 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = bt_ba; in hns_roce_table_mhop_get()
[all …]