Lines Matching refs:mleq

2125 mlxcx_cmd_create_eq(mlxcx_t *mlxp, mlxcx_event_queue_t *mleq)  in mlxcx_cmd_create_eq()  argument
2139 ASSERT(mutex_owned(&mleq->mleq_mtx)); in mlxcx_cmd_create_eq()
2140 VERIFY(mleq->mleq_state & MLXCX_EQ_ALLOC); in mlxcx_cmd_create_eq()
2141 VERIFY0(mleq->mleq_state & MLXCX_EQ_CREATED); in mlxcx_cmd_create_eq()
2148 ctx->mleqc_uar_page = to_be24(mleq->mleq_uar->mlu_num); in mlxcx_cmd_create_eq()
2149 ctx->mleqc_log_eq_size = mleq->mleq_entshift; in mlxcx_cmd_create_eq()
2150 ctx->mleqc_intr = mleq->mleq_intr_index; in mlxcx_cmd_create_eq()
2152 in.mlxi_create_eq_event_bitmask = to_be64(mleq->mleq_events); in mlxcx_cmd_create_eq()
2156 while ((c = mlxcx_dma_cookie_iter(&mleq->mleq_dma, c)) != NULL) { in mlxcx_cmd_create_eq()
2180 mleq->mleq_state |= MLXCX_EQ_CREATED; in mlxcx_cmd_create_eq()
2181 mleq->mleq_num = out.mlxo_create_eq_eqn; in mlxcx_cmd_create_eq()
2188 mlxcx_cmd_query_eq(mlxcx_t *mlxp, mlxcx_event_queue_t *mleq, in mlxcx_cmd_query_eq() argument
2199 VERIFY(mleq->mleq_state & MLXCX_EQ_ALLOC); in mlxcx_cmd_query_eq()
2200 VERIFY(mleq->mleq_state & MLXCX_EQ_CREATED); in mlxcx_cmd_query_eq()
2206 in.mlxi_query_eq_eqn = mleq->mleq_num; in mlxcx_cmd_query_eq()
2224 mlxcx_cmd_destroy_eq(mlxcx_t *mlxp, mlxcx_event_queue_t *mleq) in mlxcx_cmd_destroy_eq() argument
2234 ASSERT(mutex_owned(&mleq->mleq_mtx)); in mlxcx_cmd_destroy_eq()
2235 VERIFY(mleq->mleq_state & MLXCX_EQ_ALLOC); in mlxcx_cmd_destroy_eq()
2236 VERIFY(mleq->mleq_state & MLXCX_EQ_CREATED); in mlxcx_cmd_destroy_eq()
2242 in.mlxi_destroy_eq_eqn = mleq->mleq_num; in mlxcx_cmd_destroy_eq()
2252 mleq->mleq_state |= MLXCX_EQ_DESTROYED; in mlxcx_cmd_destroy_eq()