Home
last modified time | relevance | path

Searched refs:num_mtpts (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c131 (hr_dev->caps.num_mtpts - 1)); in hns_roce_mr_free()
164 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mr_enable()
183 mtpt_ida->max = hr_dev->caps.num_mtpts - 1; in hns_roce_init_mr_table()
284 mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1); in hns_roce_rereg_user_mr()
472 (hr_dev->caps.num_mtpts - 1)); in hns_roce_mw_free()
511 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mw_enable()
H A Dhns_roce_main.c188 props->max_mr = hr_dev->caps.num_mtpts; in hns_roce_query_device()
770 hr_dev->caps.num_mtpts); in hns_roce_init_hem()
H A Dhns_roce_device.h744 u32 num_mtpts; member
H A Dhns_roce_hw_v2.c1925 to_hr_hem_hopnum(caps->mpt_hop_num, caps->num_mtpts)); in hns_roce_v2_set_bt()
1995 calc_pg_sz(caps->num_mtpts, caps->mtpt_entry_sz, caps->mpt_hop_num, in set_hem_page_size()
2193 caps->num_mtpts = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_MRWS); in hns_roce_query_caps()