iPXE
Macros | Functions
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. More...
 
#define DWUSB_GCTL_PRTDIR(x)   ( (x) << 12 )
 Port direction. More...
 
#define DWUSB_GCTL_PRTDIR_HOST   DWUSB_GCTL_PRTDIR ( 1 )
 Operate as a host. More...
 
#define DWUSB_GCTL_PRTDIR_MASK   DWUSB_GCTL_PRTDIR ( 3 )
 Port direction mask. More...
 
#define DWUSB_GCTL_RESET   0x00000800
 Core soft reset. More...
 

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.

◆ DWUSB_GCTL_PRTDIR

#define DWUSB_GCTL_PRTDIR (   x)    ( (x) << 12 )

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.

◆ DWUSB_GCTL_PRTDIR_MASK

#define DWUSB_GCTL_PRTDIR_MASK   DWUSB_GCTL_PRTDIR ( 3 )

Port direction mask.

Definition at line 19 of file dwusb.h.

◆ DWUSB_GCTL_RESET

#define DWUSB_GCTL_RESET   0x00000800

Core soft reset.

Definition at line 21 of file dwusb.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )