Lines Matching refs:cq_context
173 struct mlx4_cq_context *cq_context; in mlx4_cq_modify() local
180 cq_context = mailbox->buf; in mlx4_cq_modify()
181 cq_context->cq_max_count = cpu_to_be16(count); in mlx4_cq_modify()
182 cq_context->cq_period = cpu_to_be16(period); in mlx4_cq_modify()
195 struct mlx4_cq_context *cq_context; in mlx4_cq_resize() local
203 cq_context = mailbox->buf; in mlx4_cq_resize()
204 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); in mlx4_cq_resize()
205 cq_context->log_page_size = mtt->page_shift - 12; in mlx4_cq_resize()
207 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_resize()
208 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_resize()
350 struct mlx4_cq_context *cq_context; in mlx4_cq_alloc() local
375 cq_context = mailbox->buf; in mlx4_cq_alloc()
376 cq_context->flags = cpu_to_be32(!!collapsed << 18); in mlx4_cq_alloc()
378 cq_context->flags |= cpu_to_be32(1 << 19); in mlx4_cq_alloc()
380 cq_context->logsize_usrpage = in mlx4_cq_alloc()
383 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; in mlx4_cq_alloc()
384 cq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; in mlx4_cq_alloc()
387 cq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_cq_alloc()
388 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_alloc()
389 cq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_cq_alloc()