Home
last modified time | relevance | path

Searched refs:lib_uar_4k (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmain.c1592 static int calc_total_bfregs(struct mlx5_ib_dev *dev, bool lib_uar_4k, in calc_total_bfregs() argument
1609 uars_per_sys_page = get_uars_per_sys_page(dev, lib_uar_4k); in calc_total_bfregs()
1623 lib_uar_4k ? "yes" : "no", ref_bfregs, in calc_total_bfregs()
1847 bool lib_uar_4k; in mlx5_ib_alloc_ucontext() local
1882 lib_uar_4k = req.lib_caps & MLX5_LIB_CAP_4K_UAR; in mlx5_ib_alloc_ucontext()
1892 err = calc_total_bfregs(dev, lib_uar_4k, &req, bfregi); in mlx5_ib_alloc_ucontext()
1897 bfregi->lib_uar_4k = lib_uar_4k; in mlx5_ib_alloc_ucontext()
2177 uars_per_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k); in uar_mmap()
Dmlx5_ib.h182 u8 lib_uar_4k : 1; member
Dqp.c618 return get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in max_bfregs()
762 bfregs_per_sys_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in bfregn_to_uar_index()