Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbBus.c904 USB_DEVICE *RootHub; in UsbBusBuildProtocol() local
1003 RootHub = AllocateZeroPool (sizeof (USB_DEVICE)); in UsbBusBuildProtocol()
1005 if (RootHub == NULL) { in UsbBusBuildProtocol()
1013 FreePool (RootHub); in UsbBusBuildProtocol()
1018 RootHub->Bus = UsbBus; in UsbBusBuildProtocol()
1019 RootHub->NumOfInterface = 1; in UsbBusBuildProtocol()
1020 RootHub->Interfaces[0] = RootIf; in UsbBusBuildProtocol()
1021 RootHub->Tier = 0; in UsbBusBuildProtocol()
1023 RootIf->Device = RootHub; in UsbBusBuildProtocol()
1042 UsbBus->Devices[0] = RootHub; in UsbBusBuildProtocol()
[all …]
DUsbEnumer.c1058 USB_INTERFACE *RootHub; in UsbRootHubEnumeration() local
1062 RootHub = (USB_INTERFACE *) Context; in UsbRootHubEnumeration()
1064 for (Index = 0; Index < RootHub->NumOfPort; Index++) { in UsbRootHubEnumeration()
1065 Child = UsbFindChild (RootHub, Index); in UsbRootHubEnumeration()
1067 …eratePort: The device disconnect fails at port %d from root hub %p, try again\n", Index, RootHub)); in UsbRootHubEnumeration()
1071 UsbEnumeratePort (RootHub, Index); in UsbRootHubEnumeration()