Searched refs:num_mpts (Results 1 – 11 of 11) sorted by relevance
303 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_get_mpt()366 int key = key_to_hw_index(mmr->key) & (dev->caps.num_mpts - 1); in mlx4_mr_hw_write_mpt()558 (dev->caps.num_mpts - 1)); in mlx4_mr_free_reserved()677 key_to_hw_index(mr->key) & (dev->caps.num_mpts - 1)); in mlx4_mr_enable()874 (dev->caps.num_mpts - 1)); in mlx4_mw_enable()901 (dev->caps.num_mpts - 1)); in mlx4_mw_free()924 if (!is_power_of_2(dev->caps.num_mpts)) in mlx4_init_mr_table()927 err = mlx4_bitmap_init(&mr_table->mpt_bitmap, dev->caps.num_mpts, in mlx4_init_mr_table()1015 key += dev->caps.num_mpts; in mlx4_map_phys_fmr()1130 (dev->caps.num_mpts - 1)); in mlx4_fmr_unmap()
209 dev->caps.num_mpts = profile[i].num; in mlx4_make_profile()
898 dev->caps.num_mpts = 1 << hca_param.log_mpt_sz; in mlx4_slave_cap()1634 dev->caps.num_mpts, in mlx4_init_icm()2263 dev->caps.max_fmr_maps = (1 << (32 - ilog2(dev->caps.num_mpts))) - 1; in mlx4_init_hca()
455 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; in mlx4_init_quotas()552 t, dev->caps.num_mpts - in mlx4_init_resource_tracker()836 return dev->caps.num_mpts - 1; in mpt_mask()
510 size = dev->caps.num_mpts; in mlx4_QUERY_FUNC_CAP_wrapper()
492 key & (dev->limits.num_mpts - 1)); in mthca_mr_alloc()559 (dev->limits.num_mpts - 1)); in mthca_free_mr()593 idx = key & (dev->limits.num_mpts - 1); in mthca_fmr_alloc()655 key & (dev->limits.num_mpts - 1)); in mthca_fmr_alloc()732 key += dev->limits.num_mpts; in mthca_tavor_map_phys_fmr()775 key += dev->limits.num_mpts; in mthca_arbel_map_phys_fmr()832 dev->limits.num_mpts, in mthca_init_mr_table()866 mpts = dev->limits.num_mpts; in mthca_init_mr_table()
222 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
103 props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; in mthca_query_device()128 (1 << (32 - ilog2(mdev->limits.num_mpts))) - 1; in mthca_query_device()
162 int num_mpts; member
435 mdev->limits.num_mpts, in mthca_init_icm()
569 int num_mpts; member