Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_pd.c132 hr_dev->caps.num_uars, in hns_roce_init_uar_table()
133 hr_dev->caps.num_uars - 1, in hns_roce_init_uar_table()
Dhns_roce_device.h762 int num_uars; member
Dhns_roce_hw_v2.c1794 caps->num_uars = HNS_ROCE_V2_UAR_NUM; in set_default_caps()
2061 caps->num_uars = 1 << roce_get_field(resp_d->num_uars_rsv_pds, in hns_roce_query_pf_caps()
Dhns_roce_hw_v1.c1461 caps->num_uars = HNS_ROCE_V1_UAR_NUM; in hns_roce_v1_profile()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h550 int num_uars; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c1171 dev->dev->caps.num_uars, in mlx4_ib_mmap()