Lines Matching defs:val
38 # define MLX4_PAIR_TO_64(val) ((uint64_t) val[1] << 32 | val[0])
40 # define MLX4_PAIR_TO_64(val) ((uint64_t) val[0] << 32 | val[1])
45 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset)
47 *(volatile uint64_t *) (ctx->uar + offset) = MLX4_PAIR_TO_64(val);
52 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset)
55 *(volatile uint32_t *) (ctx->uar + offset) = val[0];
56 *(volatile uint32_t *) (ctx->uar + offset + 4) = val[1];