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
971 Status = UsbHubGetPortStatus (HubIf, Port, &PortState); in UsbHubResetPort()
975 } else if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbHubResetPort()
995 ZeroMem (&PortState, sizeof (EFI_USB_PORT_STATUS)); in UsbHubResetPort()
998 Status = UsbHubGetPortStatus (HubIf, Port, &PortState); in UsbHubResetPort()
[all …]
DUsbEnumer.c662 EFI_USB_PORT_STATUS PortState; in UsbEnumerateNewDev() local
700 Status = HubApi->GetPortStatus (HubIf, Port, &PortState); in UsbEnumerateNewDev()
707 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_CONNECTION)) { in UsbEnumerateNewDev()
710 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_SUPER_SPEED)){ in UsbEnumerateNewDev()
713 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_HIGH_SPEED)) { in UsbEnumerateNewDev()
716 } else if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_LOW_SPEED)) { in UsbEnumerateNewDev()
879 EFI_USB_PORT_STATUS PortState; in UsbEnumeratePort() local
888 Status = HubApi->GetPortStatus (HubIf, Port, &PortState); in UsbEnumeratePort()
899 …if ((PortState.PortChangeStatus & (USB_PORT_STAT_C_CONNECTION | USB_PORT_STAT_C_ENABLE | USB_PORT_… in UsbEnumeratePort()
904 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.c1567 IN EFI_USB_PORT_STATUS *PortState in XhcPollPortStatusChange() argument
1577 …if ((PortState->PortChangeStatus & (USB_PORT_STAT_C_CONNECTION | USB_PORT_STAT_C_ENABLE | USB_PORT… in XhcPollPortStatusChange()
1604 if (((PortState->PortStatus & USB_PORT_STAT_ENABLE) != 0) && in XhcPollPortStatusChange()
1605 ((PortState->PortStatus & USB_PORT_STAT_CONNECTION) != 0)) { in XhcPollPortStatusChange()
1610 if ((PortState->PortStatus & USB_PORT_STAT_LOW_SPEED) != 0) { in XhcPollPortStatusChange()
1612 } else if ((PortState->PortStatus & USB_PORT_STAT_HIGH_SPEED) != 0) { in XhcPollPortStatusChange()
1614 } else if ((PortState->PortStatus & USB_PORT_STAT_SUPER_SPEED) != 0) { in XhcPollPortStatusChange()
1621 if ((SlotId == 0) && ((PortState->PortChangeStatus & USB_PORT_STAT_C_RESET) != 0)) { in XhcPollPortStatusChange()
DXhciSched.h956 IN EFI_USB_PORT_STATUS *PortState