Lines Matching defs:uar
141 /* uar registers */
3024 aprint_error_dev(self, "unable to alloc uar %d\n", i);
4323 mcx_alloc_uar(struct mcx_softc *sc, int *uar)
4341 printf(", alloc uar timeout\n");
4345 printf(", alloc uar command corrupt\n");
4351 printf(", alloc uar failed (%x)\n", out->cmd_status);
4355 *uar = mcx_get_id(out->cmd_uar);
4360 mcx_create_eq(struct mcx_softc *sc, struct mcx_eq *eq, int uar,
4407 (MCX_LOG_EQ_SIZE << MCX_EQ_CTX_LOG_EQ_SIZE_SHIFT) | uar);
4440 mcx_arm_eq(sc, eq, uar);
4656 mcx_create_cq(struct mcx_softc *sc, struct mcx_cq *cq, int uar, int db, int eqn)
4703 (MCX_LOG_CQ_SIZE << MCX_CQ_CTX_LOG_CQ_SIZE_SHIFT) | uar);
4745 mcx_arm_cq(sc, cq, uar);
5166 mcx_create_sq(struct mcx_softc *sc, struct mcx_tx *tx, int uar, int db,
5218 mbin->sq_wq.wq_uar_page = htobe32(uar);
5249 tx->tx_uar = uar;
7017 mcx_arm_cq(struct mcx_softc *sc, struct mcx_cq *cq, int uar)
7038 offset = (MCX_PAGE_SIZE * uar) + MCX_UAR_CQ_DOORBELL;
7123 mcx_arm_eq(struct mcx_softc *sc, struct mcx_eq *eq, int uar)
7128 offset = (MCX_PAGE_SIZE * uar) + MCX_UAR_EQ_DOORBELL_ARM;