Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ehci-orion.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/mbus.h>
#include <linux/clk.h>
#include <linux/platform_data/usb-ehci-orion.h>

Go to the source code of this file.

Macros

#define rdl(off)   __raw_readl(hcd->regs + (off))
 
#define wrl(off, val)   __raw_writel((val), hcd->regs + (off))
 
#define USB_CMD   0x140
 
#define USB_MODE   0x1a8
 
#define USB_CAUSE   0x310
 
#define USB_MASK   0x314
 
#define USB_WINDOW_CTRL(i)   (0x320 + ((i) << 4))
 
#define USB_WINDOW_BASE(i)   (0x324 + ((i) << 4))
 
#define USB_IPG   0x360
 
#define USB_PHY_PWR_CTRL   0x400
 
#define USB_PHY_TX_CTRL   0x420
 
#define USB_PHY_RX_CTRL   0x430
 
#define USB_PHY_IVREF_CTRL   0x440
 
#define USB_PHY_TST_GRP_CTRL   0x450
 

Functions

 MODULE_ALIAS ("platform:orion-ehci")
 

Macro Definition Documentation

#define rdl (   off)    __raw_readl(hcd->regs + (off))

Definition at line 18 of file ehci-orion.c.

#define USB_CAUSE   0x310

Definition at line 23 of file ehci-orion.c.

#define USB_CMD   0x140

Definition at line 21 of file ehci-orion.c.

#define USB_IPG   0x360

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

#define USB_MASK   0x314

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

#define USB_MODE   0x1a8

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

#define USB_PHY_IVREF_CTRL   0x440

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

#define USB_PHY_PWR_CTRL   0x400

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

#define USB_PHY_RX_CTRL   0x430

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

#define USB_PHY_TST_GRP_CTRL   0x450

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

#define USB_PHY_TX_CTRL   0x420

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

#define USB_WINDOW_BASE (   i)    (0x324 + ((i) << 4))

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

#define USB_WINDOW_CTRL (   i)    (0x320 + ((i) << 4))

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

#define wrl (   off,
  val 
)    __raw_writel((val), hcd->regs + (off))

Definition at line 19 of file ehci-orion.c.

Function Documentation

MODULE_ALIAS ( "platform:orion-ehci"  )