Home
last modified time | relevance | path

Searched refs:ConfigDesc (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbEnumer.c377 USB_CONFIG_DESC *ConfigDesc; in UsbSelectConfig() local
387 ConfigDesc = NULL; in UsbSelectConfig()
390 ConfigDesc = DevDesc->Configs[Index]; in UsbSelectConfig()
392 if (ConfigDesc->Desc.ConfigurationValue == ConfigValue) { in UsbSelectConfig()
401 Device->ActiveConfig = ConfigDesc; in UsbSelectConfig()
409 for (Index = 0; Index < ConfigDesc->Desc.NumInterfaces; Index++) { in UsbSelectConfig()
414 IfDesc = ConfigDesc->Interfaces[Index]; in UsbSelectConfig()
420 UsbIf = UsbCreateInterface (Device, ConfigDesc->Interfaces[Index]); in UsbSelectConfig()
DUsbDesc.c781 USB_CONFIG_DESC *ConfigDesc; in UsbBuildDescTable() local
830 ConfigDesc = UsbParseConfigDesc ((UINT8 *) Config, Config->TotalLength); in UsbBuildDescTable()
834 if (ConfigDesc == NULL) { in UsbBuildDescTable()
848 DevDesc->Configs[Index] = ConfigDesc; in UsbBuildDescTable()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/
DUsbMouse.c555 EFI_USB_CONFIG_DESCRIPTOR ConfigDesc; in InitializeUsbMouseDevice() local
569 &ConfigDesc in InitializeUsbMouseDevice()
579 Buf = AllocateZeroPool (ConfigDesc.TotalLength); in InitializeUsbMouseDevice()
586 (UINT16)((USB_DESC_TYPE_CONFIG << 8) | (ConfigDesc.ConfigurationValue - 1)), in InitializeUsbMouseDevice()
588 ConfigDesc.TotalLength, in InitializeUsbMouseDevice()
607 while (Total < ConfigDesc.TotalLength) { in InitializeUsbMouseDevice()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/
DUsbMouseAbsolutePointer.c555 EFI_USB_CONFIG_DESCRIPTOR ConfigDesc; in InitializeUsbMouseDevice() local
569 &ConfigDesc in InitializeUsbMouseDevice()
579 Buf = AllocateZeroPool (ConfigDesc.TotalLength); in InitializeUsbMouseDevice()
586 (UINT16)((USB_DESC_TYPE_CONFIG << 8) | (ConfigDesc.ConfigurationValue - 1)), in InitializeUsbMouseDevice()
588 ConfigDesc.TotalLength, in InitializeUsbMouseDevice()
607 while (Total < ConfigDesc.TotalLength) { in InitializeUsbMouseDevice()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
DUsbPeim.c364 …for (InterfaceIndex = 1; InterfaceIndex < NewPeiUsbDevice->ConfigDesc->NumInterfaces; InterfaceInd… in PeiHubEnumeration()
605 …for (InterfaceIndex = 1; InterfaceIndex < PeiUsbDevice->ConfigDesc->NumInterfaces; InterfaceIndex+… in PeiUsbEnumeration()
786 EFI_USB_CONFIG_DESCRIPTOR *ConfigDesc; in PeiUsbGetAllConfiguration() local
816 ConfigDesc = (EFI_USB_CONFIG_DESCRIPTOR *) PeiUsbDevice->ConfigurationData; in PeiUsbGetAllConfiguration()
817 ConfigDescLength = ConfigDesc->TotalLength; in PeiUsbGetAllConfiguration()
852 PeiUsbDevice->ConfigDesc = (EFI_USB_CONFIG_DESCRIPTOR *) Ptr; in PeiUsbGetAllConfiguration()
857 …for (InterfaceIndex = 0; InterfaceIndex < PeiUsbDevice->ConfigDesc->NumInterfaces; InterfaceIndex+… in PeiUsbGetAllConfiguration()
DUsbPeim.h54 EFI_USB_CONFIG_DESCRIPTOR *ConfigDesc; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c2921 IN USB_CONFIG_DESCRIPTOR *ConfigDesc in XhcSetConfigCmd() argument
2943 ASSERT (ConfigDesc != NULL); in XhcSetConfigCmd()
2947 IfDesc = (USB_INTERFACE_DESCRIPTOR *)(ConfigDesc + 1); in XhcSetConfigCmd()
2948 for (Index = 0; Index < ConfigDesc->NumInterfaces; Index++) { in XhcSetConfigCmd()
2988 Xhc->UsbDevContext[SlotId].ActiveConfiguration = ConfigDesc->ConfigurationValue; in XhcSetConfigCmd()
3011 IN USB_CONFIG_DESCRIPTOR *ConfigDesc in XhcSetConfigCmd64() argument
3033 ASSERT (ConfigDesc != NULL); in XhcSetConfigCmd64()
3037 IfDesc = (USB_INTERFACE_DESCRIPTOR *)(ConfigDesc + 1); in XhcSetConfigCmd64()
3038 for (Index = 0; Index < ConfigDesc->NumInterfaces; Index++) { in XhcSetConfigCmd64()
3078 Xhc->UsbDevContext[SlotId].ActiveConfiguration = ConfigDesc->ConfigurationValue; in XhcSetConfigCmd64()
[all …]
DXhciSched.h1020 IN USB_CONFIG_DESCRIPTOR *ConfigDesc
1041 IN USB_CONFIG_DESCRIPTOR *ConfigDesc
1062 IN USB_CONFIG_DESCRIPTOR *ConfigDesc,
1084 IN USB_CONFIG_DESCRIPTOR *ConfigDesc,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhciSched.c1659 IN USB_CONFIG_DESCRIPTOR *ConfigDesc in XhcPeiSetConfigCmd() argument
1688 ASSERT (ConfigDesc != NULL); in XhcPeiSetConfigCmd()
1692 IfDesc = (USB_INTERFACE_DESCRIPTOR *) (ConfigDesc + 1); in XhcPeiSetConfigCmd()
1693 for (Index = 0; Index < ConfigDesc->NumInterfaces; Index++) { in XhcPeiSetConfigCmd()
1861 IN USB_CONFIG_DESCRIPTOR *ConfigDesc in XhcPeiSetConfigCmd64() argument
1890 ASSERT (ConfigDesc != NULL); in XhcPeiSetConfigCmd64()
1894 IfDesc = (USB_INTERFACE_DESCRIPTOR *) (ConfigDesc + 1); in XhcPeiSetConfigCmd64()
1895 for (Index = 0; Index < ConfigDesc->NumInterfaces; Index++) { in XhcPeiSetConfigCmd64()
DXhciSched.h919 IN USB_CONFIG_DESCRIPTOR *ConfigDesc
938 IN USB_CONFIG_DESCRIPTOR *ConfigDesc