Searched refs:lib_uar_4k (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 1611 static int calc_total_bfregs(struct mlx5_ib_dev *dev, bool lib_uar_4k, in calc_total_bfregs() argument 1628 uars_per_sys_page = get_uars_per_sys_page(dev, lib_uar_4k); in calc_total_bfregs() 1642 lib_uar_4k ? "yes" : "no", ref_bfregs, in calc_total_bfregs() 1862 bool lib_uar_4k; in mlx5_ib_alloc_ucontext() local 1897 lib_uar_4k = req.lib_caps & MLX5_LIB_CAP_4K_UAR; in mlx5_ib_alloc_ucontext() 1907 err = calc_total_bfregs(dev, lib_uar_4k, &req, bfregi); in mlx5_ib_alloc_ucontext() 1912 bfregi->lib_uar_4k = lib_uar_4k; in mlx5_ib_alloc_ucontext() 2192 uars_per_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k); in uar_mmap()
|
H A D | mlx5_ib.h | 201 u8 lib_uar_4k : 1; member
|
H A 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()
|