Lines Matching defs:val
43 # define MLX5_PAIR_TO_64(val) ((uint64_t) val[1] << 32 | val[0])
45 # define MLX5_PAIR_TO_64(val) ((uint64_t) val[0] << 32 | val[1])
50 static inline void mlx5_write64(uint32_t val[2], void *dest, struct mlx5_spinlock *lock)
52 *(volatile uint64_t *)dest = MLX5_PAIR_TO_64(val);
57 static inline void mlx5_write64(uint32_t val[2], void *dest, struct mlx5_spinlock *lock)
60 *(volatile uint32_t *)dest = val[0];
61 *(volatile uint32_t *)(dest + 4) = val[1];