Lines Matching refs:rtsregs

281 	struct pci_xhci_rtsregs rtsregs;  member
369 sc->rtsregs.er_enq_idx = 0; in pci_xhci_reset()
370 sc->rtsregs.er_events_cnt = 0; in pci_xhci_reset()
371 sc->rtsregs.event_pcs = 1; in pci_xhci_reset()
629 sc->rtsregs.intrreg.erdp |= XHCI_ERDP_LO_BUSY; in pci_xhci_assert_interrupt()
630 sc->rtsregs.intrreg.iman |= XHCI_IMAN_INTR_PEND; in pci_xhci_assert_interrupt()
635 (sc->rtsregs.intrreg.iman & XHCI_IMAN_INTR_ENA)) { in pci_xhci_assert_interrupt()
749 rts = &sc->rtsregs; in pci_xhci_insert_event()
2079 rts = &sc->rtsregs; in pci_xhci_rtsregs_write()
2103 rts->intrreg.erstba = MASK_64_HI(sc->rtsregs.intrreg.erstba) | in pci_xhci_rtsregs_write()
2110 MASK_64_LO(sc->rtsregs.intrreg.erstba); in pci_xhci_rtsregs_write()
2113 sc->rtsregs.intrreg.erstba & ~0x3FUL); in pci_xhci_rtsregs_write()
2116 sc->rtsregs.erstba_p->qwEvrsTablePtr & ~0x3FUL); in pci_xhci_rtsregs_write()
2130 MASK_64_HI(sc->rtsregs.intrreg.erdp) | in pci_xhci_rtsregs_write()
2145 MASK_64_LO(sc->rtsregs.intrreg.erdp); in pci_xhci_rtsregs_write()
2461 value = sc->rtsregs.mfindex; in pci_xhci_rtsregs_read()
2469 assert(offset < sizeof(sc->rtsregs.intrreg)); in pci_xhci_rtsregs_read()
2471 p = &sc->rtsregs.intrreg.iman; in pci_xhci_rtsregs_read()
2664 if (sc->rtsregs.erstba_p == NULL || in pci_xhci_dev_intr()
3128 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.mfindex, meta, ret, done); in pci_xhci_snapshot()
3131 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.intrreg.iman, meta, ret, done); in pci_xhci_snapshot()
3132 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.intrreg.imod, meta, ret, done); in pci_xhci_snapshot()
3133 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.intrreg.erstsz, meta, ret, done); in pci_xhci_snapshot()
3134 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.intrreg.rsvd, meta, ret, done); in pci_xhci_snapshot()
3135 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.intrreg.erstba, meta, ret, done); in pci_xhci_snapshot()
3136 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.intrreg.erdp, meta, ret, done); in pci_xhci_snapshot()
3139 SNAPSHOT_GUEST2HOST_ADDR_OR_LEAVE(pi->pi_vmctx, sc->rtsregs.erstba_p, in pci_xhci_snapshot()
3140 XHCI_GADDR_SIZE(sc->rtsregs.erstba_p), true, meta, ret, done); in pci_xhci_snapshot()
3143 SNAPSHOT_GUEST2HOST_ADDR_OR_LEAVE(pi->pi_vmctx, sc->rtsregs.erst_p, in pci_xhci_snapshot()
3144 XHCI_GADDR_SIZE(sc->rtsregs.erst_p), true, meta, ret, done); in pci_xhci_snapshot()
3146 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.er_deq_seg, meta, ret, done); in pci_xhci_snapshot()
3147 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.er_enq_idx, meta, ret, done); in pci_xhci_snapshot()
3148 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.er_enq_seg, meta, ret, done); in pci_xhci_snapshot()
3149 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.er_events_cnt, meta, ret, done); in pci_xhci_snapshot()
3150 SNAPSHOT_VAR_OR_LEAVE(sc->rtsregs.event_pcs, meta, ret, done); in pci_xhci_snapshot()