Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fsl_udc_core.c File Reference
#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/slab.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/proc_fs.h>
#include <linux/mm.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/fsl_devices.h>
#include <linux/dmapool.h>
#include <linux/delay.h>
#include <asm/byteorder.h>
#include <asm/io.h>
#include <asm/unaligned.h>
#include <asm/dma.h>
#include "fsl_usb2_udc.h"

Go to the source code of this file.

Macros

#define DRIVER_DESC   "Freescale High-Speed USB SOC Device Controller driver"
 
#define DRIVER_AUTHOR   "Li Yang/Jiang Bo"
 
#define DRIVER_VERSION   "Apr 20, 2007"
 
#define DMA_ADDR_INVALID   (~(dma_addr_t)0)
 
#define fsl_readl(addr)   readl(addr)
 
#define fsl_writel(val32, addr)   writel(val32, addr)
 
#define cpu_to_hc32(x)   cpu_to_le32(x)
 
#define hc32_to_cpu(x)   le32_to_cpu(x)
 
#define FSL_UDC_RESET_TIMEOUT   1000
 
#define FSL_UDC_FLUSH_TIMEOUT   1000
 
#define create_proc_file()   do {} while (0)
 
#define remove_proc_file()   do {} while (0)
 

Functions

 module_init (udc_init)
 
 module_exit (udc_exit)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:fsl-usb2-udc")
 

Macro Definition Documentation

#define cpu_to_hc32 (   x)    cpu_to_le32(x)

Definition at line 148 of file fsl_udc_core.c.

#define create_proc_file (   void)    do {} while (0)

Definition at line 2323 of file fsl_udc_core.c.

#define DMA_ADDR_INVALID   (~(dma_addr_t)0)

Definition at line 56 of file fsl_udc_core.c.

#define DRIVER_AUTHOR   "Li Yang/Jiang Bo"

Definition at line 53 of file fsl_udc_core.c.

#define DRIVER_DESC   "Freescale High-Speed USB SOC Device Controller driver"

Definition at line 52 of file fsl_udc_core.c.

#define DRIVER_VERSION   "Apr 20, 2007"

Definition at line 54 of file fsl_udc_core.c.

#define fsl_readl (   addr)    readl(addr)

Definition at line 146 of file fsl_udc_core.c.

#define FSL_UDC_FLUSH_TIMEOUT   1000
#define FSL_UDC_RESET_TIMEOUT   1000
#define fsl_writel (   val32,
  addr 
)    writel(val32, addr)

Definition at line 147 of file fsl_udc_core.c.

#define hc32_to_cpu (   x)    le32_to_cpu(x)

Definition at line 149 of file fsl_udc_core.c.

#define remove_proc_file (   void)    do {} while (0)

Definition at line 2324 of file fsl_udc_core.c.

Function Documentation

MODULE_ALIAS ( "platform:fsl-usb2-udc )
MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( udc_exit  )
module_init ( udc_init  )
MODULE_LICENSE ( "GPL"  )