coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
usb.h File Reference
#include <soc/usb_common.h>
Include dependency graph for usb.h:

Go to the source code of this file.

Data Structures

struct  ssusb_sif_port
 

Macros

#define TX_IMP_MASK   0x1F
 
#define TX_IMP_SHIFT   0
 
#define RX_IMP_MASK   0x3E0
 
#define RX_IMP_SHIFT   5
 
#define INTR_CAL_MASK   0xFC00
 
#define INTR_CAL_SHIFT   10
 
#define USB_PHY_SETTING_REG   0x11C10184
 
#define USB_PORT_NUMBER   1
 

Functions

 check_member (ssusb_sif_port, u3phyd, 0x600)
 
 check_member (ssusb_sif_port, u3phya, 0x800)
 
 check_member (ssusb_sif_port, u3phya_da, 0x900)
 
 check_member (ssusb_sif_port, reserved2, 0xa00)
 

Macro Definition Documentation

◆ INTR_CAL_MASK

#define INTR_CAL_MASK   0xFC00

Definition at line 33 of file usb.h.

◆ INTR_CAL_SHIFT

#define INTR_CAL_SHIFT   10

Definition at line 34 of file usb.h.

◆ RX_IMP_MASK

#define RX_IMP_MASK   0x3E0

Definition at line 31 of file usb.h.

◆ RX_IMP_SHIFT

#define RX_IMP_SHIFT   5

Definition at line 32 of file usb.h.

◆ TX_IMP_MASK

#define TX_IMP_MASK   0x1F

Definition at line 29 of file usb.h.

◆ TX_IMP_SHIFT

#define TX_IMP_SHIFT   0

Definition at line 30 of file usb.h.

◆ USB_PHY_SETTING_REG

#define USB_PHY_SETTING_REG   0x11C10184

Definition at line 36 of file usb.h.

◆ USB_PORT_NUMBER

#define USB_PORT_NUMBER   1

Definition at line 37 of file usb.h.

Function Documentation

◆ check_member() [1/4]

check_member ( ssusb_sif_port  ,
reserved2  ,
0xa00   
)

◆ check_member() [2/4]

check_member ( ssusb_sif_port  ,
u3phya  ,
0x800   
)

◆ check_member() [3/4]

check_member ( ssusb_sif_port  ,
u3phya_da  ,
0x900   
)

◆ check_member() [4/4]

check_member ( ssusb_sif_port  ,
u3phyd  ,
0x600   
)