• Home
  • Raw
  • Download

Lines Matching refs:MmioRead32

301   while ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & (UINT32)BIT16) == 0) {  in UsbDebugPortIn()
302 …if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT… in UsbDebugPortIn()
316 if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & BIT6) { in UsbDebugPortIn()
323 …if (((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & 0xF) > USB_DEBUG_PORT_MAX_PACKET_SIZ… in UsbDebugPortIn()
327 *Length = (UINT8)(MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & 0xF); in UsbDebugPortIn()
402 while ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & BIT16) == 0) { in UsbDebugPortOut()
403 …if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT… in UsbDebugPortOut()
417 if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & BIT6) { in UsbDebugPortOut()
424 …if (((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & 0xF) > USB_DEBUG_PORT_MAX_PACKET_SIZ… in UsbDebugPortOut()
563 …if ((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_P… in NeedReinitializeHardware()
615 …if (((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_… in InitializeUsbDebugHardware()
620 MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) in InitializeUsbDebugHardware()
625 if ((MmioRead32((UINTN)UsbStatus) & BIT12) != 0) { in InitializeUsbDebugHardware()
634 while ((MmioRead32((UINTN)UsbCmd) & BIT1) != 0); in InitializeUsbDebugHardware()
638 while ((MmioRead32((UINTN)UsbStatus) & BIT12) != 0); in InitializeUsbDebugHardware()
651 DebugPortNumber = (UINT8)((MmioRead32((UINTN)UsbHCSParam) & 0x00F00000) >> 20); in InitializeUsbDebugHardware()
656 if (!(MmioRead32((UINTN)PortStatus) & BIT0)) { in InitializeUsbDebugHardware()
662 (MmioRead32 ((UINTN) &UsbDebugPortRegister->ControlStatus) & USB_DEBUG_PORT_ENABLE) == 0) { in InitializeUsbDebugHardware()
670 while (MmioRead32((UINTN)PortStatus) & BIT8); in InitializeUsbDebugHardware()
675 if ((MmioRead32((UINTN)PortStatus) & BIT2) == 0) { in InitializeUsbDebugHardware()
976 while ((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (UINT32)BIT16) == 0) { in DebugPortPollBuffer()
977 …if ((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_P… in DebugPortPollBuffer()
983 if ((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus)) & BIT6) { in DebugPortPollBuffer()
987 Length = (UINT8)(MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & 0xF); in DebugPortPollBuffer()