Lines Matching defs:cq_context
122 struct mlx4_cq_context *cq_context;
129 cq_context = mailbox->buf;
130 cq_context->cq_max_count = cpu_to_be16(count);
131 cq_context->cq_period = cpu_to_be16(period);
144 struct mlx4_cq_context *cq_context;
152 cq_context = mailbox->buf;
153 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24);
154 cq_context->log_page_size = mtt->page_shift - 12;
156 cq_context->mtt_base_addr_h = mtt_addr >> 32;
157 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff);
246 struct mlx4_cq_context *cq_context;
271 cq_context = mailbox->buf;
272 cq_context->flags = cpu_to_be32(!!collapsed << 18);
274 cq_context->flags |= cpu_to_be32(1 << 19);
276 cq_context->logsize_usrpage = cpu_to_be32((ilog2(nent) << 24) | uar->index);
277 cq_context->comp_eqn = priv->eq_table.eq[vector].eqn;
278 cq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT;
281 cq_context->mtt_base_addr_h = mtt_addr >> 32;
282 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff);
283 cq_context->db_rec_addr = cpu_to_be64(db_rec);