Lines Matching defs:cq_context
142 struct mlx4_cq_context *cq_context;
149 cq_context = mailbox->buf;
150 memset(cq_context, 0, sizeof *cq_context);
152 cq_context->cq_max_count = cpu_to_be16(count);
153 cq_context->cq_period = cpu_to_be16(period);
166 struct mlx4_cq_context *cq_context;
174 cq_context = mailbox->buf;
175 memset(cq_context, 0, sizeof *cq_context);
177 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24);
178 cq_context->log_page_size = mtt->page_shift - 12;
180 cq_context->mtt_base_addr_h = mtt_addr >> 32;
181 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff);
197 struct mlx4_cq_context *cq_context;
230 cq_context = mailbox->buf;
231 memset(cq_context, 0, sizeof *cq_context);
233 cq_context->flags = cpu_to_be32(!!collapsed << 18);
234 cq_context->logsize_usrpage = cpu_to_be32((ilog2(nent) << 24) | uar->index);
235 cq_context->comp_eqn = priv->eq_table.eq[vector].eqn;
236 cq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT;
239 cq_context->mtt_base_addr_h = mtt_addr >> 32;
240 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff);
241 cq_context->db_rec_addr = cpu_to_be64(db_rec);