Searched refs:l1_idx (Results 1 – 3 of 3) sorted by relevance
172 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()176 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()399 mhop.l1_idx * chunk_ba_num + mhop.l2_idx; in hns_roce_table_mhop_get()400 bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx; in hns_roce_table_mhop_get()404 hem_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_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()608 mhop.l1_idx * chunk_ba_num + mhop.l2_idx; in hns_roce_table_mhop_put()609 bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx; in hns_roce_table_mhop_put()[all …]
101 u32 l1_idx;/* level 1 base address table index */ member
2339 u64 l1_idx = 0; in hns_roce_v2_set_hem() local2350 j = mhop.l1_idx; in hns_roce_v2_set_hem()2358 l1_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem()2404 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem()