Lines Matching refs:cq
125 static inline void mlx5_cq_set_ci(struct mlx5_core_cq *cq)
127 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff);
135 static inline void mlx5_cq_arm(struct mlx5_core_cq *cq, u32 cmd,
144 sn = cq->arm_sn & 3;
147 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci);
155 doorbell[1] = cpu_to_be32(cq->cqn);
162 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
164 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
165 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
167 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
170 struct mlx5_core_cq *cq, u16 cq_period,
173 struct mlx5_core_cq *cq,
181 int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
182 void mlx5_debug_cq_remove(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);