Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ehci-imx35.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 MX35_OTG_SIC_SHIFT   29
 
#define MX35_OTG_SIC_MASK   (0x3 << MX35_OTG_SIC_SHIFT)
 
#define MX35_OTG_PM_BIT   (1 << 24)
 
#define MX35_OTG_PP_BIT   (1 << 11)
 
#define MX35_OTG_OCPOL_BIT   (1 << 3)
 
#define MX35_H1_SIC_SHIFT   21
 
#define MX35_H1_SIC_MASK   (0x3 << MX35_H1_SIC_SHIFT)
 
#define MX35_H1_PP_BIT   (1 << 18)
 
#define MX35_H1_PM_BIT   (1 << 16)
 
#define MX35_H1_IPPUE_UP_BIT   (1 << 7)
 
#define MX35_H1_IPPUE_DOWN_BIT   (1 << 6)
 
#define MX35_H1_TLL_BIT   (1 << 5)
 
#define MX35_H1_USBTE_BIT   (1 << 4)
 
#define MX35_H1_OCPOL_BIT   (1 << 2)
 

Functions

int mx35_initialize_usb_hw (int port, unsigned int flags)
 

Macro Definition Documentation

#define MX35_H1_IPPUE_DOWN_BIT   (1 << 6)

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

#define MX35_H1_IPPUE_UP_BIT   (1 << 7)

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

#define MX35_H1_OCPOL_BIT   (1 << 2)

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

#define MX35_H1_PM_BIT   (1 << 16)

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

#define MX35_H1_PP_BIT   (1 << 18)

Definition at line 32 of file ehci-imx35.c.

#define MX35_H1_SIC_MASK   (0x3 << MX35_H1_SIC_SHIFT)

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

#define MX35_H1_SIC_SHIFT   21

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

#define MX35_H1_TLL_BIT   (1 << 5)

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

#define MX35_H1_USBTE_BIT   (1 << 4)

Definition at line 37 of file ehci-imx35.c.

#define MX35_OTG_OCPOL_BIT   (1 << 3)

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

#define MX35_OTG_PM_BIT   (1 << 24)

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

#define MX35_OTG_PP_BIT   (1 << 11)

Definition at line 27 of file ehci-imx35.c.

#define MX35_OTG_SIC_MASK   (0x3 << MX35_OTG_SIC_SHIFT)

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

#define MX35_OTG_SIC_SHIFT   29

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

#define USBCTRL_OTGBASE_OFFSET   0x600

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

Function Documentation

int mx35_initialize_usb_hw ( int  port,
unsigned int  flags 
)

Definition at line 40 of file ehci-imx35.c.