Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_mr.c268 mtt_entry[0] = cpu_to_be64(dev->mr_table.mtt_base + in __mthca_write_mtt()
322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
477 cpu_to_be64(dev->mr_table.mtt_base + in mthca_mr_alloc()
621 mr->mem.tavor.mtts = dev->mr_table.tavor_fmr.mtt_base + mtt_seg; in mthca_fmr_alloc()
641 mpt_entry->mtt_seg = cpu_to_be64(dev->mr_table.mtt_base + mtt_seg); in mthca_fmr_alloc()
854 dev->mr_table.tavor_fmr.mtt_base = NULL; in mthca_init_mr_table()
888 dev->mr_table.mtt_base); in mthca_init_mr_table()
890 dev->mr_table.tavor_fmr.mtt_base = in mthca_init_mr_table()
892 if (!dev->mr_table.tavor_fmr.mtt_base) { in mthca_init_mr_table()
935 if (dev->mr_table.tavor_fmr.mtt_base) in mthca_init_mr_table()
[all …]
Dmthca_profile.c233 dev->mr_table.mtt_base = profile[i].start; in mthca_make_profile()
234 init_hca->mtt_base = profile[i].start; in mthca_make_profile()
Dmthca_dev.h215 u64 mtt_base; member
221 void __iomem *mtt_base; member
Dmthca_cmd.h206 u64 mtt_base; member
Dmthca_main.c422 mdev->mr_table.mtt_table = mthca_alloc_icm_table(mdev, init_hca->mtt_base, in mthca_init_icm()
Dmthca_cmd.c1411 MTHCA_PUT(inbox, param->mtt_base, INIT_HCA_MTT_BASE_OFFSET); in mthca_INIT_HCA()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c1623 int mtt_base = mr_get_mtt_addr(inbox->buf) / dev->caps.mtt_entry_sz; in mlx4_SW2HW_MPT_wrapper() local
1634 err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); in mlx4_SW2HW_MPT_wrapper()
1638 err = check_mtt_range(dev, slave, mtt_base, in mlx4_SW2HW_MPT_wrapper()
1753 int mtt_base = qp_get_mtt_addr(qpc) / dev->caps.mtt_entry_sz; in mlx4_RST2INIT_QP_wrapper() local
1769 err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); in mlx4_RST2INIT_QP_wrapper()
1773 err = check_mtt_range(dev, slave, mtt_base, mtt_size, mtt); in mlx4_RST2INIT_QP_wrapper()
1813 put_res(dev, slave, mtt_base, RES_MTT); in mlx4_RST2INIT_QP_wrapper()
1827 put_res(dev, slave, mtt_base, RES_MTT); in mlx4_RST2INIT_QP_wrapper()
1876 int mtt_base = eq_get_mtt_addr(eqc) / dev->caps.mtt_entry_sz; in mlx4_SW2HW_EQ_wrapper() local
1888 err = get_res(dev, slave, mtt_base, RES_MTT, &mtt); in mlx4_SW2HW_EQ_wrapper()
[all …]
Dprofile.c233 priv->mr_table.mtt_base = profile[i].start; in mlx4_make_profile()
234 init_hca->mtt_base = profile[i].start; in mlx4_make_profile()
Dfw.h153 u64 mtt_base; member
Dfw.c1061 MLX4_PUT(inbox, param->mtt_base, INIT_HCA_MTT_BASE_OFFSET); in mlx4_INIT_HCA()
1131 MLX4_GET(param->mtt_base, outbox, INIT_HCA_MTT_BASE_OFFSET); in mlx4_QUERY_HCA()
Dmlx4.h556 u64 mtt_base; member
Dmain.c898 init_hca->mtt_base, in mlx4_init_icm()