Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
H A Dcmd.h59 int mlx5_cmd_uar_alloc(struct mlx5_core_dev *dev, u32 *uarn, u16 uid);
60 int mlx5_cmd_uar_dealloc(struct mlx5_core_dev *dev, u32 uarn, u16 uid);
H A Dcmd.c223 int mlx5_cmd_uar_alloc(struct mlx5_core_dev *dev, u32 *uarn, u16 uid) in mlx5_cmd_uar_alloc() argument
235 *uarn = MLX5_GET(alloc_uar_out, out, uar); in mlx5_cmd_uar_alloc()
239 int mlx5_cmd_uar_dealloc(struct mlx5_core_dev *dev, u32 uarn, u16 uid) in mlx5_cmd_uar_dealloc() argument
244 MLX5_SET(dealloc_uar_in, in, uar, uarn); in mlx5_cmd_uar_dealloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Duar.c37 static int mlx5_cmd_alloc_uar(struct mlx5_core_dev *dev, u32 *uarn) in mlx5_cmd_alloc_uar() argument
48 *uarn = MLX5_GET(alloc_uar_out, out, uar); in mlx5_cmd_alloc_uar()
52 static int mlx5_cmd_free_uar(struct mlx5_core_dev *dev, u32 uarn) in mlx5_cmd_free_uar() argument
57 MLX5_SET(dealloc_uar_in, in, uar, uarn); in mlx5_cmd_free_uar()