Lines Matching refs:val
46 # define MLX4_PAIR_TO_64(val) ((uint64_t) val[1] << 32 | val[0])
48 # define MLX4_PAIR_TO_64(val) ((uint64_t) val[0] << 32 | val[1])
53 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset)
55 mmio_writeq((unsigned long)(ctx->uar + offset), MLX4_PAIR_TO_64(val));
60 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset)
63 mmio_writel((unsigned long)(ctx->uar + offset), val[0]);
64 mmio_writel((unsigned long)(ctx->uar + offset + 4), val[1]);