Lines Matching defs:uar
130 /* uar registers */
2989 printf("%s: unable to alloc uar %d\n",
4296 mcx_alloc_uar(struct mcx_softc *sc, int *uar)
4314 printf(", alloc uar timeout\n");
4318 printf(", alloc uar command corrupt\n");
4324 printf(", alloc uar failed (%x)\n", out->cmd_status);
4328 *uar = mcx_get_id(out->cmd_uar);
4333 mcx_create_eq(struct mcx_softc *sc, struct mcx_eq *eq, int uar,
4380 (MCX_LOG_EQ_SIZE << MCX_EQ_CTX_LOG_EQ_SIZE_SHIFT) | uar);
4413 mcx_arm_eq(sc, eq, uar);
4629 mcx_create_cq(struct mcx_softc *sc, struct mcx_cq *cq, int uar, int db, int eqn)
4676 (MCX_LOG_CQ_SIZE << MCX_CQ_CTX_LOG_CQ_SIZE_SHIFT) | uar);
4718 mcx_arm_cq(sc, cq, uar);
5142 mcx_create_sq(struct mcx_softc *sc, struct mcx_tx *tx, int uar, int db,
5194 mbin->sq_wq.wq_uar_page = htobe32(uar);
5225 tx->tx_uar = uar;
6971 mcx_arm_cq(struct mcx_softc *sc, struct mcx_cq *cq, int uar)
6992 offset = (MCX_PAGE_SIZE * uar) + MCX_UAR_CQ_DOORBELL;
7073 mcx_arm_eq(struct mcx_softc *sc, struct mcx_eq *eq, int uar)
7078 offset = (MCX_PAGE_SIZE * uar) + MCX_UAR_EQ_DOORBELL_ARM;