MLX5_BFREGS_PER_UAR  851 drivers/infiniband/hw/mlx5/qp.c 	return bfregn / MLX5_NON_FP_BFREGS_PER_UAR * MLX5_BFREGS_PER_UAR +
MLX5_BFREGS_PER_UAR  107 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	bfregs = uars_per_sys_page(mdev) * MLX5_BFREGS_PER_UAR;
MLX5_BFREGS_PER_UAR  122 drivers/net/ethernet/mellanox/mlx5/core/uar.c 		if ((i % MLX5_BFREGS_PER_UAR) < MLX5_NON_FP_BFREGS_PER_UAR)
MLX5_BFREGS_PER_UAR  128 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	up->fp_avail = bfregs * MLX5_FP_BFREGS_PER_UAR / MLX5_BFREGS_PER_UAR;
MLX5_BFREGS_PER_UAR  129 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	up->reg_avail = bfregs * MLX5_NON_FP_BFREGS_PER_UAR / MLX5_BFREGS_PER_UAR;
MLX5_BFREGS_PER_UAR  201 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	return dbi / MLX5_BFREGS_PER_UAR * MLX5_ADAPTER_PAGE_SIZE +
MLX5_BFREGS_PER_UAR  202 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	       (dbi % MLX5_BFREGS_PER_UAR) *
MLX5_BFREGS_PER_UAR  253 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	bfreg->index = up->index + dbi / MLX5_BFREGS_PER_UAR;
MLX5_BFREGS_PER_UAR  288 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	return uar_idx * MLX5_BFREGS_PER_UAR + bfreg_idx;
MLX5_BFREGS_PER_UAR  312 drivers/net/ethernet/mellanox/mlx5/core/uar.c 	fp = (dbi % MLX5_BFREGS_PER_UAR) >= MLX5_NON_FP_BFREGS_PER_UAR;
MLX5_BFREGS_PER_UAR  253 include/linux/mlx5/device.h 	MLX5_FP_BFREGS_PER_UAR		= MLX5_BFREGS_PER_UAR -