Home
last modified time | relevance | path

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

/linux-6.6.21/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.c232 dev->limits.num_uars = profile[i].num; in mthca_make_profile()
Dmthca_dev.h141 int num_uars; member
/linux-6.6.21/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.c502 dev->caps.num_uars = dev_cap->uar_size / PAGE_SIZE; in mlx4_dev_cap()
1028 if (dev->caps.uar_page_size * (dev->caps.num_uars - in mlx4_slave_cap()
1033 dev->caps.uar_page_size * dev->caps.num_uars, in mlx4_slave_cap()
1916 (dev->caps.num_uars << PAGE_SHIFT); in map_bf_area()
1918 (dev->caps.num_uars << PAGE_SHIFT); in map_bf_area()
2380 init_hca->log_uar_sz = ilog2(dev->caps.num_uars) + in mlx4_init_hca()
2384 init_hca->log_uar_sz = ilog2(dev->caps.num_uars); in mlx4_init_hca()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_pd.c117 uar_ida->max = hr_dev->caps.num_uars - 1; in hns_roce_init_uar_table()
Dhns_roce_device.h711 int num_uars; member
Dhns_roce_hw_v2.c2201 caps->num_uars = 1 << hr_reg_read(resp_d, PF_CAPS_D_NUM_UARS); in hns_roce_query_caps()
/linux-6.6.21/include/linux/mlx4/
Ddevice.h550 int num_uars; member
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmain.c1171 dev->dev->caps.num_uars, in mlx4_ib_mmap()