Home
last modified time | relevance | path

Searched refs:HubDesc (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbHub.c473 OUT EFI_USB_HUB_DESCRIPTOR *HubDesc in UsbHubReadDesc() argument
482 Status = UsbHubCtrlGetSuperSpeedHubDesc (HubDev, HubDesc); in UsbHubReadDesc()
488 Status = UsbHubCtrlGetHubDesc (HubDev, HubDesc, 2); in UsbHubReadDesc()
497 Status = UsbHubCtrlGetHubDesc (HubDev, HubDesc, HubDesc->Length); in UsbHubReadDesc()
693 EFI_USB_HUB_DESCRIPTOR HubDesc; in UsbHubInit() local
728 Status = UsbHubReadDesc (HubDev, &HubDesc); in UsbHubInit()
735 HubIf->NumOfPort = HubDesc.NumPorts; in UsbHubInit()
754 for (Index = 0; Index < HubDesc.NumPorts; Index++) { in UsbHubInit()
762 for (Index = 0; Index < HubDesc.NumPorts; Index++) { in UsbHubInit()
769 if (HubDesc.PwrOn2PwrGood > 0) { in UsbHubInit()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhcPeim.c522 EFI_USB_HUB_DESCRIPTOR *HubDesc; in XhcPeiControlTransfer() local
732 HubDesc = (EFI_USB_HUB_DESCRIPTOR *) Data; in XhcPeiControlTransfer()
733 ASSERT (HubDesc->NumPorts <= 15); in XhcPeiControlTransfer()
737 TTT = (UINT8) ((HubDesc->HubCharacter & (BIT5 | BIT6)) >> 5); in XhcPeiControlTransfer()
749 Status = XhcPeiConfigHubContext (Xhc, SlotId, HubDesc->NumPorts, TTT, MTT); in XhcPeiControlTransfer()
751 Status = XhcPeiConfigHubContext64 (Xhc, SlotId, HubDesc->NumPorts, TTT, MTT); in XhcPeiControlTransfer()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhci.c769 EFI_USB_HUB_DESCRIPTOR *HubDesc; in XhcControlTransfer() local
990 HubDesc = (EFI_USB_HUB_DESCRIPTOR *)Data; in XhcControlTransfer()
991 ASSERT (HubDesc->NumPorts <= 15); in XhcControlTransfer()
995 TTT = (UINT8)((HubDesc->HubCharacter & (BIT5 | BIT6)) >> 5); in XhcControlTransfer()
1007 Status = XhcConfigHubContext (Xhc, SlotId, HubDesc->NumPorts, TTT, MTT); in XhcControlTransfer()
1009 Status = XhcConfigHubContext64 (Xhc, SlotId, HubDesc->NumPorts, TTT, MTT); in XhcControlTransfer()