Searched refs:num_mtpts (Results 1 – 4 of 4) sorted by relevance
130 (hr_dev->caps.num_mtpts - 1)); in hns_roce_mr_free()163 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mr_enable()182 mtpt_ida->max = hr_dev->caps.num_mtpts - 1; in hns_roce_init_mr_table()283 mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1); in hns_roce_rereg_user_mr()467 (hr_dev->caps.num_mtpts - 1)); in hns_roce_mw_free()506 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mw_enable()
187 props->max_mr = hr_dev->caps.num_mtpts; in hns_roce_query_device()662 hr_dev->caps.num_mtpts); in hns_roce_init_hem()
749 u32 num_mtpts; member
1940 to_hr_hem_hopnum(caps->mpt_hop_num, caps->num_mtpts)); in hns_roce_v2_set_bt()1972 caps->num_mtpts = HNS_ROCE_V2_MAX_MTPT_NUM; in set_default_caps()2103 calc_pg_sz(caps->num_mtpts, caps->mtpt_entry_sz, caps->mpt_hop_num, in set_hem_page_size()2303 caps->num_mtpts = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_MRWS); in hns_roce_query_pf_caps()