Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs-usb-phy.h File Reference

Go to the source code of this file.

Macros

#define EXYNOS4_HSOTG_PHYREG(x)   ((x) + S3C_VA_USB_HSPHY)
 
#define EXYNOS4_PHYPWR   EXYNOS4_HSOTG_PHYREG(0x00)
 
#define PHY1_HSIC_NORMAL_MASK   (0xf << 9)
 
#define PHY1_HSIC1_SLEEP   (1 << 12)
 
#define PHY1_HSIC1_FORCE_SUSPEND   (1 << 11)
 
#define PHY1_HSIC0_SLEEP   (1 << 10)
 
#define PHY1_HSIC0_FORCE_SUSPEND   (1 << 9)
 
#define PHY1_STD_NORMAL_MASK   (0x7 << 6)
 
#define PHY1_STD_SLEEP   (1 << 8)
 
#define PHY1_STD_ANALOG_POWERDOWN   (1 << 7)
 
#define PHY1_STD_FORCE_SUSPEND   (1 << 6)
 
#define PHY0_NORMAL_MASK   (0x39 << 0)
 
#define PHY0_SLEEP   (1 << 5)
 
#define PHY0_OTG_DISABLE   (1 << 4)
 
#define PHY0_ANALOG_POWERDOWN   (1 << 3)
 
#define PHY0_FORCE_SUSPEND   (1 << 0)
 
#define EXYNOS4_PHYCLK   EXYNOS4_HSOTG_PHYREG(0x04)
 
#define PHY1_COMMON_ON_N   (1 << 7)
 
#define PHY0_COMMON_ON_N   (1 << 4)
 
#define PHY0_ID_PULLUP   (1 << 2)
 
#define EXYNOS4_CLKSEL_SHIFT   (0)
 
#define EXYNOS4210_CLKSEL_MASK   (0x3 << 0)
 
#define EXYNOS4210_CLKSEL_48M   (0x0 << 0)
 
#define EXYNOS4210_CLKSEL_12M   (0x2 << 0)
 
#define EXYNOS4210_CLKSEL_24M   (0x3 << 0)
 
#define EXYNOS4X12_CLKSEL_MASK   (0x7 << 0)
 
#define EXYNOS4X12_CLKSEL_9600K   (0x0 << 0)
 
#define EXYNOS4X12_CLKSEL_10M   (0x1 << 0)
 
#define EXYNOS4X12_CLKSEL_12M   (0x2 << 0)
 
#define EXYNOS4X12_CLKSEL_19200K   (0x3 << 0)
 
#define EXYNOS4X12_CLKSEL_20M   (0x4 << 0)
 
#define EXYNOS4X12_CLKSEL_24M   (0x5 << 0)
 
#define EXYNOS4_RSTCON   EXYNOS4_HSOTG_PHYREG(0x08)
 
#define HOST_LINK_PORT_SWRST_MASK   (0xf << 6)
 
#define HOST_LINK_PORT2_SWRST   (1 << 9)
 
#define HOST_LINK_PORT1_SWRST   (1 << 8)
 
#define HOST_LINK_PORT0_SWRST   (1 << 7)
 
#define HOST_LINK_ALL_SWRST   (1 << 6)
 
#define PHY1_SWRST_MASK   (0x7 << 3)
 
#define PHY1_HSIC_SWRST   (1 << 5)
 
#define PHY1_STD_SWRST   (1 << 4)
 
#define PHY1_ALL_SWRST   (1 << 3)
 
#define PHY0_SWRST_MASK   (0x7 << 0)
 
#define PHY0_PHYLINK_SWRST   (1 << 2)
 
#define PHY0_HLINK_SWRST   (1 << 1)
 
#define PHY0_SWRST   (1 << 0)
 
#define EXYNOS4_PHY1CON   EXYNOS4_HSOTG_PHYREG(0x34)
 
#define FPENABLEN   (1 << 0)
 

Macro Definition Documentation

#define EXYNOS4210_CLKSEL_12M   (0x2 << 0)

Definition at line 43 of file regs-usb-phy.h.

#define EXYNOS4210_CLKSEL_24M   (0x3 << 0)

Definition at line 44 of file regs-usb-phy.h.

#define EXYNOS4210_CLKSEL_48M   (0x0 << 0)

Definition at line 42 of file regs-usb-phy.h.

#define EXYNOS4210_CLKSEL_MASK   (0x3 << 0)

Definition at line 41 of file regs-usb-phy.h.

#define EXYNOS4_CLKSEL_SHIFT   (0)

Definition at line 39 of file regs-usb-phy.h.

#define EXYNOS4_HSOTG_PHYREG (   x)    ((x) + S3C_VA_USB_HSPHY)

Definition at line 14 of file regs-usb-phy.h.

#define EXYNOS4_PHY1CON   EXYNOS4_HSOTG_PHYREG(0x34)

Definition at line 71 of file regs-usb-phy.h.

#define EXYNOS4_PHYCLK   EXYNOS4_HSOTG_PHYREG(0x04)

Definition at line 34 of file regs-usb-phy.h.

#define EXYNOS4_PHYPWR   EXYNOS4_HSOTG_PHYREG(0x00)

Definition at line 16 of file regs-usb-phy.h.

#define EXYNOS4_RSTCON   EXYNOS4_HSOTG_PHYREG(0x08)

Definition at line 54 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_10M   (0x1 << 0)

Definition at line 48 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_12M   (0x2 << 0)

Definition at line 49 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_19200K   (0x3 << 0)

Definition at line 50 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_20M   (0x4 << 0)

Definition at line 51 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_24M   (0x5 << 0)

Definition at line 52 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_9600K   (0x0 << 0)

Definition at line 47 of file regs-usb-phy.h.

#define EXYNOS4X12_CLKSEL_MASK   (0x7 << 0)

Definition at line 46 of file regs-usb-phy.h.

#define FPENABLEN   (1 << 0)

Definition at line 72 of file regs-usb-phy.h.

#define HOST_LINK_ALL_SWRST   (1 << 6)

Definition at line 59 of file regs-usb-phy.h.

#define HOST_LINK_PORT0_SWRST   (1 << 7)

Definition at line 58 of file regs-usb-phy.h.

#define HOST_LINK_PORT1_SWRST   (1 << 8)

Definition at line 57 of file regs-usb-phy.h.

#define HOST_LINK_PORT2_SWRST   (1 << 9)

Definition at line 56 of file regs-usb-phy.h.

#define HOST_LINK_PORT_SWRST_MASK   (0xf << 6)

Definition at line 55 of file regs-usb-phy.h.

#define PHY0_ANALOG_POWERDOWN   (1 << 3)

Definition at line 31 of file regs-usb-phy.h.

#define PHY0_COMMON_ON_N   (1 << 4)

Definition at line 36 of file regs-usb-phy.h.

#define PHY0_FORCE_SUSPEND   (1 << 0)

Definition at line 32 of file regs-usb-phy.h.

#define PHY0_HLINK_SWRST   (1 << 1)

Definition at line 68 of file regs-usb-phy.h.

#define PHY0_ID_PULLUP   (1 << 2)

Definition at line 37 of file regs-usb-phy.h.

#define PHY0_NORMAL_MASK   (0x39 << 0)

Definition at line 28 of file regs-usb-phy.h.

#define PHY0_OTG_DISABLE   (1 << 4)

Definition at line 30 of file regs-usb-phy.h.

#define PHY0_PHYLINK_SWRST   (1 << 2)

Definition at line 67 of file regs-usb-phy.h.

#define PHY0_SLEEP   (1 << 5)

Definition at line 29 of file regs-usb-phy.h.

#define PHY0_SWRST   (1 << 0)

Definition at line 69 of file regs-usb-phy.h.

#define PHY0_SWRST_MASK   (0x7 << 0)

Definition at line 66 of file regs-usb-phy.h.

#define PHY1_ALL_SWRST   (1 << 3)

Definition at line 64 of file regs-usb-phy.h.

#define PHY1_COMMON_ON_N   (1 << 7)

Definition at line 35 of file regs-usb-phy.h.

#define PHY1_HSIC0_FORCE_SUSPEND   (1 << 9)

Definition at line 21 of file regs-usb-phy.h.

#define PHY1_HSIC0_SLEEP   (1 << 10)

Definition at line 20 of file regs-usb-phy.h.

#define PHY1_HSIC1_FORCE_SUSPEND   (1 << 11)

Definition at line 19 of file regs-usb-phy.h.

#define PHY1_HSIC1_SLEEP   (1 << 12)

Definition at line 18 of file regs-usb-phy.h.

#define PHY1_HSIC_NORMAL_MASK   (0xf << 9)

Definition at line 17 of file regs-usb-phy.h.

#define PHY1_HSIC_SWRST   (1 << 5)

Definition at line 62 of file regs-usb-phy.h.

#define PHY1_STD_ANALOG_POWERDOWN   (1 << 7)

Definition at line 25 of file regs-usb-phy.h.

#define PHY1_STD_FORCE_SUSPEND   (1 << 6)

Definition at line 26 of file regs-usb-phy.h.

#define PHY1_STD_NORMAL_MASK   (0x7 << 6)

Definition at line 23 of file regs-usb-phy.h.

#define PHY1_STD_SLEEP   (1 << 8)

Definition at line 24 of file regs-usb-phy.h.

#define PHY1_STD_SWRST   (1 << 4)

Definition at line 63 of file regs-usb-phy.h.

#define PHY1_SWRST_MASK   (0x7 << 3)

Definition at line 61 of file regs-usb-phy.h.