Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
at91_udc.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/proc_fs.h>
#include <linux/prefetch.h>
#include <linux/clk.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/of.h>
#include <linux/of_gpio.h>
#include <asm/byteorder.h>
#include <mach/hardware.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/gpio.h>
#include <mach/board.h>
#include <mach/cpu.h>
#include <mach/at91sam9261_matrix.h>
#include <mach/at91_matrix.h>
#include "at91_udc.h"

Go to the source code of this file.

Data Structures

union  setup
 

Macros

#define DRIVER_VERSION   "3 May 2006"
 
#define VBUS_POLL_TIMEOUT   msecs_to_jiffies(1000)
 
#define at91_udp_read(udc, reg)   __raw_readl((udc)->udp_baseaddr + (reg))
 
#define at91_udp_write(udc, reg, val)   __raw_writel((val), (udc)->udp_baseaddr + (reg))
 
#define RX_DATA_READY   (AT91_UDP_RX_DATA_BK0 | AT91_UDP_RX_DATA_BK1)
 
#define SET_FX   (AT91_UDP_TXPKTRDY)
 
#define CLR_FX
 
#define w_index   le16_to_cpu(pkt.r.wIndex)
 
#define w_value   le16_to_cpu(pkt.r.wValue)
 
#define w_length   le16_to_cpu(pkt.r.wLength)
 
#define at91udc_suspend   NULL
 
#define at91udc_resume   NULL
 

Functions

 module_init (udc_init_module)
 
 module_exit (udc_exit_module)
 
 MODULE_DESCRIPTION ("AT91 udc driver")
 
 MODULE_AUTHOR ("Thomas Rathbone, David Brownell")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:at91_udc")
 

Macro Definition Documentation

#define at91_udp_read (   udc,
  reg 
)    __raw_readl((udc)->udp_baseaddr + (reg))

Definition at line 74 of file at91_udc.c.

#define at91_udp_write (   udc,
  reg,
  val 
)    __raw_writel((val), (udc)->udp_baseaddr + (reg))

Definition at line 76 of file at91_udc.c.

#define at91udc_resume   NULL

Definition at line 1961 of file at91_udc.c.

#define at91udc_suspend   NULL

Definition at line 1960 of file at91_udc.c.

#define CLR_FX
Value:

Definition at line 303 of file at91_udc.c.

#define DRIVER_VERSION   "3 May 2006"

Definition at line 67 of file at91_udc.c.

#define RX_DATA_READY   (AT91_UDP_RX_DATA_BK0 | AT91_UDP_RX_DATA_BK1)

Definition at line 283 of file at91_udc.c.

#define SET_FX   (AT91_UDP_TXPKTRDY)

Definition at line 302 of file at91_udc.c.

#define VBUS_POLL_TIMEOUT   msecs_to_jiffies(1000)

Definition at line 72 of file at91_udc.c.

#define w_index   le16_to_cpu(pkt.r.wIndex)
#define w_length   le16_to_cpu(pkt.r.wLength)
#define w_value   le16_to_cpu(pkt.r.wValue)

Function Documentation

MODULE_ALIAS ( "platform:at91_udc"  )
MODULE_AUTHOR ( "Thomas  Rathbone,
David Brownell"   
)
MODULE_DESCRIPTION ( "AT91 udc driver )
module_exit ( udc_exit_module  )
module_init ( udc_init_module  )
MODULE_LICENSE ( "GPL"  )