Home
last modified time | relevance | path

Searched refs:MLX5_NON_FP_BFREGS_PER_UAR (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_uar.c117 if ((i % MLX5_BFREGS_PER_UAR) < MLX5_NON_FP_BFREGS_PER_UAR) in alloc_uars_page()
124 up->reg_avail = bfregs * MLX5_NON_FP_BFREGS_PER_UAR / MLX5_BFREGS_PER_UAR; in alloc_uars_page()
307 fp = (dbi % MLX5_BFREGS_PER_UAR) >= MLX5_NON_FP_BFREGS_PER_UAR; in mlx5_free_bfreg()
/freebsd/sys/dev/mlx5/
H A Ddevice.h255 MLX5_NON_FP_BFREGS_PER_UAR = 2, enumerator
257 MLX5_NON_FP_BFREGS_PER_UAR,
259 MLX5_NON_FP_BFREGS_PER_UAR,
261 MLX5_NON_FP_BFREGS_IN_PAGE = MLX5_NON_FP_BFREGS_PER_UAR * MLX5_UARS_IN_PAGE,
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c483 return get_num_static_uars(dev, bfregi) * MLX5_NON_FP_BFREGS_PER_UAR; in max_bfregs()
629 MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()
645 offset = bfregn % bfregs_per_sys_page / MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()
756 return bfregn / MLX5_NON_FP_BFREGS_PER_UAR * MLX5_BFREGS_PER_UAR + in adjust_bfregn()
757 bfregn % MLX5_NON_FP_BFREGS_PER_UAR; in adjust_bfregn()
H A Dmlx5_ib_main.c1147 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs()
1297 MLX5_NON_FP_BFREGS_PER_UAR); in mlx5_ib_alloc_ucontext()
1591 bfreg_dyn_idx = idx * (uars_per_page * MLX5_NON_FP_BFREGS_PER_UAR); in uar_mmap()