Searched refs:USB_BIT_IS_SET (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
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() 975 } else if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbHubResetPort() 1005 USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbHubResetPort() 1195 if (USB_BIT_IS_SET (PortState.PortChangeStatus, Map->ChangedBit)) { in UsbRootHubClearPortChange() 1289 } else if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_RESET)) { in UsbRootHubResetPort() 1329 if (!USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_RESET)) { in UsbRootHubResetPort() [all …]
|
D | UsbEnumer.c | 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() 912 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_OVERCURRENT)) { in UsbEnumeratePort() 914 if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_OVERCURRENT)) { in UsbEnumeratePort() 934 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_ENABLE)) { in UsbEnumeratePort() 944 if (USB_BIT_IS_SET (PortState.PortChangeStatus, USB_PORT_STAT_C_CONNECTION)) { in UsbEnumeratePort() 962 if (USB_BIT_IS_SET (PortState.PortStatus, USB_PORT_STAT_CONNECTION)) { in UsbEnumeratePort() 1021 if (USB_BIT_IS_SET (HubIf->ChangeMap[Byte], USB_BIT (Bit))) { in UsbHubEnumeration()
|
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()
|