Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pxa25x_udc.c File Reference
#include <linux/device.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/timer.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/io.h>
#include <linux/prefetch.h>
#include <asm/byteorder.h>
#include <asm/dma.h>
#include <asm/gpio.h>
#include <asm/mach-types.h>
#include <asm/unaligned.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include <asm/mach/udc_pxa2xx.h>
#include "pxa25x_udc.h"

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "30-June-2007"
 
#define DRIVER_DESC   "PXA 25x USB Device Controller driver"
 
#define SIZE_STR   ""
 
#define UDCCR_MASK_BITS   (UDCCR_REM | UDCCR_SRM | UDCCR_UDE)
 
#define create_debug_files(dev)   do {} while (0)
 
#define remove_debug_files(dev)   do {} while (0)
 
#define CP15R0_VENDOR_MASK   0xffffe000
 
#define CP15R0_PROD_MASK   0x000003f0
 
#define PXA25x   0x00000100 /* and PXA26x */
 
#define PXA210   0x00000120
 
#define CP15R0_REV_MASK   0x0000000f
 
#define CP15R0_PRODREV_MASK   (CP15R0_PROD_MASK | CP15R0_REV_MASK)
 
#define PXA255_A0   0x00000106 /* or PXA260_B1 */
 
#define PXA250_C0   0x00000105 /* or PXA26x_B0 */
 
#define PXA250_B2   0x00000104
 
#define PXA250_B1   0x00000103 /* or PXA260_A0 */
 
#define PXA250_B0   0x00000102
 
#define PXA250_A1   0x00000101
 
#define PXA250_A0   0x00000100
 
#define PXA210_C0   0x00000125
 
#define PXA210_B2   0x00000124
 
#define PXA210_B1   0x00000123
 
#define PXA210_B0   0x00000122
 
#define IXP425_A0   0x000001c1
 
#define IXP425_B0   0x000001f1
 
#define IXP465_AD   0x00000200
 
#define pxa25x_udc_suspend   NULL
 
#define pxa25x_udc_resume   NULL
 

Functions

 module_init (udc_init)
 
 module_exit (udc_exit)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_AUTHOR ("Frank Becker, Robert Schwebel, David Brownell")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:pxa25x-udc")
 

Macro Definition Documentation

#define CP15R0_PROD_MASK   0x000003f0

Definition at line 2072 of file pxa25x_udc.c.

#define CP15R0_PRODREV_MASK   (CP15R0_PROD_MASK | CP15R0_REV_MASK)

Definition at line 2078 of file pxa25x_udc.c.

#define CP15R0_REV_MASK   0x0000000f

Definition at line 2076 of file pxa25x_udc.c.

#define CP15R0_VENDOR_MASK   0xffffe000

Definition at line 2062 of file pxa25x_udc.c.

#define create_debug_files (   dev)    do {} while (0)

Definition at line 1147 of file pxa25x_udc.c.

#define DRIVER_DESC   "PXA 25x USB Device Controller driver"

Definition at line 91 of file pxa25x_udc.c.

#define DRIVER_VERSION   "30-June-2007"

Definition at line 90 of file pxa25x_udc.c.

#define IXP425_A0   0x000001c1

Definition at line 2092 of file pxa25x_udc.c.

#define IXP425_B0   0x000001f1

Definition at line 2093 of file pxa25x_udc.c.

#define IXP465_AD   0x00000200

Definition at line 2094 of file pxa25x_udc.c.

#define PXA210   0x00000120

Definition at line 2074 of file pxa25x_udc.c.

#define PXA210_B0   0x00000122

Definition at line 2091 of file pxa25x_udc.c.

#define PXA210_B1   0x00000123

Definition at line 2090 of file pxa25x_udc.c.

#define PXA210_B2   0x00000124

Definition at line 2089 of file pxa25x_udc.c.

#define PXA210_C0   0x00000125

Definition at line 2088 of file pxa25x_udc.c.

#define PXA250_A0   0x00000100

Definition at line 2086 of file pxa25x_udc.c.

#define PXA250_A1   0x00000101

Definition at line 2085 of file pxa25x_udc.c.

#define PXA250_B0   0x00000102

Definition at line 2084 of file pxa25x_udc.c.

#define PXA250_B1   0x00000103 /* or PXA260_A0 */

Definition at line 2083 of file pxa25x_udc.c.

#define PXA250_B2   0x00000104

Definition at line 2082 of file pxa25x_udc.c.

#define PXA250_C0   0x00000105 /* or PXA26x_B0 */

Definition at line 2081 of file pxa25x_udc.c.

#define PXA255_A0   0x00000106 /* or PXA260_B1 */

Definition at line 2080 of file pxa25x_udc.c.

#define PXA25x   0x00000100 /* and PXA26x */

Definition at line 2073 of file pxa25x_udc.c.

#define pxa25x_udc_resume   NULL

Definition at line 2335 of file pxa25x_udc.c.

#define pxa25x_udc_suspend   NULL

Definition at line 2334 of file pxa25x_udc.c.

#define remove_debug_files (   dev)    do {} while (0)

Definition at line 1148 of file pxa25x_udc.c.

#define SIZE_STR   ""

Definition at line 120 of file pxa25x_udc.c.

#define UDCCR_MASK_BITS   (UDCCR_REM | UDCCR_SRM | UDCCR_UDE)

Definition at line 180 of file pxa25x_udc.c.

Function Documentation

MODULE_ALIAS ( "platform:pxa25x-udc )
MODULE_AUTHOR ( "Frank  Becker,
Robert  Schwebel,
David Brownell"   
)
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( udc_exit  )
module_init ( udc_init  )
MODULE_LICENSE ( "GPL"  )