Searched refs:bt_l1_idx (Results 1 – 1 of 1) sorted by relevance
451 u64 bt_l1_idx = 0; in hns_roce_table_mhop_get() local474 bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx; in hns_roce_table_mhop_get()529 !table->bt_l1[bt_l1_idx]) { in hns_roce_table_mhop_get()530 table->bt_l1[bt_l1_idx] = dma_alloc_coherent(dev, bt_chunk_size, in hns_roce_table_mhop_get()531 &(table->bt_l1_dma_addr[bt_l1_idx]), in hns_roce_table_mhop_get()533 if (!table->bt_l1[bt_l1_idx]) { in hns_roce_table_mhop_get()539 table->bt_l1_dma_addr[bt_l1_idx]; in hns_roce_table_mhop_get()570 *(table->bt_l1[bt_l1_idx] + mhop.l2_idx) = bt_ba; in hns_roce_table_mhop_get()597 dma_free_coherent(dev, bt_chunk_size, table->bt_l1[bt_l1_idx], in hns_roce_table_mhop_get()598 table->bt_l1_dma_addr[bt_l1_idx]); in hns_roce_table_mhop_get()[all …]