Home
last modified time | relevance | path

Searched refs:mtt_table (Results 1 – 12 of 12) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_cq.c89 struct hns_roce_hem_table *mtt_table; in hns_roce_cq_alloc() local
100 mtt_table = &hr_dev->mr_table.mtt_cqe_table; in hns_roce_cq_alloc()
102 mtt_table = &hr_dev->mr_table.mtt_table; in hns_roce_cq_alloc()
104 mtts = hns_roce_table_find(hr_dev, mtt_table, in hns_roce_cq_alloc()
Dhns_roce_main.c587 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->mr_table.mtt_table, in hns_roce_init_hem()
780 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->mr_table.mtt_table); in hns_roce_init_hem()
Dhns_roce_mr.c188 table = &mr_table->mtt_table; in hns_roce_alloc_mtt_range()
262 hns_roce_table_put_range(hr_dev, &mr_table->mtt_table, in hns_roce_mtt_cleanup()
798 table = &hr_dev->mr_table.mtt_table; in hns_roce_write_mtt_chunk()
Dhns_roce_device.h415 struct hns_roce_hem_table mtt_table; member
Dhns_roce_hem.c1115 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->mr_table.mtt_table); in hns_roce_cleanup_hem()
Dhns_roce_hw_v1.c2591 mtts = hns_roce_table_find(hr_dev, &hr_dev->mr_table.mtt_table, in hns_roce_v1_m_sqp()
2742 mtts = hns_roce_table_find(hr_dev, &hr_dev->mr_table.mtt_table, in hns_roce_v1_m_qp()
/drivers/infiniband/hw/mthca/
Dmthca_main.c421 mdev->mr_table.mtt_table = mthca_alloc_icm_table(mdev, init_hca->mtt_base, in mthca_init_icm()
426 if (!mdev->mr_table.mtt_table) { in mthca_init_icm()
542 mthca_free_icm_table(mdev, mdev->mr_table.mtt_table); in mthca_init_icm()
567 mthca_free_icm_table(mdev, mdev->mr_table.mtt_table); in mthca_free_icms()
Dmthca_mr.c199 if (mthca_table_get_range(dev, dev->mr_table.mtt_table, seg, in mthca_alloc_mtt_range()
247 mthca_table_put_range(dev, dev->mr_table.mtt_table, in mthca_free_mtt()
343 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg()
616 mr->mem.arbel.mtts = mthca_table_find(dev->mr_table.mtt_table, in mthca_fmr_alloc()
Dmthca_dev.h217 struct mthca_icm_table *mtt_table; member
/drivers/net/ethernet/mellanox/mlx4/
Dmr.c165 if (mlx4_table_get_range(dev, &mr_table->mtt_table, offset, in __mlx4_alloc_mtt_range()
227 mlx4_table_put_range(dev, &mr_table->mtt_table, offset, in __mlx4_free_mtt_range()
700 mtts = mlx4_table_find(&priv->mr_table.mtt_table, mtt->offset + in mlx4_write_mtt_chunk()
1069 fmr->mtts = mlx4_table_find(&priv->mr_table.mtt_table, in mlx4_fmr_alloc()
Dmain.c1699 err = mlx4_init_icm_table(dev, &priv->mr_table.mtt_table, in mlx4_init_icm()
1825 mlx4_cleanup_icm_table(dev, &priv->mr_table.mtt_table); in mlx4_init_icm()
1857 mlx4_cleanup_icm_table(dev, &priv->mr_table.mtt_table); in mlx4_free_icms()
Dmlx4.h675 struct mlx4_icm_table mtt_table; member