Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/timer.h>
#include <linux/list.h>
#include <linux/interrupt.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/pm.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/platform_data/mv_usb.h>
#include <asm/unaligned.h>
#include "mv_udc.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_DESC "Marvell PXA USB Device Controller driver" |
#define | DRIVER_VERSION "8 Nov 2010" |
#define | ep_dir(ep) |
#define | RESET_TIMEOUT 10000 |
#define | FLUSH_TIMEOUT 10000 |
#define | EPSTATUS_TIMEOUT 10000 |
#define | PRIME_TIMEOUT 10000 |
#define | READSAFE_TIMEOUT 1000 |
#define | LOOPS_USEC_SHIFT 1 |
#define | LOOPS_USEC (1 << LOOPS_USEC_SHIFT) |
#define | LOOPS(timeout) ((timeout) >> LOOPS_USEC_SHIFT) |
Functions | |
void | irq_process_reset (struct mv_udc *udc) |
module_platform_driver (udc_driver) | |
MODULE_ALIAS ("platform:mv-udc") | |
MODULE_DESCRIPTION (DRIVER_DESC) | |
MODULE_AUTHOR ("Chao Xie <[email protected]>") | |
MODULE_VERSION (DRIVER_VERSION) | |
MODULE_LICENSE ("GPL") | |
#define DRIVER_DESC "Marvell PXA USB Device Controller driver" |
Definition at line 42 of file mv_udc_core.c.
#define DRIVER_VERSION "8 Nov 2010" |
Definition at line 43 of file mv_udc_core.c.
#define ep_dir | ( | ep | ) |
Definition at line 45 of file mv_udc_core.c.
#define EPSTATUS_TIMEOUT 10000 |
Definition at line 51 of file mv_udc_core.c.
#define FLUSH_TIMEOUT 10000 |
Definition at line 50 of file mv_udc_core.c.
#define LOOPS | ( | timeout | ) | ((timeout) >> LOOPS_USEC_SHIFT) |
Definition at line 57 of file mv_udc_core.c.
#define LOOPS_USEC (1 << LOOPS_USEC_SHIFT) |
Definition at line 56 of file mv_udc_core.c.
#define LOOPS_USEC_SHIFT 1 |
Definition at line 55 of file mv_udc_core.c.
#define PRIME_TIMEOUT 10000 |
Definition at line 52 of file mv_udc_core.c.
#define READSAFE_TIMEOUT 1000 |
Definition at line 53 of file mv_udc_core.c.
#define RESET_TIMEOUT 10000 |
Definition at line 49 of file mv_udc_core.c.
Definition at line 1909 of file mv_udc_core.c.
MODULE_ALIAS | ( | "platform:mv-udc" | ) |
MODULE_AUTHOR | ( | "Chao Xie <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | DRIVER_DESC | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | udc_driver | ) |
MODULE_VERSION | ( | DRIVER_VERSION | ) |