Searched refs:eq_context (Results 1 – 3 of 3) sorted by relevance
474 struct mthca_eq_context *eq_context; in mthca_create_eq() local497 eq_context = mailbox->buf; in mthca_create_eq()527 memset(eq_context, 0, sizeof *eq_context); in mthca_create_eq()528 eq_context->flags = cpu_to_be32(MTHCA_EQ_STATUS_OK | in mthca_create_eq()533 eq_context->flags |= cpu_to_be32(MTHCA_EQ_STATE_ARBEL); in mthca_create_eq()535 eq_context->logsize_usrpage = cpu_to_be32((ffs(eq->nent) - 1) << 24); in mthca_create_eq()537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_create_eq()540 eq_context->tavor_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()542 eq_context->intr = intr; in mthca_create_eq()[all …]
974 struct mlx4_eq_context *eq_context; in mlx4_create_eq() local1004 eq_context = mailbox->buf; in mlx4_create_eq()1036 eq_context->flags = cpu_to_be32(MLX4_EQ_STATUS_OK | in mlx4_create_eq()1038 eq_context->log_eq_size = ilog2(eq->nent); in mlx4_create_eq()1039 eq_context->intr = intr; in mlx4_create_eq()1040 eq_context->log_page_size = PAGE_SHIFT - MLX4_ICM_PAGE_SHIFT; in mlx4_create_eq()1043 eq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_create_eq()1044 eq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_create_eq()
1117 struct eq_context { struct1234 struct eq_context context;