Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbHub.c845 OUT EFI_USB_PORT_STATUS *PortState in UsbHubGetPortStatus() argument
850 Status = UsbHubCtrlGetPortStatus (HubIf->Device, Port, PortState); in UsbHubGetPortStatus()
870 EFI_USB_PORT_STATUS PortState; in UsbHubClearPortChange() local
875 Status = UsbHubGetPortStatus (HubIf, Port, &PortState); in UsbHubClearPortChange()
890 if (USB_BIT_IS_SET (PortState.PortChangeStatus, Map->ChangedBit)) { in UsbHubClearPortChange()
967 EFI_USB_PORT_STATUS PortState; in UsbHubResetPort() local
986 ZeroMem (&PortState, sizeof (EFI_USB_PORT_STATUS)); in UsbHubResetPort()
989 Status = UsbHubGetPortStatus (HubIf, Port, &PortState); in UsbHubResetPort()
996 USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbHubResetPort()
1140 OUT EFI_USB_PORT_STATUS *PortState in UsbRootHubGetPortStatus() argument
[all …]
DUsbEnumer.c664 EFI_USB_PORT_STATUS PortState; in UsbEnumerateNewDev() local
704 Status = HubApi->GetPortStatus (HubIf, Port, &PortState); in UsbEnumerateNewDev()
711 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_CONNECTION)) { in UsbEnumerateNewDev()
714 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_SUPER_SPEED)){ in UsbEnumerateNewDev()
717 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_HIGH_SPEED)) { in UsbEnumerateNewDev()
720 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_LOW_SPEED)) { in UsbEnumerateNewDev()
883 EFI_USB_PORT_STATUS PortState; in UsbEnumeratePort() local
892 Status = HubApi->GetPortStatus (HubIf, Port, &PortState); in UsbEnumeratePort()
903 …if ((PortState.PortChangeStatus & (USB_PORT_STAT_C_CONNECTION | USB_PORT_STAT_C_ENABLE | USB_PORT_… in UsbEnumeratePort()
908 Port, PortState.PortStatus, PortState.PortChangeStatus, HubIf)); in UsbEnumeratePort()
[all …]
DUsbEnumer.h55 OUT EFI_USB_PORT_STATUS *PortState
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhciSched.c830 IN EFI_USB_PORT_STATUS *PortState in XhcPeiPollPortStatusChange() argument
838 …ortStatusChange: PortChangeStatus: %x PortStatus: %x\n", PortState->PortChangeStatus, PortState->P… in XhcPeiPollPortStatusChange()
842 …if ((PortState->PortChangeStatus & (USB_PORT_STAT_C_CONNECTION | USB_PORT_STAT_C_ENABLE | USB_PORT… in XhcPeiPollPortStatusChange()
869 if (((PortState->PortStatus & USB_PORT_STAT_ENABLE) != 0) && in XhcPeiPollPortStatusChange()
870 ((PortState->PortStatus & USB_PORT_STAT_CONNECTION) != 0)) { in XhcPeiPollPortStatusChange()
875 if ((PortState->PortStatus & USB_PORT_STAT_LOW_SPEED) != 0) { in XhcPeiPollPortStatusChange()
877 } else if ((PortState->PortStatus & USB_PORT_STAT_HIGH_SPEED) != 0) { in XhcPeiPollPortStatusChange()
879 } else if ((PortState->PortStatus & USB_PORT_STAT_SUPER_SPEED) != 0) { in XhcPeiPollPortStatusChange()
886 if ((SlotId == 0) && ((PortState->PortChangeStatus & USB_PORT_STAT_C_RESET) != 0)) { in XhcPeiPollPortStatusChange()
DXhciSched.h858 IN EFI_USB_PORT_STATUS *PortState
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c1571 IN EFI_USB_PORT_STATUS *PortState in XhcPollPortStatusChange() argument
1581 …if ((PortState->PortChangeStatus & (USB_PORT_STAT_C_CONNECTION | USB_PORT_STAT_C_ENABLE | USB_PORT… in XhcPollPortStatusChange()
1608 if (((PortState->PortStatus & USB_PORT_STAT_ENABLE) != 0) && in XhcPollPortStatusChange()
1609 ((PortState->PortStatus & USB_PORT_STAT_CONNECTION) != 0)) { in XhcPollPortStatusChange()
1614 if ((PortState->PortStatus & USB_PORT_STAT_LOW_SPEED) != 0) { in XhcPollPortStatusChange()
1616 } else if ((PortState->PortStatus & USB_PORT_STAT_HIGH_SPEED) != 0) { in XhcPollPortStatusChange()
1618 } else if ((PortState->PortStatus & USB_PORT_STAT_SUPER_SPEED) != 0) { in XhcPollPortStatusChange()
1625 if ((SlotId == 0) && ((PortState->PortChangeStatus & USB_PORT_STAT_C_RESET) != 0)) { in XhcPollPortStatusChange()
DXhciSched.h956 IN EFI_USB_PORT_STATUS *PortState