Home
last modified time | relevance | path

Searched refs:num_mpts (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmr.c297 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_get_mpt()
360 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_write_mpt()
553 (dev->caps.num_mpts - 1)); in mlx4_mr_free_reserved()
672 key_to_hw_index(mr->key) & (dev->caps.num_mpts - 1)); in mlx4_mr_enable()
868 (dev->caps.num_mpts - 1)); in mlx4_mw_enable()
895 (dev->caps.num_mpts - 1)); in mlx4_mw_free()
918 if (!is_power_of_2(dev->caps.num_mpts)) in mlx4_init_mr_table()
921 err = mlx4_bitmap_init(&mr_table->mpt_bitmap, dev->caps.num_mpts, in mlx4_init_mr_table()
H A Dprofile.c229 dev->caps.num_mpts = profile[i].num; in mlx4_make_profile()
H A Dresource_tracker.c457 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; in mlx4_init_quotas()
574 t, dev->caps.num_mpts - in mlx4_init_resource_tracker()
849 return dev->caps.num_mpts - 1; in mpt_mask()
H A Dmain.c1001 dev->caps.num_mpts = 1 << hca_param->log_mpt_sz; in mlx4_slave_cap()
1734 dev->caps.num_mpts, in mlx4_init_icm()
H A Dfw.c511 size = dev->caps.num_mpts; in mlx4_QUERY_FUNC_CAP_wrapper()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c489 key & (dev->limits.num_mpts - 1)); in mthca_mr_alloc()
556 (dev->limits.num_mpts - 1)); in mthca_free_mr()
570 dev->limits.num_mpts, in mthca_init_mr_table()
604 mpts = dev->limits.num_mpts; in mthca_init_mr_table()
H A Dmthca_profile.c220 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
H A Dmthca_dev.h159 int num_mpts; member
H A Dmthca_main.c434 mdev->limits.num_mpts, in mthca_init_icm()
H A Dmthca_provider.c97 props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; in mthca_query_device()
/linux/include/linux/mlx4/
H A Ddevice.h575 int num_mpts; member