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

Go to the source code of this file.

Data Structures

struct  usb_port_config
 
struct  usb2_eye_per_port
 

Macros

#define APOLLOLAKE_USB2_PORT_MAX   8
 
#define APOLLOLAKE_USB3_PORT_MAX   6
 
#define PORT_EN(pin)
 
#define PORT_DIS
 

Enumerations

enum  { OC0 = 0 , OC1 = 1 , OC_SKIP = 2 }
 

Macro Definition Documentation

◆ APOLLOLAKE_USB2_PORT_MAX

#define APOLLOLAKE_USB2_PORT_MAX   8

Definition at line 8 of file usb.h.

◆ APOLLOLAKE_USB3_PORT_MAX

#define APOLLOLAKE_USB3_PORT_MAX   6

Definition at line 9 of file usb.h.

◆ PORT_DIS

#define PORT_DIS
Value:
{ \
.enable = 0, \
.oc_pin = OC_SKIP, \
}
@ OC_SKIP
Definition: usb.h:48

Definition at line 39 of file usb.h.

◆ PORT_EN

#define PORT_EN (   pin)
Value:
{ \
.enable = 1, \
.oc_pin = (pin), \
}

Definition at line 34 of file usb.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OC0 
OC1 
OC_SKIP 

Definition at line 28 of file usb.h.