XHCI_STS_HCH
if (status & (XHCI_STS_PCD | XHCI_STS_HCH |
if (status & XHCI_STS_HCH) {
temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH;
temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH;
sc->opregs.usbsts = XHCI_STS_HCH;
#define XHCI_HALTED(sc) ((sc)->opregs.usbsts & XHCI_STS_HCH)
sc->opregs.usbsts &= ~XHCI_STS_HCH;
sc->opregs.usbsts |= XHCI_STS_HCH;