iPXE
dwusb.h File Reference

Synopsys DesignWare USB3 host controller driver. More...

#include <ipxe/xhci.h>

Go to the source code of this file.

Macros

#define DWUSB_GCTL   0xc110
 Global core control register.
#define DWUSB_GCTL_PRTDIR(x)
 Port direction.
#define DWUSB_GCTL_PRTDIR_HOST    DWUSB_GCTL_PRTDIR ( 1 )
 Operate as a host.
#define DWUSB_GCTL_PRTDIR_MASK    DWUSB_GCTL_PRTDIR ( 3 )
 Port direction mask.
#define DWUSB_GCTL_RESET   0x00000800
 Core soft reset.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

Synopsys DesignWare USB3 host controller driver.

Definition in file dwusb.h.

Macro Definition Documentation

◆ DWUSB_GCTL

#define DWUSB_GCTL   0xc110

Global core control register.

Definition at line 15 of file dwusb.h.

Referenced by dwusb_probe().

◆ DWUSB_GCTL_PRTDIR

#define DWUSB_GCTL_PRTDIR ( x)
Value:
( (x) << 12 )
static unsigned int x
Definition pixbuf.h:63

Port direction.

Definition at line 16 of file dwusb.h.

◆ DWUSB_GCTL_PRTDIR_HOST

#define DWUSB_GCTL_PRTDIR_HOST    DWUSB_GCTL_PRTDIR ( 1 )

Operate as a host.

Definition at line 17 of file dwusb.h.

17#define DWUSB_GCTL_PRTDIR_HOST \
18 DWUSB_GCTL_PRTDIR ( 1 ) /**< Operate as a host */

Referenced by dwusb_probe().

◆ DWUSB_GCTL_PRTDIR_MASK

#define DWUSB_GCTL_PRTDIR_MASK    DWUSB_GCTL_PRTDIR ( 3 )

Port direction mask.

Definition at line 19 of file dwusb.h.

19#define DWUSB_GCTL_PRTDIR_MASK \
20 DWUSB_GCTL_PRTDIR ( 3 ) /**< Port direction mask */

Referenced by dwusb_probe().

◆ DWUSB_GCTL_RESET

#define DWUSB_GCTL_RESET   0x00000800

Core soft reset.

Definition at line 21 of file dwusb.h.

Referenced by dwusb_probe().

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )