key_to_hw_index  1203 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long key_to_hw_index(u32 key);
key_to_hw_index  1114 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		if (hns_roce_hw2sw_mpt(hr_dev, NULL, key_to_hw_index(mr->key)
key_to_hw_index  1160 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			     key_to_hw_index(mr->key), 0);
key_to_hw_index   710 drivers/infiniband/hw/hns/hns_roce_mr.c 		ret = hns_roce_hw2sw_mpt(hr_dev, NULL, key_to_hw_index(mr->key)
key_to_hw_index   730 drivers/infiniband/hw/hns/hns_roce_mr.c 				   key_to_hw_index(mr->key));
key_to_hw_index   733 drivers/infiniband/hw/hns/hns_roce_mr.c 			     key_to_hw_index(mr->key), BITMAP_NO_RR);
key_to_hw_index   740 drivers/infiniband/hw/hns/hns_roce_mr.c 	unsigned long mtpt_idx = key_to_hw_index(mr->key);
key_to_hw_index  1304 drivers/infiniband/hw/hns/hns_roce_mr.c 	mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1);
key_to_hw_index  1451 drivers/infiniband/hw/hns/hns_roce_mr.c 		ret = hns_roce_hw2sw_mpt(hr_dev, NULL, key_to_hw_index(mw->rkey)
key_to_hw_index  1457 drivers/infiniband/hw/hns/hns_roce_mr.c 				   key_to_hw_index(mw->rkey));
key_to_hw_index  1461 drivers/infiniband/hw/hns/hns_roce_mr.c 			     key_to_hw_index(mw->rkey), BITMAP_NO_RR);
key_to_hw_index  1470 drivers/infiniband/hw/hns/hns_roce_mr.c 	unsigned long mtpt_idx = key_to_hw_index(mw->rkey);
key_to_hw_index   548 drivers/infiniband/hw/mthca/mthca_mr.c 			key_to_hw_index(dev, lkey));
key_to_hw_index   550 drivers/infiniband/hw/mthca/mthca_mr.c 	mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey));
key_to_hw_index   558 drivers/infiniband/hw/mthca/mthca_mr.c 			      key_to_hw_index(dev, mr->ibmr.lkey) &
key_to_hw_index   297 drivers/net/ethernet/mellanox/mlx4/mr.c 	int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1);
key_to_hw_index   360 drivers/net/ethernet/mellanox/mlx4/mr.c 		int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1);
key_to_hw_index   552 drivers/net/ethernet/mellanox/mlx4/mr.c 				     key_to_hw_index(mr->key) &
key_to_hw_index   575 drivers/net/ethernet/mellanox/mlx4/mr.c 		mlx4_mpt_free_icm(dev, key_to_hw_index(mr->key));
key_to_hw_index   576 drivers/net/ethernet/mellanox/mlx4/mr.c 	mlx4_mpt_release(dev, key_to_hw_index(mr->key));
key_to_hw_index   633 drivers/net/ethernet/mellanox/mlx4/mr.c 	err = mlx4_mpt_alloc_icm(dev, key_to_hw_index(mr->key));
key_to_hw_index   647 drivers/net/ethernet/mellanox/mlx4/mr.c 	mpt_entry->key	       = cpu_to_be32(key_to_hw_index(mr->key));
key_to_hw_index   672 drivers/net/ethernet/mellanox/mlx4/mr.c 			     key_to_hw_index(mr->key) & (dev->caps.num_mpts - 1));
key_to_hw_index   687 drivers/net/ethernet/mellanox/mlx4/mr.c 	mlx4_mpt_free_icm(dev, key_to_hw_index(mr->key));
key_to_hw_index   844 drivers/net/ethernet/mellanox/mlx4/mr.c 	err = mlx4_mpt_alloc_icm(dev, key_to_hw_index(mw->key));
key_to_hw_index   858 drivers/net/ethernet/mellanox/mlx4/mr.c 	mpt_entry->key	       = cpu_to_be32(key_to_hw_index(mw->key));
key_to_hw_index   867 drivers/net/ethernet/mellanox/mlx4/mr.c 			     key_to_hw_index(mw->key) &
key_to_hw_index   883 drivers/net/ethernet/mellanox/mlx4/mr.c 	mlx4_mpt_free_icm(dev, key_to_hw_index(mw->key));
key_to_hw_index   894 drivers/net/ethernet/mellanox/mlx4/mr.c 				     key_to_hw_index(mw->key) &
key_to_hw_index   902 drivers/net/ethernet/mellanox/mlx4/mr.c 		mlx4_mpt_free_icm(dev, key_to_hw_index(mw->key));
key_to_hw_index   903 drivers/net/ethernet/mellanox/mlx4/mr.c 	mlx4_mpt_release(dev, key_to_hw_index(mw->key));
key_to_hw_index  1008 drivers/net/ethernet/mellanox/mlx4/mr.c 	key = key_to_hw_index(fmr->mr.key);
key_to_hw_index  1096 drivers/net/ethernet/mellanox/mlx4/mr.c 				    key_to_hw_index(fmr->mr.key), NULL);