TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | HCSPARAMS1 |
union | XHC_HCSPARAMS1 |
struct | HCSPARAMS2 |
union | XHC_HCSPARAMS2 |
struct | HCCPARAMS |
union | XHC_HCCPARAMS |
struct | USB_CLASSC |
struct | EFI_USB_HUB_DESCRIPTOR |
struct | USB_PORT_STATE_MAP |
struct | USB_CLEAR_PORT_MAP |
Enumerations | |
enum | XHC_PORT_FEATURE { Usb3PortBHPortReset = 28 , Usb3PortBHPortResetChange = 29 , Usb3PortBHPortReset = 28 , Usb3PortBHPortResetChange = 29 } |
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) |
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) |
Private Header file for Usb Host Controller PEIM
Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file XhciReg.h.
VOID XhcPeiClearOpRegBit | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset, | ||
IN UINT32 | Bit | ||
) |
VOID XhcPeiClearRuntimeRegBit | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset, | ||
IN UINT32 | Bit | ||
) |
EFI_STATUS XhcPeiHaltHC | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Timeout | ||
) |
BOOLEAN XhcPeiIsHalt | ( | IN PEI_XHC_DEV * | Xhc | ) |
BOOLEAN XhcPeiIsSysError | ( | IN PEI_XHC_DEV * | Xhc | ) |
UINT32 XhcPeiReadOpReg | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset | ||
) |
UINT32 XhcPeiReadRuntimeReg | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset | ||
) |
EFI_STATUS XhcPeiResetHC | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Timeout | ||
) |
EFI_STATUS XhcPeiRunHC | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Timeout | ||
) |
VOID XhcPeiSetOpRegBit | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset, | ||
IN UINT32 | Bit | ||
) |
VOID XhcPeiSetRuntimeRegBit | ( | 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 | ||
) |
Wait the operation register's bit as specified by Bit to be set (or clear).
Xhc | The XHCI device. |
Offset | The offset of the operational register. |
Bit | The bit of the register to wait for. |
WaitToSet | Wait the bit to set or clear. |
Timeout | The time to wait before abort (in millisecond, ms). |
EFI_SUCCESS | The bit successfully changed by host controller. |
EFI_TIMEOUT | The time out occurred. |
Wait the operation register's bit as specified by Bit to become set (or clear).
Xhc | The XHCI device. |
Offset | The offset of the operational register. |
Bit | The bit mask of the register to wait for. |
WaitToSet | Wait the bit to set or clear. |
Timeout | The time to wait before abort (in millisecond, ms). |
EFI_SUCCESS | The bit successfully changed by host controller. |
EFI_TIMEOUT | The time out occurred. |
VOID XhcPeiWriteDoorBellReg | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset, | ||
IN UINT32 | Data | ||
) |
VOID XhcPeiWriteOpReg | ( | IN PEI_XHC_DEV * | Xhc, |
IN UINT32 | Offset, | ||
IN UINT32 | Data | ||
) |