Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dmain.c1575 static int calc_total_bfregs(struct mlx5_ib_dev *dev, bool lib_uar_4k, in calc_total_bfregs() argument
1592 uars_per_sys_page = get_uars_per_sys_page(dev, lib_uar_4k); in calc_total_bfregs()
1606 lib_uar_4k ? "yes" : "no", ref_bfregs, in calc_total_bfregs()
1831 bool lib_uar_4k; in mlx5_ib_alloc_ucontext() local
1859 lib_uar_4k = req.lib_caps & MLX5_LIB_CAP_4K_UAR; in mlx5_ib_alloc_ucontext()
1869 err = calc_total_bfregs(dev, lib_uar_4k, &req, bfregi); in mlx5_ib_alloc_ucontext()
1874 bfregi->lib_uar_4k = lib_uar_4k; in mlx5_ib_alloc_ucontext()
2161 uars_per_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k); in uar_mmap()
Dmlx5_ib.h114 u8 lib_uar_4k : 1; member
1456 return get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * bfregi->num_static_sys_pages; in get_num_static_uars()
Dqp.c760 bfregs_per_sys_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in bfregn_to_uar_index()