Home
last modified time | relevance | path

Searched refs:UsbCmd (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUhci.c143 UINT16 UsbCmd; in Uhci2GetState() local
151 UsbCmd = UhciReadReg (Uhc->PciIo, USBCMD_OFFSET); in Uhci2GetState()
154 if ((UsbCmd & USBCMD_EGSM) !=0 ) { in Uhci2GetState()
191 UINT16 UsbCmd; in Uhci2SetState() local
213 UsbCmd = UhciReadReg (Uhc->PciIo, USBCMD_OFFSET); in Uhci2SetState()
220 UsbCmd |= USBCMD_RS | USBCMD_MAXP; in Uhci2SetState()
221 UhciWriteReg (Uhc->PciIo, USBCMD_OFFSET, UsbCmd); in Uhci2SetState()
227 if ((UsbCmd & USBCMD_FGR) == 0) { in Uhci2SetState()
228 UsbCmd |= USBCMD_FGR; in Uhci2SetState()
229 UhciWriteReg (Uhc->PciIo, USBCMD_OFFSET, UsbCmd); in Uhci2SetState()
[all …]
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
DDebugCommunicationLibUsb.c601 UINT32 *UsbCmd; in InitializeUsbDebugHardware() local
609 UsbCmd = (UINT32 *)(UINTN)(Handle->EhciMemoryBase + 0x20); in InitializeUsbDebugHardware()
630 MmioOr32((UINTN)UsbCmd, BIT1); in InitializeUsbDebugHardware()
634 while ((MmioRead32((UINTN)UsbCmd) & BIT1) != 0); in InitializeUsbDebugHardware()
636 MmioOr32((UINTN)UsbCmd, BIT0); in InitializeUsbDebugHardware()