Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ehci-imx27.c File Reference
#include <linux/platform_device.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <linux/platform_data/usb-ehci-mxc.h>

Go to the source code of this file.

Macros

#define USBCTRL_OTGBASE_OFFSET   0x600
 
#define MX27_OTG_SIC_SHIFT   29
 
#define MX27_OTG_SIC_MASK   (0x3 << MX27_OTG_SIC_SHIFT)
 
#define MX27_OTG_PM_BIT   (1 << 24)
 
#define MX27_H2_SIC_SHIFT   21
 
#define MX27_H2_SIC_MASK   (0x3 << MX27_H2_SIC_SHIFT)
 
#define MX27_H2_PM_BIT   (1 << 16)
 
#define MX27_H2_DT_BIT   (1 << 5)
 
#define MX27_H1_SIC_SHIFT   13
 
#define MX27_H1_SIC_MASK   (0x3 << MX27_H1_SIC_SHIFT)
 
#define MX27_H1_PM_BIT   (1 << 8)
 
#define MX27_H1_DT_BIT   (1 << 4)
 

Functions

int mx27_initialize_usb_hw (int port, unsigned int flags)
 

Macro Definition Documentation

#define MX27_H1_DT_BIT   (1 << 4)

Definition at line 36 of file ehci-imx27.c.

#define MX27_H1_PM_BIT   (1 << 8)

Definition at line 35 of file ehci-imx27.c.

#define MX27_H1_SIC_MASK   (0x3 << MX27_H1_SIC_SHIFT)

Definition at line 34 of file ehci-imx27.c.

#define MX27_H1_SIC_SHIFT   13

Definition at line 33 of file ehci-imx27.c.

#define MX27_H2_DT_BIT   (1 << 5)

Definition at line 31 of file ehci-imx27.c.

#define MX27_H2_PM_BIT   (1 << 16)

Definition at line 30 of file ehci-imx27.c.

#define MX27_H2_SIC_MASK   (0x3 << MX27_H2_SIC_SHIFT)

Definition at line 29 of file ehci-imx27.c.

#define MX27_H2_SIC_SHIFT   21

Definition at line 28 of file ehci-imx27.c.

#define MX27_OTG_PM_BIT   (1 << 24)

Definition at line 26 of file ehci-imx27.c.

#define MX27_OTG_SIC_MASK   (0x3 << MX27_OTG_SIC_SHIFT)

Definition at line 25 of file ehci-imx27.c.

#define MX27_OTG_SIC_SHIFT   29

Definition at line 24 of file ehci-imx27.c.

#define USBCTRL_OTGBASE_OFFSET   0x600

Definition at line 22 of file ehci-imx27.c.

Function Documentation

int mx27_initialize_usb_hw ( int  port,
unsigned int  flags 
)

Definition at line 38 of file ehci-imx27.c.