Searched refs:UsbDevContext (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/XhciDxe/
H A DXhciSched.c221 EPRing = (TRANSFER_RING *)(UINTN) Xhc->UsbDevContext[SlotId].EndpointTransferRing[Dci-1];
1449 if (Xhc->UsbDevContext[Index + 1].Enabled &&
1450 (Xhc->UsbDevContext[Index + 1].SlotId != 0) &&
1451 (Xhc->UsbDevContext[Index + 1].BusDevAddr == BusDevAddr)) {
1460 return Xhc->UsbDevContext[Index + 1].SlotId;
1482 if (Xhc->UsbDevContext[Index + 1].Enabled &&
1483 (Xhc->UsbDevContext[Index + 1].SlotId != 0) &&
1484 (Xhc->UsbDevContext[Index + 1].RouteString.Dword == RouteString.Dword)) {
1493 return Xhc->UsbDevContext[Index + 1].SlotId;
1754 ZeroMem (&Xhc->UsbDevContext[SlotI
[all...]
H A DXhci.c816 // Reset the BusDevAddr field of all disabled entries in UsbDevContext array firstly.
820 if (!Xhc->UsbDevContext[Index + 1].Enabled &&
821 (Xhc->UsbDevContext[Index + 1].SlotId == 0) &&
822 (Xhc->UsbDevContext[Index + 1].BusDevAddr == (UINT8)Request->Value)) {
823 Xhc->UsbDevContext[Index + 1].BusDevAddr = 0;
832 Xhc->UsbDevContext[SlotId].BusDevAddr = (UINT8)Request->Value;
913 CopyMem (&Xhc->UsbDevContext[SlotId].DevDesc, Data, *DataLength);
914 if (Xhc->UsbDevContext[SlotId].DevDesc.BcdUSB == 0x0300) {
918 MaxPacket0 = 1 << Xhc->UsbDevContext[SlotId].DevDesc.MaxPacketSize0;
920 MaxPacket0 = Xhc->UsbDevContext[SlotI
[all...]
H A DXhci.h141 // Whether this entry in UsbDevContext array is used or not.
243 USB_DEV_CONTEXT UsbDevContext[256]; member in struct:_USB_XHCI_INSTANCE

Completed in 38 milliseconds