Home
last modified time | relevance | path

Searched refs:key_to_hw_index (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
A Dmr.c271 static u32 key_to_hw_index(u32 key) in key_to_hw_index() function
552 key_to_hw_index(mr->key) & in mlx4_mr_free_reserved()
575 mlx4_mpt_free_icm(dev, key_to_hw_index(mr->key)); in mlx4_mr_free()
576 mlx4_mpt_release(dev, key_to_hw_index(mr->key)); in mlx4_mr_free()
633 err = mlx4_mpt_alloc_icm(dev, key_to_hw_index(mr->key)); in mlx4_mr_enable()
687 mlx4_mpt_free_icm(dev, key_to_hw_index(mr->key)); in mlx4_mr_enable()
867 key_to_hw_index(mw->key) & in mlx4_mw_enable()
883 mlx4_mpt_free_icm(dev, key_to_hw_index(mw->key)); in mlx4_mw_enable()
894 key_to_hw_index(mw->key) & in mlx4_mw_free()
902 mlx4_mpt_free_icm(dev, key_to_hw_index(mw->key)); in mlx4_mw_free()
[all …]
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_mr.c46 unsigned long key_to_hw_index(u32 key) in key_to_hw_index() function
101 unsigned long obj = key_to_hw_index(mr->key); in free_mr_key()
149 key_to_hw_index(mr->key) & in hns_roce_mr_free()
163 unsigned long mtpt_idx = key_to_hw_index(mr->key); in hns_roce_mr_enable()
307 mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1); in hns_roce_rereg_user_mr()
490 key_to_hw_index(mw->rkey) & in hns_roce_mw_free()
496 key_to_hw_index(mw->rkey)); in hns_roce_mw_free()
500 (int)key_to_hw_index(mw->rkey)); in hns_roce_mw_free()
509 unsigned long mtpt_idx = key_to_hw_index(mw->rkey); in hns_roce_mw_enable()
A Dhns_roce_device.h1211 unsigned long key_to_hw_index(u32 key);
A Dhns_roce_hw_v1.c1162 key_to_hw_index(mr->key) & in hns_roce_v1_dereg_mr()
1201 ida_free(&hr_dev->mr_table.mtpt_ida.ida, (int)key_to_hw_index(mr->key)); in hns_roce_v1_dereg_mr()
/linux/drivers/infiniband/hw/mthca/
A Dmthca_mr.c413 static inline u32 key_to_hw_index(struct mthca_dev *dev, u32 key) in key_to_hw_index() function
548 key_to_hw_index(dev, lkey)); in mthca_free_region()
550 mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey)); in mthca_free_region()
558 key_to_hw_index(dev, mr->ibmr.lkey) & in mthca_free_mr()

Completed in 22 milliseconds