Searched refs:eq_context (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/dev/mthca/
H A Dmthca_eq.c474 struct mthca_eq_context *eq_context; local
497 eq_context = mailbox->buf;
527 memset(eq_context, 0, sizeof *eq_context);
528 eq_context->flags = cpu_to_be32(MTHCA_EQ_STATUS_OK |
533 eq_context->flags |= cpu_to_be32(MTHCA_EQ_STATE_ARBEL);
535 eq_context->logsize_usrpage = cpu_to_be32((ffs(eq->nent) - 1) << 24);
537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num);
539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index);
540 eq_context
[all...]
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_eq.c959 struct mlx4_eq_context *eq_context; local
989 eq_context = mailbox->buf;
1023 eq_context->flags = cpu_to_be32(MLX4_EQ_STATUS_OK |
1025 eq_context->log_eq_size = ilog2(eq->nent);
1026 eq_context->intr = intr;
1027 eq_context->log_page_size = PAGE_SHIFT - MLX4_ICM_PAGE_SHIFT;
1030 eq_context->mtt_base_addr_h = mtt_addr >> 32;
1031 eq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff);

Completed in 104 milliseconds