Searched refs:l0_idx (Results 1 – 3 of 3) sorted by relevance
257 mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num; in hns_roce_calc_hem_mhop()261 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop()264 mhop->l0_idx = table_idx; in hns_roce_calc_hem_mhop()271 if (mhop->l0_idx >= mhop->ba_l0_num) in hns_roce_calc_hem_mhop()272 mhop->l0_idx %= mhop->ba_l0_num; in hns_roce_calc_hem_mhop()472 hem_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num + in hns_roce_table_mhop_get()474 bt_l1_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx; in hns_roce_table_mhop_get()475 bt_l0_idx = mhop.l0_idx; in hns_roce_table_mhop_get()478 hem_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx; in hns_roce_table_mhop_get()479 bt_l0_idx = mhop.l0_idx; in hns_roce_table_mhop_get()[all …]
105 u32 l0_idx; /* level 0 base address table index */ member
3055 i = mhop.l0_idx; in hns_roce_v2_set_hem()3080 obj = mhop.l0_idx; in hns_roce_v2_set_hem()