Searched refs:USB_BIT_IS_SET (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
D | UsbEnumer.c | 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() 916 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_OVERCURRENT)) { in UsbEnumeratePort() 918 if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_OVERCURRENT)) { in UsbEnumeratePort() 938 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_ENABLE)) { in UsbEnumeratePort() 948 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_CONNECTION)) { in UsbEnumeratePort() 966 if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_CONNECTION)) { in UsbEnumeratePort() 971 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbEnumeratePort() [all …]
|
D | UsbHub.c | 529 if (USB_BIT_IS_SET (HubState.PortChangeStatus, USB_HUB_STAT_C_LOCAL_POWER)) { in UsbHubAckHubStatus() 533 if (USB_BIT_IS_SET (HubState.PortChangeStatus, USB_HUB_STAT_C_OVER_CURRENT)) { in UsbHubAckHubStatus() 610 if (USB_BIT_IS_SET (Result, EFI_USB_ERR_STALL)) { in UsbOnHubInterrupt() 717 if (USB_BIT_IS_SET (EpDesc->Desc.EndpointAddress, USB_ENDPOINT_DIR_IN) && in UsbHubInit() 890 if (USB_BIT_IS_SET (PortState.PortChangeStatus, Map->ChangedBit)) { in UsbHubClearPortChange() 996 USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbHubResetPort() 1186 if (USB_BIT_IS_SET (PortState.PortChangeStatus, Map->ChangedBit)) { in UsbRootHubClearPortChange() 1311 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_RESET)) { in UsbRootHubResetPort() 1323 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_ENABLE)) { in UsbRootHubResetPort()
|
D | UsbBus.h | 148 #define USB_BIT_IS_SET(Data, Bit) ((BOOLEAN)(((Data) & (Bit)) == (Bit))) macro
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/ |
D | UsbPeim.c | 317 if (USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_SUPER_SPEED)){ in PeiHubEnumeration() 319 } else if (USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_HIGH_SPEED)) { in PeiHubEnumeration() 321 } else if (USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_LOW_SPEED)) { in PeiHubEnumeration() 567 if (USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_SUPER_SPEED)){ in PeiUsbEnumeration() 569 } else if (USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_HIGH_SPEED)) { in PeiUsbEnumeration() 571 } else if (USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_LOW_SPEED)) { in PeiUsbEnumeration() 1081 if (!USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_RESET)) { in ResetRootPort() 1183 if (!USB_BIT_IS_SET (PortStatus.PortStatus, USB_PORT_STAT_RESET)) { in ResetRootPort()
|
D | UsbPeim.h | 65 #define USB_BIT_IS_SET(Data, Bit) ((BOOLEAN)(((Data) & (Bit)) == (Bit))) macro
|
D | HubPeim.c | 615 if (USB_BIT_IS_SET (HubPortStatus.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in PeiResetHubPort()
|