Home
last modified time | relevance | path

Searched refs:MLX5_CAP_ATOMIC (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1208 MLX5_CAP_ATOMIC, enumerator
1292 #define MLX5_CAP_ATOMIC(mdev, cap) \ macro
1293 MLX5_GET(atomic_caps, mdev->caps.hca[MLX5_CAP_ATOMIC]->cur, cap)
1296 MLX5_GET(atomic_caps, mdev->caps.hca[MLX5_CAP_ATOMIC]->max, cap)
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c443 err = mlx5_core_get_caps(dev, MLX5_CAP_ATOMIC); in handle_hca_cap_atomic()
448 MLX5_CAP_ATOMIC(dev, in handle_hca_cap_atomic()
1741 MLX5_CAP_ATOMIC,
H A Dfw.c183 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_ATOMIC, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c675 u8 atomic_operations = MLX5_CAP_ATOMIC(dev->mdev, atomic_operations); in get_atomic_caps()
677 MLX5_CAP_ATOMIC(dev->mdev, atomic_req_8B_endianness_mode); in get_atomic_caps()
695 u8 atomic_size_qp = MLX5_CAP_ATOMIC(dev->mdev, atomic_size_qp); in get_atomic_caps_qp()
H A Dqp.c1967 u8 atomic_operations = MLX5_CAP_ATOMIC(dev->mdev, atomic_operations); in get_atomic_mode()
1976 atomic_size_mask = MLX5_CAP_ATOMIC(dev->mdev, atomic_size_dc); in get_atomic_mode()
1978 atomic_size_mask = MLX5_CAP_ATOMIC(dev->mdev, atomic_size_qp); in get_atomic_mode()