Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ohci-nxp.c File Reference
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/of.h>
#include <linux/usb/isp1301.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/io.h>
#include <mach/platform.h>
#include <mach/irqs.h>

Go to the source code of this file.

Macros

#define USB_CONFIG_BASE   0x31020000
 
#define PWRMAN_BASE   0x40004000
 
#define USB_CTRL   IO_ADDRESS(PWRMAN_BASE + 0x64)
 
#define USB_SLAVE_HCLK_EN   (1 << 24)
 
#define USB_DEV_NEED_CLK_EN   (1 << 22)
 
#define USB_HOST_NEED_CLK_EN   (1 << 21)
 
#define PAD_CONTROL_LAST_DRIVEN   (1 << 19)
 
#define USB_OTG_STAT_CONTROL   IO_ADDRESS(USB_CONFIG_BASE + 0x110)
 
#define TRANSPARENT_I2C_EN   (1 << 7)
 
#define HOST_EN   (1 << 0)
 
#define start_int_set_falling_edge(irq)
 
#define start_int_set_rising_edge(irq)
 
#define start_int_ack(irq)
 
#define start_int_mask(irq)
 
#define start_int_umask(irq)
 

Functions

int usb_disabled (void)
 
 MODULE_ALIAS ("platform:usb-ohci")
 

Macro Definition Documentation

#define HOST_EN   (1 << 0)

Definition at line 49 of file ohci-nxp.c.

#define PAD_CONTROL_LAST_DRIVEN   (1 << 19)

Definition at line 43 of file ohci-nxp.c.

#define PWRMAN_BASE   0x40004000

Definition at line 35 of file ohci-nxp.c.

#define start_int_ack (   irq)

Definition at line 55 of file ohci-nxp.c.

#define start_int_mask (   irq)

Definition at line 56 of file ohci-nxp.c.

#define start_int_set_falling_edge (   irq)

Definition at line 53 of file ohci-nxp.c.

#define start_int_set_rising_edge (   irq)

Definition at line 54 of file ohci-nxp.c.

#define start_int_umask (   irq)

Definition at line 57 of file ohci-nxp.c.

#define TRANSPARENT_I2C_EN   (1 << 7)

Definition at line 48 of file ohci-nxp.c.

#define USB_CONFIG_BASE   0x31020000

Definition at line 34 of file ohci-nxp.c.

#define USB_CTRL   IO_ADDRESS(PWRMAN_BASE + 0x64)

Definition at line 37 of file ohci-nxp.c.

#define USB_DEV_NEED_CLK_EN   (1 << 22)

Definition at line 41 of file ohci-nxp.c.

#define USB_HOST_NEED_CLK_EN   (1 << 21)

Definition at line 42 of file ohci-nxp.c.

#define USB_OTG_STAT_CONTROL   IO_ADDRESS(USB_CONFIG_BASE + 0x110)

Definition at line 45 of file ohci-nxp.c.

#define USB_SLAVE_HCLK_EN   (1 << 24)

Definition at line 40 of file ohci-nxp.c.

Function Documentation

MODULE_ALIAS ( "platform:usb-ohci )
int usb_disabled ( void  )

Definition at line 939 of file usb.c.