Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
DDebugCommunicationLibUsb.c262 IN USB_DEBUG_PORT_REGISTER *DebugPortRegister, in UsbDebugPortIn() argument
278 DebugPortRegister->TokenPid = Token; in UsbDebugPortIn()
280 DebugPortRegister->SendPid = DATA1_PID; in UsbDebugPortIn()
282 DebugPortRegister->SendPid = DATA0_PID; in UsbDebugPortIn()
285 DebugPortRegister->UsbAddress = (UINT8)(Addr & 0x7F); in UsbDebugPortIn()
286 DebugPortRegister->UsbEndPoint = (UINT8)(Ep & 0xF); in UsbDebugPortIn()
291 MmioAnd32((UINTN)&DebugPortRegister->ControlStatus, (UINT32)~BIT4); in UsbDebugPortIn()
296 MmioOr32((UINTN)&DebugPortRegister->ControlStatus, (UINT32)BIT5); in UsbDebugPortIn()
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()
[all …]