Searched refs:chunk_ba_num (Results 1 – 2 of 2) sorted by relevance
207 u32 chunk_ba_num; in hns_roce_calc_hem_mhop() local 223 chunk_ba_num = mhop->bt_chunk_size / BA_BYTE_LEN; in hns_roce_calc_hem_mhop() 229 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 230 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 231 mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num; in hns_roce_calc_hem_mhop() 234 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 235 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop() 343 u32 chunk_ba_num; in calc_hem_config() local 620 u32 chunk_ba_num; clear_mhop_hem() local [all...]
4060 u32 chunk_ba_num; in hns_roce_v2_set_hem() local4071 chunk_ba_num = mhop.bt_chunk_size / 8; in hns_roce_v2_set_hem()4074 hem_idx = i * chunk_ba_num * chunk_ba_num + j * chunk_ba_num + in hns_roce_v2_set_hem()4076 l1_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem()4078 hem_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem()