Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c120 if ((i % MLX5_BFREGS_PER_UAR) < MLX5_NON_FP_BFREGS_PER_UAR) in alloc_uars_page()
127 up->reg_avail = bfregs * MLX5_NON_FP_BFREGS_PER_UAR / MLX5_BFREGS_PER_UAR; in alloc_uars_page()
310 fp = (dbi % MLX5_BFREGS_PER_UAR) >= MLX5_NON_FP_BFREGS_PER_UAR; in mlx5_free_bfreg()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h254 MLX5_NON_FP_BFREGS_PER_UAR = 2, enumerator
256 MLX5_NON_FP_BFREGS_PER_UAR,
258 MLX5_NON_FP_BFREGS_PER_UAR,
260 MLX5_NON_FP_BFREGS_IN_PAGE = MLX5_NON_FP_BFREGS_PER_UAR * MLX5_UARS_IN_PAGE,
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqp.c700 bfregi->num_static_sys_pages * MLX5_NON_FP_BFREGS_PER_UAR; in max_bfregs()
844 MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()
860 offset = bfregn % bfregs_per_sys_page / MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()
937 return bfregn / MLX5_NON_FP_BFREGS_PER_UAR * MLX5_BFREGS_PER_UAR + in adjust_bfregn()
938 bfregn % MLX5_NON_FP_BFREGS_PER_UAR; in adjust_bfregn()
Dmain.c1705 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs()
1962 MLX5_NON_FP_BFREGS_PER_UAR); in mlx5_ib_alloc_ucontext()
2269 bfreg_dyn_idx = idx * (uars_per_page * MLX5_NON_FP_BFREGS_PER_UAR); in uar_mmap()