Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
omap2430.h File Reference
#include <plat/usb.h>

Go to the source code of this file.

Macros

#define OTG_REVISION   0x400
 
#define OTG_SYSCONFIG   0x404
 
#define MIDLEMODE   12 /* bit position */
 
#define FORCESTDBY   (0 << MIDLEMODE)
 
#define NOSTDBY   (1 << MIDLEMODE)
 
#define SMARTSTDBY   (2 << MIDLEMODE)
 
#define SIDLEMODE   3 /* bit position */
 
#define FORCEIDLE   (0 << SIDLEMODE)
 
#define NOIDLE   (1 << SIDLEMODE)
 
#define SMARTIDLE   (2 << SIDLEMODE)
 
#define ENABLEWAKEUP   (1 << 2)
 
#define SOFTRST   (1 << 1)
 
#define AUTOIDLE   (1 << 0)
 
#define OTG_SYSSTATUS   0x408
 
#define RESETDONE   (1 << 0)
 
#define OTG_INTERFSEL   0x40c
 
#define EXTCP   (1 << 2)
 
#define PHYSEL   0 /* bit position */
 
#define UTMI_8BIT   (0 << PHYSEL)
 
#define ULPI_12PIN   (1 << PHYSEL)
 
#define ULPI_8PIN   (2 << PHYSEL)
 
#define OTG_SIMENABLE   0x410
 
#define TM1   (1 << 0)
 
#define OTG_FORCESTDBY   0x414
 
#define ENABLEFORCE   (1 << 0)
 
#define AVALID   BIT(0)
 
#define BVALID   BIT(1)
 
#define VBUSVALID   BIT(2)
 
#define SESSEND   BIT(3)
 
#define IDDIG   BIT(4)
 

Macro Definition Documentation

#define AUTOIDLE   (1 << 0)

Definition at line 34 of file omap2430.h.

#define AVALID   BIT(0)

Definition at line 56 of file omap2430.h.

#define BVALID   BIT(1)

Definition at line 57 of file omap2430.h.

#define ENABLEFORCE   (1 << 0)

Definition at line 50 of file omap2430.h.

#define ENABLEWAKEUP   (1 << 2)

Definition at line 32 of file omap2430.h.

#define EXTCP   (1 << 2)

Definition at line 40 of file omap2430.h.

#define FORCEIDLE   (0 << SIDLEMODE)

Definition at line 28 of file omap2430.h.

#define FORCESTDBY   (0 << MIDLEMODE)

Definition at line 23 of file omap2430.h.

#define IDDIG   BIT(4)

Definition at line 60 of file omap2430.h.

#define MIDLEMODE   12 /* bit position */

Definition at line 22 of file omap2430.h.

#define NOIDLE   (1 << SIDLEMODE)

Definition at line 29 of file omap2430.h.

#define NOSTDBY   (1 << MIDLEMODE)

Definition at line 24 of file omap2430.h.

#define OTG_FORCESTDBY   0x414

Definition at line 49 of file omap2430.h.

#define OTG_INTERFSEL   0x40c

Definition at line 39 of file omap2430.h.

#define OTG_REVISION   0x400

Definition at line 19 of file omap2430.h.

#define OTG_SIMENABLE   0x410

Definition at line 46 of file omap2430.h.

#define OTG_SYSCONFIG   0x404

Definition at line 21 of file omap2430.h.

#define OTG_SYSSTATUS   0x408

Definition at line 36 of file omap2430.h.

#define PHYSEL   0 /* bit position */

Definition at line 41 of file omap2430.h.

#define RESETDONE   (1 << 0)

Definition at line 37 of file omap2430.h.

#define SESSEND   BIT(3)

Definition at line 59 of file omap2430.h.

#define SIDLEMODE   3 /* bit position */

Definition at line 27 of file omap2430.h.

#define SMARTIDLE   (2 << SIDLEMODE)

Definition at line 30 of file omap2430.h.

#define SMARTSTDBY   (2 << MIDLEMODE)

Definition at line 25 of file omap2430.h.

#define SOFTRST   (1 << 1)

Definition at line 33 of file omap2430.h.

#define TM1   (1 << 0)

Definition at line 47 of file omap2430.h.

#define ULPI_12PIN   (1 << PHYSEL)

Definition at line 43 of file omap2430.h.

#define ULPI_8PIN   (2 << PHYSEL)

Definition at line 44 of file omap2430.h.

#define UTMI_8BIT   (0 << PHYSEL)

Definition at line 42 of file omap2430.h.

#define VBUSVALID   BIT(2)

Definition at line 58 of file omap2430.h.