Home
last modified time | relevance | path

Searched refs:num_uars (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_uar.c59 dev->limits.num_uars, in mthca_init_uar_table()
60 dev->limits.num_uars - 1, in mthca_init_uar_table()
Dmthca_profile.c234 dev->limits.num_uars = profile[i].num; in mthca_make_profile()
Dmthca_dev.h141 int num_uars; member
/drivers/net/ethernet/mellanox/mlx4/
Dpd.c279 if (dev->caps.num_uars <= num_reserved_uar) { in mlx4_init_uar_table()
282 dev->caps.num_uars, num_reserved_uar); in mlx4_init_uar_table()
288 dev->caps.num_uars, dev->caps.num_uars - 1, in mlx4_init_uar_table()
Dmain.c503 dev->caps.num_uars = dev_cap->uar_size / PAGE_SIZE; in mlx4_dev_cap()
1029 if (dev->caps.uar_page_size * (dev->caps.num_uars - in mlx4_slave_cap()
1034 dev->caps.uar_page_size * dev->caps.num_uars, in mlx4_slave_cap()
1891 (dev->caps.num_uars << PAGE_SHIFT); in map_bf_area()
1893 (dev->caps.num_uars << PAGE_SHIFT); in map_bf_area()
2355 init_hca->log_uar_sz = ilog2(dev->caps.num_uars) + in mlx4_init_hca()
2359 init_hca->log_uar_sz = ilog2(dev->caps.num_uars); in mlx4_init_hca()
/drivers/infiniband/hw/hns/
Dhns_roce_pd.c128 uar_ida->max = hr_dev->caps.num_uars - 1; in hns_roce_init_uar_table()
Dhns_roce_device.h753 int num_uars; member
Dhns_roce_hw_v2.c1965 caps->num_uars = HNS_ROCE_V2_UAR_NUM; in set_default_caps()
2351 caps->num_uars = 1 << roce_get_field(resp_d->num_uars_rsv_pds, in hns_roce_query_pf_caps()
Dhns_roce_hw_v1.c1545 caps->num_uars = HNS_ROCE_V1_UAR_NUM; in hns_roce_v1_profile()
/drivers/infiniband/hw/mlx4/
Dmain.c1174 dev->dev->caps.num_uars, in mlx4_ib_mmap()