TianoCore EDK2 master
Loading...
Searching...
No Matches
XhcPeim.c File Reference
#include "XhcPeim.h"

Go to the source code of this file.

Functions

UINT32 XhcPeiReadOpReg (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset)
 
VOID XhcPeiWriteOpReg (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Data)
 
VOID XhcPeiSetOpRegBit (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Bit)
 
VOID XhcPeiClearOpRegBit (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Bit)
 
EFI_STATUS XhcPeiWaitOpRegBit (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Bit, IN BOOLEAN WaitToSet, IN UINT32 Timeout)
 
UINT32 XhcPeiReadCapRegister (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset)
 
VOID XhcPeiWriteDoorBellReg (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Data)
 
UINT32 XhcPeiReadRuntimeReg (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset)
 
VOID XhcPeiWriteRuntimeReg (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Data)
 
VOID XhcPeiSetRuntimeRegBit (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Bit)
 
VOID XhcPeiClearRuntimeRegBit (IN PEI_XHC_DEV *Xhc, IN UINT32 Offset, IN UINT32 Bit)
 
BOOLEAN XhcPeiIsHalt (IN PEI_XHC_DEV *Xhc)
 
BOOLEAN XhcPeiIsSysError (IN PEI_XHC_DEV *Xhc)
 
EFI_STATUS XhcPeiResetHC (IN PEI_XHC_DEV *Xhc, IN UINT32 Timeout)
 
EFI_STATUS XhcPeiHaltHC (IN PEI_XHC_DEV *Xhc, IN UINT32 Timeout)
 
EFI_STATUS XhcPeiRunHC (IN PEI_XHC_DEV *Xhc, IN UINT32 Timeout)
 
EFI_STATUS EFIAPI XhcPeiControlTransfer (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB2_HOST_CONTROLLER_PPI *This, IN UINT8 DeviceAddress, IN UINT8 DeviceSpeed, IN UINTN MaximumPacketLength, IN EFI_USB_DEVICE_REQUEST *Request, IN EFI_USB_DATA_DIRECTION TransferDirection, IN OUT VOID *Data, IN OUT UINTN *DataLength, IN UINTN TimeOut, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, OUT UINT32 *TransferResult)
 
EFI_STATUS EFIAPI XhcPeiBulkTransfer (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB2_HOST_CONTROLLER_PPI *This, IN UINT8 DeviceAddress, IN UINT8 EndPointAddress, IN UINT8 DeviceSpeed, IN UINTN MaximumPacketLength, IN OUT VOID *Data[EFI_USB_MAX_BULK_BUFFER_NUM], IN OUT UINTN *DataLength, IN OUT UINT8 *DataToggle, IN UINTN TimeOut, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Translator, OUT UINT32 *TransferResult)
 
EFI_STATUS EFIAPI XhcPeiGetRootHubPortNumber (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB2_HOST_CONTROLLER_PPI *This, OUT UINT8 *PortNumber)
 
EFI_STATUS EFIAPI XhcPeiClearRootHubPortFeature (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB2_HOST_CONTROLLER_PPI *This, IN UINT8 PortNumber, IN EFI_USB_PORT_FEATURE PortFeature)
 
EFI_STATUS EFIAPI XhcPeiSetRootHubPortFeature (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB2_HOST_CONTROLLER_PPI *This, IN UINT8 PortNumber, IN EFI_USB_PORT_FEATURE PortFeature)
 
EFI_STATUS EFIAPI XhcPeiGetRootHubPortStatus (IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB2_HOST_CONTROLLER_PPI *This, IN UINT8 PortNumber, OUT EFI_USB_PORT_STATUS *PortStatus)
 
EFI_STATUS EFIAPI XhcEndOfPei (IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, IN VOID *Ppi)
 
EFI_STATUS EFIAPI XhcPeimEntry (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
 

Variables

USB_PORT_STATE_MAP mUsbPortStateMap []
 
USB_PORT_STATE_MAP mUsbPortChangeMap []
 
USB_CLEAR_PORT_MAP mUsbClearPortChangeMap []
 
USB_PORT_STATE_MAP mUsbHubPortStateMap []
 
USB_PORT_STATE_MAP mUsbHubPortChangeMap []
 
USB_CLEAR_PORT_MAP mUsbHubClearPortChangeMap []
 

Detailed Description

PEIM to produce gPeiUsb2HostControllerPpiGuid based on gPeiUsbControllerPpiGuid which is used to enable recovery function from USB Drivers.

Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file XhcPeim.c.

Function Documentation

◆ XhcEndOfPei()

EFI_STATUS EFIAPI XhcEndOfPei ( IN EFI_PEI_SERVICES **  PeiServices,
IN EFI_PEI_NOTIFY_DESCRIPTOR NotifyDescriptor,
IN VOID *  Ppi 
)

One notified function to stop the Host Controller at the end of PEI

Parameters
[in]PeiServicesPointer to PEI Services Table.
[in]NotifyDescriptorPointer to the descriptor for the Notification event that caused this function to execute.
[in]PpiPointer to the PPI data associated with this function.
Return values
EFI_SUCCESSThe function completes successfully
others

Definition at line 1414 of file XhcPeim.c.

◆ XhcPeiBulkTransfer()

EFI_STATUS EFIAPI XhcPeiBulkTransfer ( IN EFI_PEI_SERVICES **  PeiServices,
IN PEI_USB2_HOST_CONTROLLER_PPI This,
IN UINT8  DeviceAddress,
IN UINT8  EndPointAddress,
IN UINT8  DeviceSpeed,
IN UINTN  MaximumPacketLength,
IN OUT VOID *  Data[EFI_USB_MAX_BULK_BUFFER_NUM],
IN OUT UINTN DataLength,
IN OUT UINT8 *  DataToggle,
IN UINTN  TimeOut,
IN EFI_USB2_HC_TRANSACTION_TRANSLATOR Translator,
OUT UINT32 *  TransferResult 
)

Submits bulk transfer to a bulk endpoint of a USB device.

Parameters
PeiServicesThe pointer of EFI_PEI_SERVICES.
ThisThe pointer of PEI_USB2_HOST_CONTROLLER_PPI.
DeviceAddressTarget device address.
EndPointAddressEndpoint number and its direction in bit 7.
DeviceSpeedDevice speed, Low speed device doesn't support bulk transfer.
MaximumPacketLengthMaximum packet size the endpoint is capable of sending or receiving.
DataArray of pointers to the buffers of data to transmit from or receive into.
DataLengthThe lenght of the data buffer.
DataToggleOn input, the initial data toggle for the transfer; On output, it is updated to to next data toggle to use of the subsequent bulk transfer.
TimeOutIndicates the maximum time, in millisecond, which the transfer is allowed to complete. If Timeout is 0, then the caller must wait for the function to be completed until EFI_SUCCESS or EFI_DEVICE_ERROR is returned.
TranslatorA pointr to the transaction translator data.
TransferResultA pointer to the detailed result information of the bulk transfer.
Return values
EFI_SUCCESSThe transfer was completed successfully.
EFI_OUT_OF_RESOURCESThe transfer failed due to lack of resource.
EFI_INVALID_PARAMETERParameters are invalid.
EFI_TIMEOUTThe transfer failed due to timeout.
EFI_DEVICE_ERRORThe transfer failed due to host controller error.

Definition at line 884 of file XhcPeim.c.

◆ XhcPeiClearOpRegBit()

VOID XhcPeiClearOpRegBit ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Bit 
)

Clear one bit of the operational register while keeping other bits.

Parameters
XhcThe XHCI device.
OffsetThe offset of the operational register.
BitThe bit mask of the register to clear.

Definition at line 136 of file XhcPeim.c.

◆ XhcPeiClearRootHubPortFeature()

EFI_STATUS EFIAPI XhcPeiClearRootHubPortFeature ( IN EFI_PEI_SERVICES **  PeiServices,
IN PEI_USB2_HOST_CONTROLLER_PPI This,
IN UINT8  PortNumber,
IN EFI_USB_PORT_FEATURE  PortFeature 
)

Clears a feature for the specified root hub port.

Parameters
PeiServicesThe pointer of EFI_PEI_SERVICES.
ThisThe pointer of PEI_USB2_HOST_CONTROLLER_PPI.
PortNumberSpecifies the root hub port whose feature is requested to be cleared.
PortFeatureIndicates the feature selector associated with the feature clear request.
Return values
EFI_SUCCESSThe feature specified by PortFeature was cleared for the USB root hub port specified by PortNumber.
EFI_INVALID_PARAMETERPortNumber is invalid or PortFeature is invalid.

Definition at line 1055 of file XhcPeim.c.

◆ XhcPeiClearRuntimeRegBit()

VOID XhcPeiClearRuntimeRegBit ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Bit 
)

Clear one bit of the runtime register while keeping other bits.

Parameters
XhcThe XHCI device.
OffsetThe offset of the runtime register.
BitThe bit mask of the register to set.

Definition at line 302 of file XhcPeim.c.

◆ XhcPeiControlTransfer()

EFI_STATUS EFIAPI XhcPeiControlTransfer ( IN EFI_PEI_SERVICES **  PeiServices,
IN PEI_USB2_HOST_CONTROLLER_PPI This,
IN UINT8  DeviceAddress,
IN UINT8  DeviceSpeed,
IN UINTN  MaximumPacketLength,
IN EFI_USB_DEVICE_REQUEST Request,
IN EFI_USB_DATA_DIRECTION  TransferDirection,
IN OUT VOID *  Data,
IN OUT UINTN DataLength,
IN UINTN  TimeOut,
IN EFI_USB2_HC_TRANSACTION_TRANSLATOR Translator,
OUT UINT32 *  TransferResult 
)

Submits control transfer to a target USB device.

Parameters
PeiServicesThe pointer of EFI_PEI_SERVICES.
ThisThe pointer of PEI_USB2_HOST_CONTROLLER_PPI.
DeviceAddressThe target device address.
DeviceSpeedTarget device speed.
MaximumPacketLengthMaximum packet size the default control transfer endpoint is capable of sending or receiving.
RequestUSB device request to send.
TransferDirectionSpecifies the data direction for the data stage.
DataData buffer to be transmitted or received from USB device.
DataLengthThe size (in bytes) of the data buffer.
TimeOutIndicates the maximum timeout, in millisecond. If Timeout is 0, then the caller must wait for the function to be completed until EFI_SUCCESS or EFI_DEVICE_ERROR is returned.
TranslatorTransaction translator to be used by this device.
TransferResultReturn the result of this control transfer.
Return values
EFI_SUCCESSTransfer was completed successfully.
EFI_OUT_OF_RESOURCESThe transfer failed due to lack of resources.
EFI_INVALID_PARAMETERSome parameters are invalid.
EFI_TIMEOUTTransfer failed due to timeout.
EFI_DEVICE_ERRORTransfer failed due to host controller or device error.

Definition at line 467 of file XhcPeim.c.

◆ XhcPeiGetRootHubPortNumber()

EFI_STATUS EFIAPI XhcPeiGetRootHubPortNumber ( IN EFI_PEI_SERVICES **  PeiServices,
IN PEI_USB2_HOST_CONTROLLER_PPI This,
OUT UINT8 *  PortNumber 
)

Retrieves the number of root hub ports.

Parameters
[in]PeiServicesThe pointer to the PEI Services Table.
[in]ThisThe pointer to this instance of the PEI_USB2_HOST_CONTROLLER_PPI.
[out]PortNumberThe pointer to the number of the root hub ports.
Return values
EFI_SUCCESSThe port number was retrieved successfully.
EFI_INVALID_PARAMETERPortNumber is NULL.

Definition at line 1019 of file XhcPeim.c.

◆ XhcPeiGetRootHubPortStatus()

EFI_STATUS EFIAPI XhcPeiGetRootHubPortStatus ( IN EFI_PEI_SERVICES **  PeiServices,
IN PEI_USB2_HOST_CONTROLLER_PPI This,
IN UINT8  PortNumber,
OUT EFI_USB_PORT_STATUS PortStatus 
)

Retrieves the current status of a USB root hub port.

Parameters
PeiServicesThe pointer of EFI_PEI_SERVICES.
ThisThe pointer of PEI_USB2_HOST_CONTROLLER_PPI.
PortNumberThe root hub port to retrieve the state from.
PortStatusVariable to receive the port state.
Return values
EFI_SUCCESSThe status of the USB root hub port specified. by PortNumber was returned in PortStatus.
EFI_INVALID_PARAMETERPortNumber is invalid.

Definition at line 1300 of file XhcPeim.c.

◆ XhcPeiHaltHC()

EFI_STATUS XhcPeiHaltHC ( IN PEI_XHC_DEV Xhc,
IN UINT32  Timeout 
)

Halt the host controller.

Parameters
XhcThe XHCI device.
TimeoutTime to wait before abort.
Return values
EFI_TIMEOUTFailed to halt the controller before Timeout.
EFI_SUCCESSThe XHCI is halt.

Definition at line 402 of file XhcPeim.c.

◆ XhcPeiIsHalt()

BOOLEAN XhcPeiIsHalt ( IN PEI_XHC_DEV Xhc)

Check whether Xhc is halted.

Parameters
XhcThe XHCI device.
Return values
TRUEThe controller is halted.
FALSEThe controller isn't halted.

Definition at line 325 of file XhcPeim.c.

◆ XhcPeiIsSysError()

BOOLEAN XhcPeiIsSysError ( IN PEI_XHC_DEV Xhc)

Check whether system error occurred.

Parameters
XhcThe XHCI device.
Return values
TRUESystem error happened.
FALSENo system error.

Definition at line 342 of file XhcPeim.c.

◆ XhcPeimEntry()

EFI_STATUS EFIAPI XhcPeimEntry ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)
Parameters
FileHandleHandle of the file being invoked.
PeiServicesDescribes the list of possible PEI Services.
Return values
EFI_SUCCESSPPI successfully installed.

Definition at line 1440 of file XhcPeim.c.

◆ XhcPeiReadCapRegister()

UINT32 XhcPeiReadCapRegister ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset 
)

Read XHCI capability register.

Parameters
XhcThe XHCI device.
OffsetCapability register address.
Return values
theregister content read.

Definition at line 195 of file XhcPeim.c.

◆ XhcPeiReadOpReg()

UINT32 XhcPeiReadOpReg ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset 
)

Read XHCI Operation register.

Parameters
XhcThe XHCI device.
OffsetThe operation register offset.
Return values
theregister content read.

Definition at line 72 of file XhcPeim.c.

◆ XhcPeiReadRuntimeReg()

UINT32 XhcPeiReadRuntimeReg ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset 
)

Read XHCI runtime register.

Parameters
XhcThe XHCI device.
OffsetThe offset of the runtime register.
Returns
The register content read

Definition at line 237 of file XhcPeim.c.

◆ XhcPeiResetHC()

EFI_STATUS XhcPeiResetHC ( IN PEI_XHC_DEV Xhc,
IN UINT32  Timeout 
)

Reset the host controller.

Parameters
XhcThe XHCI device.
TimeoutTime to wait before abort (in millisecond, ms).
Return values
EFI_TIMEOUTThe transfer failed due to time out.
OthersFailed to reset the host.

Definition at line 360 of file XhcPeim.c.

◆ XhcPeiRunHC()

EFI_STATUS XhcPeiRunHC ( IN PEI_XHC_DEV Xhc,
IN UINT32  Timeout 
)

Set the XHCI to run.

Parameters
XhcThe XHCI device.
TimeoutTime to wait before abort.
Return values
EFI_SUCCESSThe XHCI is running.
OthersFailed to set the XHCI to run.

Definition at line 426 of file XhcPeim.c.

◆ XhcPeiSetOpRegBit()

VOID XhcPeiSetOpRegBit ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Bit 
)

Set one bit of the operational register while keeping other bits.

Parameters
XhcThe XHCI device.
OffsetThe offset of the operational register.
BitThe bit mask of the register to set.

Definition at line 114 of file XhcPeim.c.

◆ XhcPeiSetRootHubPortFeature()

EFI_STATUS EFIAPI XhcPeiSetRootHubPortFeature ( IN EFI_PEI_SERVICES **  PeiServices,
IN PEI_USB2_HOST_CONTROLLER_PPI This,
IN UINT8  PortNumber,
IN EFI_USB_PORT_FEATURE  PortFeature 
)

Sets a feature for the specified root hub port.

Parameters
PeiServicesThe pointer of EFI_PEI_SERVICES
ThisThe pointer of PEI_USB2_HOST_CONTROLLER_PPI
PortNumberRoot hub port to set.
PortFeatureFeature to set.
Return values
EFI_SUCCESSThe feature specified by PortFeature was set.
EFI_INVALID_PARAMETERPortNumber is invalid or PortFeature is invalid.
EFI_TIMEOUTThe time out occurred.

Definition at line 1191 of file XhcPeim.c.

◆ XhcPeiSetRuntimeRegBit()

VOID XhcPeiSetRuntimeRegBit ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Bit 
)

Set one bit of the runtime register while keeping other bits.

Parameters
XhcThe XHCI device.
OffsetThe offset of the runtime register.
BitThe bit mask of the register to set.

Definition at line 280 of file XhcPeim.c.

◆ XhcPeiWaitOpRegBit()

EFI_STATUS XhcPeiWaitOpRegBit ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Bit,
IN BOOLEAN  WaitToSet,
IN UINT32  Timeout 
)

Wait the operation register's bit as specified by Bit to become set (or clear).

Parameters
XhcThe XHCI device.
OffsetThe offset of the operational register.
BitThe bit mask of the register to wait for.
WaitToSetWait the bit to set or clear.
TimeoutThe time to wait before abort (in millisecond, ms).
Return values
EFI_SUCCESSThe bit successfully changed by host controller.
EFI_TIMEOUTThe time out occurred.

Definition at line 164 of file XhcPeim.c.

◆ XhcPeiWriteDoorBellReg()

VOID XhcPeiWriteDoorBellReg ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Data 
)

Write the data to the XHCI door bell register.

Parameters
XhcThe XHCI device.
OffsetThe offset of the door bell register.
DataThe data to write.

Definition at line 216 of file XhcPeim.c.

◆ XhcPeiWriteOpReg()

VOID XhcPeiWriteOpReg ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Data 
)

Write the data to the XHCI operation register.

Parameters
XhcThe XHCI device.
OffsetThe operation register offset.
DataThe data to write.

Definition at line 94 of file XhcPeim.c.

◆ XhcPeiWriteRuntimeReg()

VOID XhcPeiWriteRuntimeReg ( IN PEI_XHC_DEV Xhc,
IN UINT32  Offset,
IN UINT32  Data 
)

Write the data to the XHCI runtime register.

Parameters
XhcThe XHCI device.
OffsetThe offset of the runtime register.
DataThe data to write.

Definition at line 260 of file XhcPeim.c.

Variable Documentation

◆ mUsbClearPortChangeMap

USB_CLEAR_PORT_MAP mUsbClearPortChangeMap[]
Initial value:
= {
{ XHC_PORTSC_CSC, EfiUsbPortConnectChange },
{ XHC_PORTSC_PEC, EfiUsbPortEnableChange },
{ XHC_PORTSC_OCC, EfiUsbPortOverCurrentChange },
{ XHC_PORTSC_PRC, EfiUsbPortResetChange }
}

Definition at line 32 of file XhcPeim.c.

◆ mUsbHubClearPortChangeMap

USB_CLEAR_PORT_MAP mUsbHubClearPortChangeMap[]
Initial value:
= {
{ XHC_HUB_PORTSC_CSC, EfiUsbPortConnectChange },
{ XHC_HUB_PORTSC_PEC, EfiUsbPortEnableChange },
{ XHC_HUB_PORTSC_OCC, EfiUsbPortOverCurrentChange },
{ XHC_HUB_PORTSC_PRC, EfiUsbPortResetChange },
{ XHC_HUB_PORTSC_BHRC, Usb3PortBHPortResetChange }
}

Definition at line 54 of file XhcPeim.c.

◆ mUsbHubPortChangeMap

USB_PORT_STATE_MAP mUsbHubPortChangeMap[]
Initial value:
= {
{ XHC_HUB_PORTSC_CSC, USB_PORT_STAT_C_CONNECTION },
{ XHC_HUB_PORTSC_PEC, USB_PORT_STAT_C_ENABLE },
{ XHC_HUB_PORTSC_OCC, USB_PORT_STAT_C_OVERCURRENT },
{ XHC_HUB_PORTSC_PRC, USB_PORT_STAT_C_RESET }
}
#define USB_PORT_STAT_C_CONNECTION

Definition at line 47 of file XhcPeim.c.

◆ mUsbHubPortStateMap

USB_PORT_STATE_MAP mUsbHubPortStateMap[]
Initial value:
= {
{ XHC_HUB_PORTSC_CCS, USB_PORT_STAT_CONNECTION },
{ XHC_HUB_PORTSC_PED, USB_PORT_STAT_ENABLE },
{ XHC_HUB_PORTSC_OCA, USB_PORT_STAT_OVERCURRENT },
{ XHC_HUB_PORTSC_PP, USB_PORT_STAT_POWER },
{ XHC_HUB_PORTSC_RESET, USB_PORT_STAT_RESET }
}
#define USB_PORT_STAT_CONNECTION

Definition at line 39 of file XhcPeim.c.

◆ mUsbPortChangeMap

USB_PORT_STATE_MAP mUsbPortChangeMap[]
Initial value:
= {
{ XHC_PORTSC_CSC, USB_PORT_STAT_C_CONNECTION },
{ XHC_PORTSC_PEC, USB_PORT_STAT_C_ENABLE },
{ XHC_PORTSC_OCC, USB_PORT_STAT_C_OVERCURRENT },
{ XHC_PORTSC_PRC, USB_PORT_STAT_C_RESET }
}

Definition at line 25 of file XhcPeim.c.

◆ mUsbPortStateMap

USB_PORT_STATE_MAP mUsbPortStateMap[]
Initial value:
= {
{ XHC_PORTSC_CCS, USB_PORT_STAT_CONNECTION },
{ XHC_PORTSC_PED, USB_PORT_STAT_ENABLE },
{ XHC_PORTSC_OCA, USB_PORT_STAT_OVERCURRENT },
{ XHC_PORTSC_PP, USB_PORT_STAT_POWER },
{ XHC_PORTSC_RESET, USB_PORT_STAT_RESET }
}

Definition at line 17 of file XhcPeim.c.