Searched refs:bt_l1_idx (Results 1 – 1 of 1) sorted by relevance
377 u64 bt_l1_idx = 0; in hns_roce_table_mhop_get() local400 bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx; in hns_roce_table_mhop_get()449 !table->bt_l1[bt_l1_idx]) { in hns_roce_table_mhop_get()450 table->bt_l1[bt_l1_idx] = dma_alloc_coherent(dev, bt_chunk_size, in hns_roce_table_mhop_get()451 &(table->bt_l1_dma_addr[bt_l1_idx]), in hns_roce_table_mhop_get()453 if (!table->bt_l1[bt_l1_idx]) { in hns_roce_table_mhop_get()459 table->bt_l1_dma_addr[bt_l1_idx]; in hns_roce_table_mhop_get()490 *(table->bt_l1[bt_l1_idx] + mhop.l2_idx) = bt_ba; in hns_roce_table_mhop_get()517 dma_free_coherent(dev, bt_chunk_size, table->bt_l1[bt_l1_idx], in hns_roce_table_mhop_get()518 table->bt_l1_dma_addr[bt_l1_idx]); in hns_roce_table_mhop_get()[all …]