Searched refs:lib_uar_4k (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/infiniband/hw/mlx5/ |
D | main.c | 1610 static int calc_total_bfregs(struct mlx5_ib_dev *dev, bool lib_uar_4k, in calc_total_bfregs() argument 1627 uars_per_sys_page = get_uars_per_sys_page(dev, lib_uar_4k); in calc_total_bfregs() 1641 lib_uar_4k ? "yes" : "no", ref_bfregs, in calc_total_bfregs() 1861 bool lib_uar_4k; in mlx5_ib_alloc_ucontext() local 1896 lib_uar_4k = req.lib_caps & MLX5_LIB_CAP_4K_UAR; in mlx5_ib_alloc_ucontext() 1906 err = calc_total_bfregs(dev, lib_uar_4k, &req, bfregi); in mlx5_ib_alloc_ucontext() 1911 bfregi->lib_uar_4k = lib_uar_4k; in mlx5_ib_alloc_ucontext() 2191 uars_per_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k); in uar_mmap()
|
D | mlx5_ib.h | 188 u8 lib_uar_4k : 1; member
|
D | qp.c | 699 return get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in max_bfregs() 843 bfregs_per_sys_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in bfregn_to_uar_index()
|