Searched refs:UsbSts (Results 1 – 2 of 2) sorted by relevance
175 UINT16 UsbSts; in UhciStopHc() local185 UsbSts = UhciReadReg (Uhc->PciIo, USBSTS_OFFSET); in UhciStopHc()187 if ((UsbSts & USBSTS_HCH) == USBSTS_HCH) { in UhciStopHc()212 UINT16 UsbSts; in UhciIsHcWorking() local214 UsbSts = UhciReadReg (PciIo, USBSTS_OFFSET); in UhciIsHcWorking()216 if ((UsbSts & (USBSTS_HCPE | USBSTS_HSE | USBSTS_HCH)) != 0) { in UhciIsHcWorking()217 DEBUG ((EFI_D_ERROR, "UhciIsHcWorking: current USB state is %x\n", UsbSts)); in UhciIsHcWorking()
142 UINT16 UsbSts; in Uhci2GetState() local152 UsbSts = UhciReadReg (Uhc->PciIo, USBSTS_OFFSET); in Uhci2GetState()157 } else if ((UsbSts & USBSTS_HCH) != 0) { in Uhci2GetState()