Searched refs:mtpt_idx (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 171 unsigned long mtpt_idx = key_to_hw_index(mr->key); in hns_roce_mr_enable() local 184 mtpt_idx); in hns_roce_mr_enable() 193 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mr_enable() 338 unsigned long mtpt_idx; in hns_roce_rereg_user_mr() local 349 mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1); in hns_roce_rereg_user_mr() 350 ret = hns_roce_cmd_mbox(hr_dev, 0, mailbox->dma, mtpt_idx, 0, in hns_roce_rereg_user_mr() 356 ret = hns_roce_hw_destroy_mpt(hr_dev, NULL, mtpt_idx); in hns_roce_rereg_user_mr() 380 ret = hns_roce_hw_create_mpt(hr_dev, mailbox, mtpt_idx); in hns_roce_rereg_user_mr() 549 unsigned long mtpt_idx = key_to_hw_index(mw->rkey); in hns_roce_mw_enable() local 553 ret = hns_roce_table_get(hr_dev, &mr_table->mtpt_table, mtpt_idx); in hns_roce_mw_enable() [all …]
|
D | hns_roce_device.h | 909 struct hns_roce_mr *mr, unsigned long mtpt_idx);
|
D | hns_roce_hw_v1.c | 1760 unsigned long mtpt_idx) in hns_roce_v1_write_mtpt() argument 1808 MPT_BYTE_28_L_KEY_IDX_L_S, mtpt_idx); in hns_roce_v1_write_mtpt() 1810 MPT_BYTE_64_L_KEY_IDX_H_S, mtpt_idx >> MTPT_IDX_SHIFT); in hns_roce_v1_write_mtpt()
|
D | hns_roce_hw_v2.c | 2779 unsigned long mtpt_idx) in hns_roce_v2_write_mtpt() argument
|